diff --git a/src/Microsoft.Graph/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.cs index 0b27fcd6e9d6..d90a26db88e5 100644 --- a/src/Microsoft.Graph/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.cs @@ -54,7 +54,7 @@ public ApplicationTemplatesRequestBuilder(string rawUrl, IRequestAdapter request { } /// - /// Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license. + /// Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license. If a risk property is included in the request without appropriate license, a @microsoft.graph.licenseRequired OData annotation is returned in the response. /// Find more info here /// /// A @@ -78,7 +78,7 @@ public ApplicationTemplatesRequestBuilder(string rawUrl, IRequestAdapter request return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ApplicationTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license. + /// Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license. If a risk property is included in the request without appropriate license, a @microsoft.graph.licenseRequired OData annotation is returned in the response. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -106,7 +106,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license. + /// Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license. If a risk property is included in the request without appropriate license, a @microsoft.graph.licenseRequired OData annotation is returned in the response. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ApplicationTemplatesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs index e5256b90b81b..24d4f7424a86 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs @@ -41,6 +41,7 @@ public AcquireAccessTokenRequestBuilder(string rawUrl, IRequestAdapter requestAd /// Cancellation token to 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 action acquires an access token via Oauth Code Grant Flow. Code Grant will be completely deprecated so this action will be obsolete. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PostAsync(global::Microsoft.Graph.Beta.Applications.Item.Synchronization.AcquireAccessToken.AcquireAccessTokenPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -64,6 +65,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Applications.Item.Synch /// A /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This action acquires an access token via Oauth Code Grant Flow. Code Grant will be completely deprecated so this action will be obsolete. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Applications.Item.Synchronization.AcquireAccessToken.AcquireAccessTokenPostRequestBody body, Action>? requestConfiguration = default) @@ -85,6 +87,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. /// /// A /// The raw URL to use for the request builder. + [Obsolete("This action acquires an access token via Oauth Code Grant Flow. Code Grant will be completely deprecated so this action will be obsolete. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] public global::Microsoft.Graph.Beta.Applications.Item.Synchronization.AcquireAccessToken.AcquireAccessTokenRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Applications.Item.Synchronization.AcquireAccessToken.AcquireAccessTokenRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs index 45a3d377500e..fa5fb93bcf42 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs @@ -41,6 +41,7 @@ public ValidateCredentialsRequestBuilder(string rawUrl, IRequestAdapter requestA /// Cancellation token to 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("Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PostAsync(global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ValidateCredentials.ValidateCredentialsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -64,6 +65,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Applications.Item.Synch /// A /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ValidateCredentials.ValidateCredentialsPostRequestBody body, Action>? requestConfiguration = default) @@ -85,6 +87,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. /// /// A /// The raw URL to use for the request builder. + [Obsolete("Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] public global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ValidateCredentials.ValidateCredentialsRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.Item.ValidateCredentials.ValidateCredentialsRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.cs index be2aa7f16ef5..7542ae3d06c8 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.cs @@ -40,6 +40,7 @@ public ValidateCredentialsRequestBuilder(string rawUrl, IRequestAdapter requestA /// Cancellation token to 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("Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PostAsync(global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.ValidateCredentials.ValidateCredentialsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -63,6 +64,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Applications.Item.Synch /// A /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.ValidateCredentials.ValidateCredentialsPostRequestBody body, Action>? requestConfiguration = default) @@ -84,6 +86,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. /// /// A /// The raw URL to use for the request builder. + [Obsolete("Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] public global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.ValidateCredentials.ValidateCredentialsRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Jobs.ValidateCredentials.ValidateCredentialsRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Secrets/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Secrets/Count/CountRequestBuilder.cs index f6f0d8e0a5f0..2f7ba62b7b92 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Secrets/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Secrets/Count/CountRequestBuilder.cs @@ -40,6 +40,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -61,6 +62,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -80,6 +82,7 @@ public RequestInformation ToGetRequestInformation(Action /// A /// The raw URL to use for the request builder. + [Obsolete("Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] public global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Secrets.Count.CountRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Secrets.Count.CountRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Secrets/SecretsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Secrets/SecretsRequestBuilder.cs index 4ed395a58ef6..432ee969dab1 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Secrets/SecretsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Secrets/SecretsRequestBuilder.cs @@ -19,6 +19,7 @@ namespace Microsoft.Graph.Beta.Applications.Item.Synchronization.Secrets public partial class SecretsRequestBuilder : BaseRequestBuilder { /// Provides operations to count the resources in the collection. + [Obsolete("Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] public global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Secrets.Count.CountRequestBuilder Count { get => new global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Secrets.Count.CountRequestBuilder(PathParameters, RequestAdapter); @@ -47,6 +48,7 @@ public SecretsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba /// Cancellation token to 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("Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PutAsSecretsPutResponseAsync(global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Secrets.SecretsPutRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -96,6 +98,7 @@ public SecretsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba /// A /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPutRequestInformation(global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Secrets.SecretsPutRequestBody body, Action>? requestConfiguration = default) @@ -117,6 +120,7 @@ public RequestInformation ToPutRequestInformation(global::Microsoft.Graph.Beta.A /// /// A /// The raw URL to use for the request builder. + [Obsolete("Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] public global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Secrets.SecretsRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Applications.Item.Synchronization.Secrets.SecretsRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Chats/Item/ChatItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/ChatItemRequestBuilder.cs index 47825413d9c8..ae2f632e943d 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/ChatItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/ChatItemRequestBuilder.cs @@ -15,6 +15,7 @@ using Microsoft.Graph.Beta.Chats.Item.SendActivityNotification; using Microsoft.Graph.Beta.Chats.Item.StartMigration; using Microsoft.Graph.Beta.Chats.Item.Tabs; +using Microsoft.Graph.Beta.Chats.Item.TargetedMessages; using Microsoft.Graph.Beta.Chats.Item.UnhideForUser; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -109,6 +110,11 @@ public partial class ChatItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Chats.Item.Tabs.TabsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. + public global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder TargetedMessages + { + get => new global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the unhideForUser method. public global::Microsoft.Graph.Beta.Chats.Item.UnhideForUser.UnhideForUserRequestBuilder UnhideForUser { diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..518d7577a994 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.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}/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}/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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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/Chats/Item/TargetedMessages/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/HostedContents/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..81ac86905f33 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/HostedContents/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.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}/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}/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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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/Chats/Item/TargetedMessages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/HostedContents/HostedContentsRequestBuilder.cs new file mode 100644 index 000000000000..83d7caba6b5d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Count; +using Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.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.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.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.Beta.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.Beta.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}/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}/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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to hostedContents for chats + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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 chats + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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/Chats/Item/TargetedMessages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs new file mode 100644 index 000000000000..348ee727b33d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.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 chat entity. + public global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.Beta.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}/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}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property hostedContents for chats + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property hostedContents in chats + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property hostedContents for chats + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 chats + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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/Chats/Item/TargetedMessages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs new file mode 100644 index 000000000000..3e2af2b0890c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -0,0 +1,201 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value +{ + /// + /// Provides operations to manage the media for the chat 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}/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}/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.Beta.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.Beta.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.Beta.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.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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/Chats/Item/TargetedMessages/Item/Replies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..7cb99bf0d601 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.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}/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}/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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaGetResponse.cs new file mode 100644 index 000000000000..fa0628822f0e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.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.Beta.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.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.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.Beta.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/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaRequestBuilder.cs new file mode 100644 index 000000000000..f50d2e77b24c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaRequestBuilder.cs @@ -0,0 +1,189 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.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}/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}/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 obtain 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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 obtain 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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 obtain 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.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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 obtain 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/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaResponse.cs new file mode 100644 index 000000000000..f66e0f5e4fb7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.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.Beta.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.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatPostRequestBody.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatPostRequestBody.cs new file mode 100644 index 000000000000..caa75040d6b6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatPostRequestBody.cs @@ -0,0 +1,118 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ForwardToChatPostRequestBody : 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 additionalMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ChatMessage? AdditionalMessage + { + get { return BackingStore?.Get("additionalMessage"); } + set { BackingStore?.Set("additionalMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ChatMessage AdditionalMessage + { + get { return BackingStore?.Get("additionalMessage"); } + set { BackingStore?.Set("additionalMessage", value); } + } +#endif + /// 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 targetChatIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? TargetChatIds + { + get { return BackingStore?.Get?>("targetChatIds"); } + set { BackingStore?.Set("targetChatIds", value); } + } +#nullable restore +#else + public List TargetChatIds + { + get { return BackingStore?.Get>("targetChatIds"); } + set { BackingStore?.Set("targetChatIds", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ForwardToChatPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "additionalMessage", n => { AdditionalMessage = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "targetChatIds", n => { TargetChatIds = 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.WriteObjectValue("additionalMessage", AdditionalMessage); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteCollectionOfPrimitiveValues("targetChatIds", TargetChatIds); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatPostResponse.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatPostResponse.cs new file mode 100644 index 000000000000..6f8d9dc660da --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ForwardToChatPostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + 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/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatRequestBuilder.cs new file mode 100644 index 000000000000..32e86d5777b0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat +{ + /// + /// Provides operations to call the forwardToChat method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ForwardToChatRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ForwardToChatRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/forwardToChat", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ForwardToChatRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/forwardToChat", rawUrl) + { + } + /// + /// Forward a chat message, a channel message, or a channel message reply to 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 PostAsForwardToChatPostResponseAsync(global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsForwardToChatPostResponseAsync(global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Forward a chat message, a channel message, or a channel message reply to 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 + [Obsolete("This method is obsolete. Use PostAsForwardToChatPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Forward a chat message, a channel message, or a channel message reply to 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.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ForwardToChatRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatResponse.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatResponse.cs new file mode 100644 index 000000000000..143490dfe68a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat +{ + [Obsolete("This class is obsolete. Use ForwardToChatPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ForwardToChatResponse : global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..6f7d6d90a5c3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs @@ -0,0 +1,259 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents; +using Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction; +using Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete; +using Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete; +using Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.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.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder HostedContents + { + get => new global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the softDelete method. + public global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder SoftDelete + { + get => new global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the undoSoftDelete method. + public global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder UndoSoftDelete + { + get => new global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.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}/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}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property replies for chats + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property replies in chats + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property replies for chats + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 chats + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..8de64fb9dd09 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.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}/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}/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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs new file mode 100644 index 000000000000..64f8ba266a52 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count; +using Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.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.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.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.Beta.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.Beta.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}/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}/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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to hostedContents for chats + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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 chats + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs new file mode 100644 index 000000000000..98c154c9971a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.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 chat entity. + public global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.Beta.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}/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}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property hostedContents for chats + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property hostedContents in chats + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property hostedContents for chats + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 chats + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs new file mode 100644 index 000000000000..811e52b7996b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -0,0 +1,201 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value +{ + /// + /// Provides operations to manage the media for the chat 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}/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}/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.Beta.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.Beta.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.Beta.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.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..835bd2ad233e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.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.Beta.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.Beta.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/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..7a352b36f2ab --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.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}/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}/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.Beta.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.Beta.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.Beta.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.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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/Chats/Item/TargetedMessages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs new file mode 100644 index 000000000000..ceedeac46adc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.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}/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}/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.Beta.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.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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/Chats/Item/TargetedMessages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs new file mode 100644 index 000000000000..2bd59098b5d9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.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}/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}/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.Beta.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.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..e0ffeda53deb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.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.Beta.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.Beta.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/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..3f7c52d9a869 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.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}/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}/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.Beta.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.Beta.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.Beta.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.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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/Chats/Item/TargetedMessages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/RepliesRequestBuilder.cs new file mode 100644 index 000000000000..b26f8654ee64 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/RepliesRequestBuilder.cs @@ -0,0 +1,256 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Count; +using Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta; +using Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat; +using Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item; +using Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.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.Beta.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the delta method. + public global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder Delta + { + get => new global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the forwardToChat method. + public global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatRequestBuilder ForwardToChat + { + get => new global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Beta.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.Beta.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.Beta.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}/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}/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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to replies for chats + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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 chats + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 000000000000..26351f4886f9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.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.Beta.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.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.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.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.Beta.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/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 000000000000..467d4e4cf7d8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.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}/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}/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.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..9b931f5e9fd6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents; +using Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.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.Beta.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder HostedContents + { + get => new global::Microsoft.Graph.Beta.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.Beta.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder Replies + { + get => new global::Microsoft.Graph.Beta.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}/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}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property targetedMessages for chats + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get targetedMessages from chats + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property targetedMessages in chats + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.TargetedChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property targetedMessages for chats + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 targetedMessages from chats + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 chats + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.TargetedChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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 + { + } + /// + /// Get targetedMessages from chats + /// + [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/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs new file mode 100644 index 000000000000..d0059ac7941f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Count; +using Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.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.Beta.Chats.Item.TargetedMessages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.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.Beta.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("targetedChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.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}/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}/chats/{chat%2Did}/targetedMessages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get targetedMessages from chats + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TargetedChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to targetedMessages for chats + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.TargetedChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get targetedMessages from chats + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 chats + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.TargetedChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get targetedMessages from chats + /// + [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/DeviceManagement/ComanagedDevices/Item/ManagedDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/ManagedDeviceItemRequestBuilder.cs index 7ab0d4edaaba..6ded7e93b58d 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/ManagedDeviceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/ManagedDeviceItemRequestBuilder.cs @@ -36,16 +36,21 @@ using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement; using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RequestRemoteAssistance; using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ResetPasscode; +using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RestoreManagedHomeScreen; using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.Retire; +using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail; using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail; +using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode; using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RevokeAppleVppLicenses; using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateBitLockerKeys; using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateFileVaultKey; using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateLocalAdminPassword; +using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateRecoveryLockPasscode; using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates; using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SendCustomNotificationToCompanyPortal; using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SetDeviceName; using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ShutDown; +using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen; using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SyncDevice; using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.TriggerConfigurationManagerAction; using Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.UpdateWindowsDeviceAccount; @@ -252,16 +257,31 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ResetPasscode.ResetPasscodeRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the restoreManagedHomeScreen method. + public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RestoreManagedHomeScreen.RestoreManagedHomeScreenRequestBuilder RestoreManagedHomeScreen + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RestoreManagedHomeScreen.RestoreManagedHomeScreenRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the retire method. public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.Retire.RetireRequestBuilder Retire { get => new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.Retire.RetireRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the retrieveDeviceLocalAdminAccountDetail method. + public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.RetrieveDeviceLocalAdminAccountDetailRequestBuilder RetrieveDeviceLocalAdminAccountDetail + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.RetrieveDeviceLocalAdminAccountDetailRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the retrieveMacOSManagedDeviceLocalAdminAccountDetail method. public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.RetrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder RetrieveMacOSManagedDeviceLocalAdminAccountDetail { get => new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.RetrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the retrieveRecoveryLockPasscode method. + public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeRequestBuilder RetrieveRecoveryLockPasscode + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the revokeAppleVppLicenses method. public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RevokeAppleVppLicenses.RevokeAppleVppLicensesRequestBuilder RevokeAppleVppLicenses { @@ -282,6 +302,11 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateLocalAdminPassword.RotateLocalAdminPasswordRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the rotateRecoveryLockPasscode method. + public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder RotateRecoveryLockPasscode + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the securityBaselineStates property of the microsoft.graph.managedDevice entity. public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.SecurityBaselineStatesRequestBuilder SecurityBaselineStates { @@ -302,6 +327,11 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ShutDown.ShutDownRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the suspendManagedHomeScreen method. + public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenRequestBuilder SuspendManagedHomeScreen + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the syncDevice method. public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SyncDevice.SyncDeviceRequestBuilder SyncDevice { diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/RestoreManagedHomeScreen/RestoreManagedHomeScreenRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/RestoreManagedHomeScreen/RestoreManagedHomeScreenRequestBuilder.cs new file mode 100644 index 000000000000..f4b4931d2e82 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/RestoreManagedHomeScreen/RestoreManagedHomeScreenRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RestoreManagedHomeScreen +{ + /// + /// Provides operations to call the restoreManagedHomeScreen method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreManagedHomeScreenRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreManagedHomeScreenRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/restoreManagedHomeScreen", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreManagedHomeScreenRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/restoreManagedHomeScreen", rawUrl) + { + } + /// + /// Restore Managed Home Screen + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore Managed Home Screen + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RestoreManagedHomeScreen.RestoreManagedHomeScreenRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RestoreManagedHomeScreen.RestoreManagedHomeScreenRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreManagedHomeScreenRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/RetrieveDeviceLocalAdminAccountDetail/RetrieveDeviceLocalAdminAccountDetailRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/RetrieveDeviceLocalAdminAccountDetail/RetrieveDeviceLocalAdminAccountDetailRequestBuilder.cs new file mode 100644 index 000000000000..ebcc42a16f01 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/RetrieveDeviceLocalAdminAccountDetail/RetrieveDeviceLocalAdminAccountDetailRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail +{ + /// + /// Provides operations to call the retrieveDeviceLocalAdminAccountDetail method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveDeviceLocalAdminAccountDetailRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RetrieveDeviceLocalAdminAccountDetailRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/retrieveDeviceLocalAdminAccountDetail()", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RetrieveDeviceLocalAdminAccountDetailRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/retrieveDeviceLocalAdminAccountDetail()", rawUrl) + { + } + /// + /// Invoke function retrieveDeviceLocalAdminAccountDetail + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DeviceLocalAdminAccountDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function retrieveDeviceLocalAdminAccountDetail + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.RetrieveDeviceLocalAdminAccountDetailRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.RetrieveDeviceLocalAdminAccountDetailRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveDeviceLocalAdminAccountDetailRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeGetResponse.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeGetResponse.cs new file mode 100644 index 000000000000..c102347a84dd --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeGetResponse.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RetrieveRecoveryLockPasscodeGetResponse : 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 RetrieveRecoveryLockPasscodeGetResponse() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse(); + } + /// + /// 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/DeviceManagement/ComanagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeRequestBuilder.cs new file mode 100644 index 000000000000..06040a430cef --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeRequestBuilder.cs @@ -0,0 +1,121 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode +{ + /// + /// Provides operations to call the retrieveRecoveryLockPasscode method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveRecoveryLockPasscodeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RetrieveRecoveryLockPasscodeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/retrieveRecoveryLockPasscode()", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RetrieveRecoveryLockPasscodeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/retrieveRecoveryLockPasscode()", rawUrl) + { + } + /// + /// Invoke function retrieveRecoveryLockPasscode + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsRetrieveRecoveryLockPasscodeGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsRetrieveRecoveryLockPasscodeGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function retrieveRecoveryLockPasscode + /// + /// A + /// Cancellation token to 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 GetAsRetrieveRecoveryLockPasscodeGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function retrieveRecoveryLockPasscode + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveRecoveryLockPasscodeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeResponse.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeResponse.cs new file mode 100644 index 000000000000..071b29db00f2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode +{ + [Obsolete("This class is obsolete. Use RetrieveRecoveryLockPasscodeGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RetrieveRecoveryLockPasscodeResponse : global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/RotateRecoveryLockPasscode/RotateRecoveryLockPasscodeRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/RotateRecoveryLockPasscode/RotateRecoveryLockPasscodeRequestBuilder.cs new file mode 100644 index 000000000000..0478ec6cd5d1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/RotateRecoveryLockPasscode/RotateRecoveryLockPasscodeRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateRecoveryLockPasscode +{ + /// + /// Provides operations to call the rotateRecoveryLockPasscode method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RotateRecoveryLockPasscodeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RotateRecoveryLockPasscodeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/rotateRecoveryLockPasscode", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RotateRecoveryLockPasscodeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/rotateRecoveryLockPasscode", rawUrl) + { + } + /// + /// Rotates the recovery lock passcode for the specified macOS 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Rotates the recovery lock passcode for the specified macOS 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.Beta.DeviceManagement.ComanagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RotateRecoveryLockPasscodeRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SuspendManagedHomeScreen/SuspendManagedHomeScreenPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SuspendManagedHomeScreen/SuspendManagedHomeScreenPostRequestBody.cs new file mode 100644 index 000000000000..7acca5967494 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SuspendManagedHomeScreen/SuspendManagedHomeScreenPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SuspendManagedHomeScreenPostRequestBody : 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 timeoutMinutes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TimeoutMinutes + { + get { return BackingStore?.Get("timeoutMinutes"); } + set { BackingStore?.Set("timeoutMinutes", value); } + } +#nullable restore +#else + public string TimeoutMinutes + { + get { return BackingStore?.Get("timeoutMinutes"); } + set { BackingStore?.Set("timeoutMinutes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SuspendManagedHomeScreenPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "timeoutMinutes", n => { TimeoutMinutes = 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("timeoutMinutes", TimeoutMinutes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SuspendManagedHomeScreen/SuspendManagedHomeScreenRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SuspendManagedHomeScreen/SuspendManagedHomeScreenRequestBuilder.cs new file mode 100644 index 000000000000..4ccfc3a5446e --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComanagedDevices/Item/SuspendManagedHomeScreen/SuspendManagedHomeScreenRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen +{ + /// + /// Provides operations to call the suspendManagedHomeScreen method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SuspendManagedHomeScreenRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SuspendManagedHomeScreenRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/suspendManagedHomeScreen", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SuspendManagedHomeScreenRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/suspendManagedHomeScreen", rawUrl) + { + } + /// + /// Temporarily suspend Managed Home Screen + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Temporarily suspend Managed Home Screen + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SuspendManagedHomeScreenRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DepOnboardingSettings/Item/DepOnboardingSettingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DepOnboardingSettings/Item/DepOnboardingSettingItemRequestBuilder.cs index a77b1f6f7e48..06008627695c 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DepOnboardingSettings/Item/DepOnboardingSettingItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DepOnboardingSettings/Item/DepOnboardingSettingItemRequestBuilder.cs @@ -8,6 +8,7 @@ using Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.GenerateEncryptionPublicKey; using Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.GetEncryptionPublicKey; using Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ImportedAppleDeviceIdentities; +using Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices; using Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ShareForSchoolDataSyncService; using Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.SyncWithAppleDeviceEnrollmentProgram; using Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.UnshareForSchoolDataSyncService; @@ -70,6 +71,11 @@ public partial class DepOnboardingSettingItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ImportedAppleDeviceIdentities.ImportedAppleDeviceIdentitiesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the releaseAppleDevices method. + public global::Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.ReleaseAppleDevicesRequestBuilder ReleaseAppleDevices + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.ReleaseAppleDevicesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the shareForSchoolDataSyncService method. public global::Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ShareForSchoolDataSyncService.ShareForSchoolDataSyncServiceRequestBuilder ShareForSchoolDataSyncService { diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DepOnboardingSettings/Item/ReleaseAppleDevices/ReleaseAppleDevicesPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DepOnboardingSettings/Item/ReleaseAppleDevices/ReleaseAppleDevicesPostRequestBody.cs new file mode 100644 index 000000000000..a07d82f3b206 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DepOnboardingSettings/Item/ReleaseAppleDevices/ReleaseAppleDevicesPostRequestBody.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReleaseAppleDevicesPostRequestBody : 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 depToken property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DepToken + { + get { return BackingStore?.Get("depToken"); } + set { BackingStore?.Set("depToken", value); } + } +#nullable restore +#else + public string DepToken + { + get { return BackingStore?.Get("depToken"); } + set { BackingStore?.Set("depToken", value); } + } +#endif + /// The deviceSerialNumbers property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DeviceSerialNumbers + { + get { return BackingStore?.Get?>("deviceSerialNumbers"); } + set { BackingStore?.Set("deviceSerialNumbers", value); } + } +#nullable restore +#else + public List DeviceSerialNumbers + { + get { return BackingStore?.Get>("deviceSerialNumbers"); } + set { BackingStore?.Set("deviceSerialNumbers", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReleaseAppleDevicesPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.ReleaseAppleDevicesPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.ReleaseAppleDevicesPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "depToken", n => { DepToken = n.GetStringValue(); } }, + { "deviceSerialNumbers", n => { DeviceSerialNumbers = 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("depToken", DepToken); + writer.WriteCollectionOfPrimitiveValues("deviceSerialNumbers", DeviceSerialNumbers); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetZebraFotaDeploymentReport/GetZebraFotaDeploymentReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DepOnboardingSettings/Item/ReleaseAppleDevices/ReleaseAppleDevicesRequestBuilder.cs similarity index 57% rename from src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetZebraFotaDeploymentReport/GetZebraFotaDeploymentReportRequestBuilder.cs rename to src/Microsoft.Graph/Generated/DeviceManagement/DepOnboardingSettings/Item/ReleaseAppleDevices/ReleaseAppleDevicesRequestBuilder.cs index 581f7f4d8082..56e3736601d5 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetZebraFotaDeploymentReport/GetZebraFotaDeploymentReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DepOnboardingSettings/Item/ReleaseAppleDevices/ReleaseAppleDevicesRequestBuilder.cs @@ -9,45 +9,44 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport +namespace Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices { /// - /// Provides operations to call the getZebraFotaDeploymentReport method. + /// Provides operations to call the releaseAppleDevices method. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetZebraFotaDeploymentReportRequestBuilder : BaseRequestBuilder + public partial class ReleaseAppleDevicesRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public GetZebraFotaDeploymentReportRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/reports/getZebraFotaDeploymentReport", pathParameters) + public ReleaseAppleDevicesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/depOnboardingSettings/{depOnboardingSetting%2Did}/releaseAppleDevices", pathParameters) { } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public GetZebraFotaDeploymentReportRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/reports/getZebraFotaDeploymentReport", rawUrl) + public ReleaseAppleDevicesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/depOnboardingSettings/{depOnboardingSetting%2Did}/releaseAppleDevices", rawUrl) { } /// - /// Invoke action getZebraFotaDeploymentReport + /// Invoke action releaseAppleDevices /// - /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.GetZebraFotaDeploymentReportPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.ReleaseAppleDevicesPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.GetZebraFotaDeploymentReportPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.ReleaseAppleDevicesPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); @@ -56,45 +55,45 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagemen { { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke action getZebraFotaDeploymentReport + /// Invoke action releaseAppleDevices /// /// A /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.GetZebraFotaDeploymentReportPostRequestBody body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.ReleaseAppleDevicesPostRequestBody body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.GetZebraFotaDeploymentReportPostRequestBody body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.ReleaseAppleDevicesPostRequestBody body, Action> requestConfiguration = default) { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json"); + requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); return requestInfo; } /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.GetZebraFotaDeploymentReportRequestBuilder WithUrl(string rawUrl) + public global::Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.ReleaseAppleDevicesRequestBuilder WithUrl(string rawUrl) { - return new global::Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.GetZebraFotaDeploymentReportRequestBuilder(rawUrl, RequestAdapter); + return new global::Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.ReleaseAppleDevicesRequestBuilder(rawUrl, RequestAdapter); } /// /// Configuration for the request such as headers, query parameters, and middleware options. /// [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetZebraFotaDeploymentReportRequestBuilderPostRequestConfiguration : RequestConfiguration + public partial class ReleaseAppleDevicesRequestBuilderPostRequestConfiguration : RequestConfiguration { } } diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs index c81d33a4468d..49655d77b1c2 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs @@ -36,16 +36,21 @@ using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement; using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RequestRemoteAssistance; using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ResetPasscode; +using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RestoreManagedHomeScreen; using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.Retire; +using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail; using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail; +using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode; using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RevokeAppleVppLicenses; using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateBitLockerKeys; using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateFileVaultKey; using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateLocalAdminPassword; +using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateRecoveryLockPasscode; using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SecurityBaselineStates; using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SendCustomNotificationToCompanyPortal; using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SetDeviceName; using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ShutDown; +using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen; using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SyncDevice; using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.TriggerConfigurationManagerAction; using Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.UpdateWindowsDeviceAccount; @@ -252,16 +257,31 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ResetPasscode.ResetPasscodeRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the restoreManagedHomeScreen method. + public global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RestoreManagedHomeScreen.RestoreManagedHomeScreenRequestBuilder RestoreManagedHomeScreen + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RestoreManagedHomeScreen.RestoreManagedHomeScreenRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the retire method. public global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.Retire.RetireRequestBuilder Retire { get => new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.Retire.RetireRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the retrieveDeviceLocalAdminAccountDetail method. + public global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.RetrieveDeviceLocalAdminAccountDetailRequestBuilder RetrieveDeviceLocalAdminAccountDetail + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.RetrieveDeviceLocalAdminAccountDetailRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the retrieveMacOSManagedDeviceLocalAdminAccountDetail method. public global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.RetrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder RetrieveMacOSManagedDeviceLocalAdminAccountDetail { get => new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.RetrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the retrieveRecoveryLockPasscode method. + public global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeRequestBuilder RetrieveRecoveryLockPasscode + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the revokeAppleVppLicenses method. public global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RevokeAppleVppLicenses.RevokeAppleVppLicensesRequestBuilder RevokeAppleVppLicenses { @@ -282,6 +302,11 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateLocalAdminPassword.RotateLocalAdminPasswordRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the rotateRecoveryLockPasscode method. + public global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder RotateRecoveryLockPasscode + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the securityBaselineStates property of the microsoft.graph.managedDevice entity. public global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SecurityBaselineStates.SecurityBaselineStatesRequestBuilder SecurityBaselineStates { @@ -302,6 +327,11 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ShutDown.ShutDownRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the suspendManagedHomeScreen method. + public global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenRequestBuilder SuspendManagedHomeScreen + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the syncDevice method. public global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SyncDevice.SyncDeviceRequestBuilder SyncDevice { diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RestoreManagedHomeScreen/RestoreManagedHomeScreenRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RestoreManagedHomeScreen/RestoreManagedHomeScreenRequestBuilder.cs new file mode 100644 index 000000000000..3ea45fdee19c --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RestoreManagedHomeScreen/RestoreManagedHomeScreenRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RestoreManagedHomeScreen +{ + /// + /// Provides operations to call the restoreManagedHomeScreen method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreManagedHomeScreenRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreManagedHomeScreenRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/restoreManagedHomeScreen", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreManagedHomeScreenRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/restoreManagedHomeScreen", rawUrl) + { + } + /// + /// Restore Managed Home Screen + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore Managed Home Screen + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RestoreManagedHomeScreen.RestoreManagedHomeScreenRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RestoreManagedHomeScreen.RestoreManagedHomeScreenRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreManagedHomeScreenRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RetrieveDeviceLocalAdminAccountDetail/RetrieveDeviceLocalAdminAccountDetailRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RetrieveDeviceLocalAdminAccountDetail/RetrieveDeviceLocalAdminAccountDetailRequestBuilder.cs new file mode 100644 index 000000000000..4debd4aadd85 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RetrieveDeviceLocalAdminAccountDetail/RetrieveDeviceLocalAdminAccountDetailRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail +{ + /// + /// Provides operations to call the retrieveDeviceLocalAdminAccountDetail method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveDeviceLocalAdminAccountDetailRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RetrieveDeviceLocalAdminAccountDetailRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/retrieveDeviceLocalAdminAccountDetail()", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RetrieveDeviceLocalAdminAccountDetailRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/retrieveDeviceLocalAdminAccountDetail()", rawUrl) + { + } + /// + /// Invoke function retrieveDeviceLocalAdminAccountDetail + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DeviceLocalAdminAccountDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function retrieveDeviceLocalAdminAccountDetail + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.RetrieveDeviceLocalAdminAccountDetailRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.RetrieveDeviceLocalAdminAccountDetailRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveDeviceLocalAdminAccountDetailRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeGetResponse.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeGetResponse.cs new file mode 100644 index 000000000000..0dcab6068d4f --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeGetResponse.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RetrieveRecoveryLockPasscodeGetResponse : 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 RetrieveRecoveryLockPasscodeGetResponse() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse(); + } + /// + /// 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/DeviceManagement/ManagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeRequestBuilder.cs new file mode 100644 index 000000000000..228b30aef729 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeRequestBuilder.cs @@ -0,0 +1,121 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode +{ + /// + /// Provides operations to call the retrieveRecoveryLockPasscode method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveRecoveryLockPasscodeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RetrieveRecoveryLockPasscodeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/retrieveRecoveryLockPasscode()", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RetrieveRecoveryLockPasscodeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/retrieveRecoveryLockPasscode()", rawUrl) + { + } + /// + /// Invoke function retrieveRecoveryLockPasscode + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsRetrieveRecoveryLockPasscodeGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsRetrieveRecoveryLockPasscodeGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function retrieveRecoveryLockPasscode + /// + /// A + /// Cancellation token to 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 GetAsRetrieveRecoveryLockPasscodeGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function retrieveRecoveryLockPasscode + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveRecoveryLockPasscodeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeResponse.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeResponse.cs new file mode 100644 index 000000000000..706c92b071d0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode +{ + [Obsolete("This class is obsolete. Use RetrieveRecoveryLockPasscodeGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RetrieveRecoveryLockPasscodeResponse : global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RotateRecoveryLockPasscode/RotateRecoveryLockPasscodeRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RotateRecoveryLockPasscode/RotateRecoveryLockPasscodeRequestBuilder.cs new file mode 100644 index 000000000000..64ec877c61bc --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RotateRecoveryLockPasscode/RotateRecoveryLockPasscodeRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateRecoveryLockPasscode +{ + /// + /// Provides operations to call the rotateRecoveryLockPasscode method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RotateRecoveryLockPasscodeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RotateRecoveryLockPasscodeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/rotateRecoveryLockPasscode", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RotateRecoveryLockPasscodeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/rotateRecoveryLockPasscode", rawUrl) + { + } + /// + /// Rotates the recovery lock passcode for the specified macOS 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Rotates the recovery lock passcode for the specified macOS 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.Beta.DeviceManagement.ManagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RotateRecoveryLockPasscodeRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/SuspendManagedHomeScreen/SuspendManagedHomeScreenPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/SuspendManagedHomeScreen/SuspendManagedHomeScreenPostRequestBody.cs new file mode 100644 index 000000000000..3e384caa6aae --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/SuspendManagedHomeScreen/SuspendManagedHomeScreenPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SuspendManagedHomeScreenPostRequestBody : 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 timeoutMinutes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TimeoutMinutes + { + get { return BackingStore?.Get("timeoutMinutes"); } + set { BackingStore?.Set("timeoutMinutes", value); } + } +#nullable restore +#else + public string TimeoutMinutes + { + get { return BackingStore?.Get("timeoutMinutes"); } + set { BackingStore?.Set("timeoutMinutes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SuspendManagedHomeScreenPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "timeoutMinutes", n => { TimeoutMinutes = 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("timeoutMinutes", TimeoutMinutes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/SuspendManagedHomeScreen/SuspendManagedHomeScreenRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/SuspendManagedHomeScreen/SuspendManagedHomeScreenRequestBuilder.cs new file mode 100644 index 000000000000..3ddfbbbbbd96 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/SuspendManagedHomeScreen/SuspendManagedHomeScreenRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen +{ + /// + /// Provides operations to call the suspendManagedHomeScreen method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SuspendManagedHomeScreenRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SuspendManagedHomeScreenRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/suspendManagedHomeScreen", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SuspendManagedHomeScreenRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/suspendManagedHomeScreen", rawUrl) + { + } + /// + /// Temporarily suspend Managed Home Screen + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Temporarily suspend Managed Home Screen + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SuspendManagedHomeScreenRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetZebraFotaDeploymentReport/GetZebraFotaDeploymentReportPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetZebraFotaDeploymentReport/GetZebraFotaDeploymentReportPostRequestBody.cs deleted file mode 100644 index cd4e25707956..000000000000 --- a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetZebraFotaDeploymentReport/GetZebraFotaDeploymentReportPostRequestBody.cs +++ /dev/null @@ -1,205 +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.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetZebraFotaDeploymentReportPostRequestBody : 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 filter property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Filter - { - get { return BackingStore?.Get("filter"); } - set { BackingStore?.Set("filter", value); } - } -#nullable restore -#else - public string Filter - { - get { return BackingStore?.Get("filter"); } - set { BackingStore?.Set("filter", value); } - } -#endif - /// The groupBy property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? GroupBy - { - get { return BackingStore?.Get?>("groupBy"); } - set { BackingStore?.Set("groupBy", value); } - } -#nullable restore -#else - public List GroupBy - { - get { return BackingStore?.Get>("groupBy"); } - set { BackingStore?.Set("groupBy", value); } - } -#endif - /// The name property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Name - { - get { return BackingStore?.Get("name"); } - set { BackingStore?.Set("name", value); } - } -#nullable restore -#else - public string Name - { - get { return BackingStore?.Get("name"); } - set { BackingStore?.Set("name", value); } - } -#endif - /// The orderBy property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? OrderBy - { - get { return BackingStore?.Get?>("orderBy"); } - set { BackingStore?.Set("orderBy", value); } - } -#nullable restore -#else - public List OrderBy - { - get { return BackingStore?.Get>("orderBy"); } - set { BackingStore?.Set("orderBy", value); } - } -#endif - /// The search property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Search - { - get { return BackingStore?.Get("search"); } - set { BackingStore?.Set("search", value); } - } -#nullable restore -#else - public string Search - { - get { return BackingStore?.Get("search"); } - set { BackingStore?.Set("search", value); } - } -#endif - /// The select property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Select - { - get { return BackingStore?.Get?>("select"); } - set { BackingStore?.Set("select", value); } - } -#nullable restore -#else - public List Select - { - get { return BackingStore?.Get>("select"); } - set { BackingStore?.Set("select", value); } - } -#endif - /// 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 - /// The skip property - public int? Skip - { - get { return BackingStore?.Get("skip"); } - set { BackingStore?.Set("skip", value); } - } - /// The top property - public int? Top - { - get { return BackingStore?.Get("top"); } - set { BackingStore?.Set("top", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public GetZebraFotaDeploymentReportPostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.GetZebraFotaDeploymentReportPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.GetZebraFotaDeploymentReportPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "filter", n => { Filter = n.GetStringValue(); } }, - { "groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - { "name", n => { Name = n.GetStringValue(); } }, - { "orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - { "search", n => { Search = n.GetStringValue(); } }, - { "select", n => { Select = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - { "sessionId", n => { SessionId = n.GetStringValue(); } }, - { "skip", n => { Skip = n.GetIntValue(); } }, - { "top", n => { Top = n.GetIntValue(); } }, - }; - } - /// - /// 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("filter", Filter); - writer.WriteCollectionOfPrimitiveValues("groupBy", GroupBy); - writer.WriteStringValue("name", Name); - writer.WriteCollectionOfPrimitiveValues("orderBy", OrderBy); - writer.WriteStringValue("search", Search); - writer.WriteCollectionOfPrimitiveValues("select", Select); - writer.WriteStringValue("sessionId", SessionId); - writer.WriteIntValue("skip", Skip); - writer.WriteIntValue("top", Top); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/ReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/ReportsRequestBuilder.cs index 8e8116dedd54..a8cea9819fb4 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/ReportsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/ReportsRequestBuilder.cs @@ -70,7 +70,6 @@ using Microsoft.Graph.Beta.DeviceManagement.Reports.GetWindowsQualityUpdateAlertsPerPolicyPerDeviceReport; using Microsoft.Graph.Beta.DeviceManagement.Reports.GetWindowsUpdateAlertSummaryReport; using Microsoft.Graph.Beta.DeviceManagement.Reports.GetWindowsUpdateAlertsPerPolicyPerDeviceReport; -using Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport; using Microsoft.Graph.Beta.DeviceManagement.Reports.RetrieveAndroidWorkProfileDeviceMigrationStatuses; using Microsoft.Graph.Beta.DeviceManagement.Reports.RetrieveAppleDeviceOSUpdateStatus; using Microsoft.Graph.Beta.DeviceManagement.Reports.RetrieveAppleOSUpdateFailures; @@ -448,11 +447,6 @@ public partial class ReportsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.DeviceManagement.Reports.GetWindowsUpdateAlertSummaryReport.GetWindowsUpdateAlertSummaryReportRequestBuilder(PathParameters, RequestAdapter); } - /// Provides operations to call the getZebraFotaDeploymentReport method. - public global::Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.GetZebraFotaDeploymentReportRequestBuilder GetZebraFotaDeploymentReport - { - get => new global::Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.GetZebraFotaDeploymentReportRequestBuilder(PathParameters, RequestAdapter); - } /// Provides operations to call the retrieveAndroidWorkProfileDeviceMigrationStatuses method. public global::Microsoft.Graph.Beta.DeviceManagement.Reports.RetrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesRequestBuilder RetrieveAndroidWorkProfileDeviceMigrationStatuses { diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/CloudPcExternalPartnerItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/CloudPcExternalPartnerItemRequestBuilder.cs index 46c9e2ccfc84..2117716d42e7 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/CloudPcExternalPartnerItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/CloudPcExternalPartnerItemRequestBuilder.cs @@ -1,5 +1,9 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent; +using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent; +using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports; +using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -18,6 +22,26 @@ namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class CloudPcExternalPartnerItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the configureAgent method. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.ConfigureAgentRequestBuilder ConfigureAgent + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.ConfigureAgentRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the deployAgent method. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentRequestBuilder DeployAgent + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the retrieveActionReports method. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.RetrieveActionReportsRequestBuilder RetrieveActionReports + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.RetrieveActionReportsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the retrieveDeployAgentActionResults method. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/ConfigureAgent/ConfigureAgentPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/ConfigureAgent/ConfigureAgentPostRequestBody.cs new file mode 100644 index 000000000000..b00e29b9802d --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/ConfigureAgent/ConfigureAgentPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfigureAgentPostRequestBody : 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 agentSetting property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CloudPcExternalPartnerAgentSetting? AgentSetting + { + get { return BackingStore?.Get("agentSetting"); } + set { BackingStore?.Set("agentSetting", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CloudPcExternalPartnerAgentSetting AgentSetting + { + get { return BackingStore?.Get("agentSetting"); } + set { BackingStore?.Set("agentSetting", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// + /// Instantiates a new and sets the default values. + /// + public ConfigureAgentPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.ConfigureAgentPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.ConfigureAgentPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "agentSetting", n => { AgentSetting = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CloudPcExternalPartnerAgentSetting.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("agentSetting", AgentSetting); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/ConfigureAgent/ConfigureAgentRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/ConfigureAgent/ConfigureAgentRequestBuilder.cs new file mode 100644 index 000000000000..9da5759c762f --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/ConfigureAgent/ConfigureAgentRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent +{ + /// + /// Provides operations to call the configureAgent method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigureAgentRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigureAgentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/externalPartners/{cloudPcExternalPartner%2Did}/configureAgent", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfigureAgentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/externalPartners/{cloudPcExternalPartner%2Did}/configureAgent", rawUrl) + { + } + /// + /// Configure the cloudPcExternalPartnerAgentSetting of the cloudPcExternalPartner object. This setting is used for RMM partner agent installation. RMM partners must contact the Microsoft team to complete onboarding and add the agent URL prefix to the allow list before using this API. If autoDeploymentEnabled is enabled, the new provisioned Cloud PC is triggered agent deployment automatically. Currently supports only Windows 365 Business 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.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.ConfigureAgentPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.ConfigureAgentPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Configure the cloudPcExternalPartnerAgentSetting of the cloudPcExternalPartner object. This setting is used for RMM partner agent installation. RMM partners must contact the Microsoft team to complete onboarding and add the agent URL prefix to the allow list before using this API. If autoDeploymentEnabled is enabled, the new provisioned Cloud PC is triggered agent deployment automatically. Currently supports only Windows 365 Business 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.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.ConfigureAgentPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.ConfigureAgentPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.ConfigureAgentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.ConfigureAgentRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigureAgentRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/DeployAgent/DeployAgentPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/DeployAgent/DeployAgentPostRequestBody.cs new file mode 100644 index 000000000000..f47f8d8a5eaa --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/DeployAgent/DeployAgentPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeployAgentPostRequestBody : 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 cloudPcIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? CloudPcIds + { + get { return BackingStore?.Get?>("cloudPcIds"); } + set { BackingStore?.Set("cloudPcIds", value); } + } +#nullable restore +#else + public List CloudPcIds + { + get { return BackingStore?.Get>("cloudPcIds"); } + set { BackingStore?.Set("cloudPcIds", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DeployAgentPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "cloudPcIds", n => { CloudPcIds = 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("cloudPcIds", CloudPcIds); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/DeployAgent/DeployAgentPostResponse.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/DeployAgent/DeployAgentPostResponse.cs new file mode 100644 index 000000000000..d87dd00cf787 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/DeployAgent/DeployAgentPostResponse.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeployAgentPostResponse : 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 DeployAgentPostResponse() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentPostResponse(); + } + /// + /// 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/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/DeployAgent/DeployAgentRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/DeployAgent/DeployAgentRequestBuilder.cs new file mode 100644 index 000000000000..5b582bf5ad0f --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/DeployAgent/DeployAgentRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent +{ + /// + /// Provides operations to call the deployAgent method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeployAgentRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeployAgentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/externalPartners/{cloudPcExternalPartner%2Did}/deployAgent", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeployAgentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/externalPartners/{cloudPcExternalPartner%2Did}/deployAgent", rawUrl) + { + } + /// + /// Trigger agent deployment for a set of Windows 365 Cloud PCs that are provisioned, and return an activity ID. This API is supported when the connection is enabled and the agent setting is configured. Currently, only support Windows 365 business Cloud PC. + /// 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 PostAsDeployAgentPostResponseAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsDeployAgentPostResponseAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Trigger agent deployment for a set of Windows 365 Cloud PCs that are provisioned, and return an activity ID. This API is supported when the connection is enabled and the agent setting is configured. Currently, only support Windows 365 business Cloud PC. + /// 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 PostAsDeployAgentPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Trigger agent deployment for a set of Windows 365 Cloud PCs that are provisioned, and return an activity ID. This API is supported when the connection is enabled and the agent setting is configured. Currently, only support Windows 365 business 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.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeployAgentRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/DeployAgent/DeployAgentResponse.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/DeployAgent/DeployAgentResponse.cs new file mode 100644 index 000000000000..a2c6fde60cd0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/DeployAgent/DeployAgentResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent +{ + [Obsolete("This class is obsolete. Use DeployAgentPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeployAgentResponse : global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentPostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/RetrieveActionReports/RetrieveActionReportsGetResponse.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/RetrieveActionReports/RetrieveActionReportsGetResponse.cs new file mode 100644 index 000000000000..5ddc627d937d --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/RetrieveActionReports/RetrieveActionReportsGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RetrieveActionReportsGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.RetrieveActionReportsGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.RetrieveActionReportsGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudPcExternalPartnerActionReport.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/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/RetrieveActionReports/RetrieveActionReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/RetrieveActionReports/RetrieveActionReportsRequestBuilder.cs new file mode 100644 index 000000000000..c933255b7376 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/RetrieveActionReports/RetrieveActionReportsRequestBuilder.cs @@ -0,0 +1,159 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports +{ + /// + /// Provides operations to call the retrieveActionReports method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveActionReportsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RetrieveActionReportsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/externalPartners/{cloudPcExternalPartner%2Did}/retrieveActionReports(){?%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 RetrieveActionReportsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/externalPartners/{cloudPcExternalPartner%2Did}/retrieveActionReports(){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl) + { + } + /// + /// Retrieve action reports of external partner. + /// 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 GetAsRetrieveActionReportsGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsRetrieveActionReportsGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.RetrieveActionReportsGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Retrieve action reports of external partner. + /// 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 GetAsRetrieveActionReportsGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.RetrieveActionReportsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Retrieve action reports of external partner. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.RetrieveActionReportsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.RetrieveActionReportsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Retrieve action reports of external partner. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveActionReportsRequestBuilderGetQueryParameters + { + /// 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 RetrieveActionReportsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/RetrieveActionReports/RetrieveActionReportsResponse.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/RetrieveActionReports/RetrieveActionReportsResponse.cs new file mode 100644 index 000000000000..c24e194b1fc4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/RetrieveActionReports/RetrieveActionReportsResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports +{ + [Obsolete("This class is obsolete. Use RetrieveActionReportsGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RetrieveActionReportsResponse : global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.RetrieveActionReportsGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.RetrieveActionReportsResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.RetrieveActionReportsResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId/RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdGetResponse.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId/RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdGetResponse.cs new file mode 100644 index 000000000000..2913e22413d1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId/RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudPcExternalPartnerActionResult.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/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId/RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId/RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder.cs new file mode 100644 index 000000000000..fa104fbc43d2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId/RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder.cs @@ -0,0 +1,179 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId +{ + /// + /// Provides operations to call the retrieveDeployAgentActionResults method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/externalPartners/{cloudPcExternalPartner%2Did}/retrieveDeployAgentActionResults(activityId='@activityId',cloudPcId='@cloudPcId'){?%24count,%24filter,%24search,%24skip,%24top,activityId*,cloudPcId*}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/externalPartners/{cloudPcExternalPartner%2Did}/retrieveDeployAgentActionResults(activityId='@activityId',cloudPcId='@cloudPcId'){?%24count,%24filter,%24search,%24skip,%24top,activityId*,cloudPcId*}", rawUrl) + { + } + /// + /// Retrieve the status of a specific deployment action on a specific Cloud PC device. If both activityId and cloudPcId are empty, the paging results are returned, and the pagination size is 100. + /// 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 GetAsRetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsRetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Retrieve the status of a specific deployment action on a specific Cloud PC device. If both activityId and cloudPcId are empty, the paging results are returned, and the pagination size is 100. + /// 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 GetAsRetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Retrieve the status of a specific deployment action on a specific Cloud PC device. If both activityId and cloudPcId are empty, the paging results are returned, and the pagination size is 100. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Retrieve the status of a specific deployment action on a specific Cloud PC device. If both activityId and cloudPcId are empty, the paging results are returned, and the pagination size is 100. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilderGetQueryParameters + { + /// Usage: activityId='@activityId' +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("activityId")] + public string? ActivityId { get; set; } +#nullable restore +#else + [QueryParameter("activityId")] + public string ActivityId { get; set; } +#endif + /// Usage: cloudPcId='@cloudPcId' +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("cloudPcId")] + public string? CloudPcId { get; set; } +#nullable restore +#else + [QueryParameter("cloudPcId")] + public string CloudPcId { get; set; } +#endif + /// 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 RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId/RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdResponse.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId/RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdResponse.cs new file mode 100644 index 000000000000..524bbcbd43fa --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId/RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId +{ + [Obsolete("This class is obsolete. Use RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdResponse : global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Archive/ArchiveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Archive/ArchiveRequestBuilder.cs new file mode 100644 index 000000000000..679c8a16bfdb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Archive/ArchiveRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Drives.Item.Items.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}/drives/{drive%2Did}/items/{driveItem%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}/drives/{drive%2Did}/items/{driveItem%2Did}/archive", rawUrl) + { + } + /// + /// Invoke action archive + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action archive + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Drives.Item.Items.Item.Archive.ArchiveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Drives.Item.Items.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/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs index 135ae9f65d97..e41957be2ada 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Drives.Item.Items.Item.Activities; using Microsoft.Graph.Beta.Drives.Item.Items.Item.Analytics; +using Microsoft.Graph.Beta.Drives.Item.Items.Item.Archive; using Microsoft.Graph.Beta.Drives.Item.Items.Item.AssignSensitivityLabel; using Microsoft.Graph.Beta.Drives.Item.Items.Item.Checkin; using Microsoft.Graph.Beta.Drives.Item.Items.Item.Checkout; @@ -30,6 +31,7 @@ using Microsoft.Graph.Beta.Drives.Item.Items.Item.SearchWithQ; using Microsoft.Graph.Beta.Drives.Item.Items.Item.Subscriptions; using Microsoft.Graph.Beta.Drives.Item.Items.Item.Thumbnails; +using Microsoft.Graph.Beta.Drives.Item.Items.Item.Unarchive; using Microsoft.Graph.Beta.Drives.Item.Items.Item.Unfollow; using Microsoft.Graph.Beta.Drives.Item.Items.Item.ValidatePermission; using Microsoft.Graph.Beta.Drives.Item.Items.Item.Versions; @@ -62,6 +64,11 @@ public partial class DriveItemItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Drives.Item.Items.Item.Analytics.AnalyticsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the archive method. + public global::Microsoft.Graph.Beta.Drives.Item.Items.Item.Archive.ArchiveRequestBuilder Archive + { + get => new global::Microsoft.Graph.Beta.Drives.Item.Items.Item.Archive.ArchiveRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the assignSensitivityLabel method. public global::Microsoft.Graph.Beta.Drives.Item.Items.Item.AssignSensitivityLabel.AssignSensitivityLabelRequestBuilder AssignSensitivityLabel { @@ -187,6 +194,11 @@ public partial class DriveItemItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Drives.Item.Items.Item.Thumbnails.ThumbnailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the unarchive method. + public global::Microsoft.Graph.Beta.Drives.Item.Items.Item.Unarchive.UnarchiveRequestBuilder Unarchive + { + get => new global::Microsoft.Graph.Beta.Drives.Item.Items.Item.Unarchive.UnarchiveRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the unfollow method. public global::Microsoft.Graph.Beta.Drives.Item.Items.Item.Unfollow.UnfollowRequestBuilder Unfollow { diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs index 406efae89376..0a8bfa457c45 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs @@ -35,7 +35,7 @@ public RetentionLabelRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// Remove a retention label from a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + /// Remove the retention label from a driveItem. This operation clears the retention label and all associated retention settings enforced on the item. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -108,7 +108,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.ItemRetentionLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Remove a retention label from a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + /// Remove the retention label from a driveItem. This operation clears the retention label and all associated retention settings enforced on the item. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Unarchive/UnarchiveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Unarchive/UnarchiveRequestBuilder.cs new file mode 100644 index 000000000000..c245d8132ecb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Unarchive/UnarchiveRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Drives.Item.Items.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}/drives/{drive%2Did}/items/{driveItem%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}/drives/{drive%2Did}/items/{driveItem%2Did}/unarchive", rawUrl) + { + } + /// + /// Invoke action unarchive + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action unarchive + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Drives.Item.Items.Item.Unarchive.UnarchiveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Drives.Item.Items.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/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..642320c0c5ad --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..295f1f04398c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for groups + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in groups + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for groups + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read-only. Nullable. Chat messages associated with 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 messages in groups + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..4dad0e857944 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..62d1138fd0cf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..3c4242031565 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..0c939c4686e8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..bf6e4434ae62 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for groups + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for groups + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 37034b8a3fb9..5ba42f742a2d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..297ee17a3e66 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.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/Groups/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..330f3bbed0b1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for groups + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in groups + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for groups + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read-only. Nullable. Chat messages associated with 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 messages in groups + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..719e93854a88 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.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.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.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/Groups/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..aefdf59b0606 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.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.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.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/Groups/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..1947593d1201 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.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.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.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/Groups/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..d58e5b8ae74c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.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.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.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/Groups/Item/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..324a8cb18cf2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for groups + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for groups + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/Groups/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index c86ad9c88c53..1a050842e022 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..a56b0050fdb1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..08782c7cada9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for groups + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in groups + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for groups + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read-only. Nullable. Chat messages associated with 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 messages in groups + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..ae4fa18d5784 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..94ad71e06467 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..3641d6e60724 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..fc866314242d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..ebc00f60e3c9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for groups + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for groups + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 1d5667bdddf6..c66c050c8331 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..db16ef61ae00 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.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}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.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/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..9e76b9cb8bd3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for groups + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in groups + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for groups + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read-only. Nullable. Chat messages associated with 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 messages in groups + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..09b51ebe13cf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.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/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..4c8f710c52c2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.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}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.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/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..4f3393ec4088 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.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/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..9e07ba9f55d1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.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}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.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/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..86c5bb09d16c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for groups + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for groups + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 069883be9b64..fd3735873766 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..5ecc09bebafb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..70609e9e5a70 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for groups + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in groups + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for groups + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read-only. Nullable. Chat messages associated with 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 messages in groups + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..5ca51d9a282b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..5d0dcdd689d0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..9ebca5575908 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..45f553a2d9ee --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..c039ba83132b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for groups + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for groups + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 073294b38fc4..0f156a9dd524 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..b1657b0193cf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.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}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.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/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..eb15dc599db9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for groups + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in groups + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for groups + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read-only. Nullable. Chat messages associated with 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 messages in groups + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..516a880c78ad --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.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.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.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/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..233acadca1d6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.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}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.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.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.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/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..50a0592c7766 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.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.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.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/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..57f8e6dbf69e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.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}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.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.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.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/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..7f3193e3be91 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for groups + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for groups + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 74b02c39435d..5f61a454d953 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Identity/AuthenticationEventListeners/Item/AuthenticationEventListenerItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/AuthenticationEventListeners/Item/AuthenticationEventListenerItemRequestBuilder.cs index 7011f84a8db5..51c106eae7d6 100644 --- a/src/Microsoft.Graph/Generated/Identity/AuthenticationEventListeners/Item/AuthenticationEventListenerItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/AuthenticationEventListeners/Item/AuthenticationEventListenerItemRequestBuilder.cs @@ -58,7 +58,8 @@ public async Task DeleteAsync(Action - /// Get authenticationEventListeners from identity + /// Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -126,7 +127,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get authenticationEventListeners from identity + /// Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -184,7 +185,7 @@ public partial class AuthenticationEventListenerItemRequestBuilderDeleteRequestC { } /// - /// Get authenticationEventListeners from identity + /// Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AuthenticationEventListenerItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Identity/CustomAuthenticationExtensions/Item/CustomAuthenticationExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/CustomAuthenticationExtensions/Item/CustomAuthenticationExtensionItemRequestBuilder.cs index e5914e7cd6cb..daca43efa26f 100644 --- a/src/Microsoft.Graph/Generated/Identity/CustomAuthenticationExtensions/Item/CustomAuthenticationExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/CustomAuthenticationExtensions/Item/CustomAuthenticationExtensionItemRequestBuilder.cs @@ -64,8 +64,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported. - /// Find more info here + /// Read the properties and relationships of a customAuthenticationExtension object. The following derived types are currently supported. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -132,7 +132,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported. + /// Read the properties and relationships of a customAuthenticationExtension object. The following derived types are currently supported. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -190,7 +190,7 @@ public partial class CustomAuthenticationExtensionItemRequestBuilderDeleteReques { } /// - /// Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported. + /// Read the properties and relationships of a customAuthenticationExtension object. The following derived types are currently supported. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class CustomAuthenticationExtensionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/Item/AccessPackageSubjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/Item/AccessPackageSubjectItemRequestBuilder.cs index 08776a304fc8..9a7ab1279c58 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/Item/AccessPackageSubjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/Item/AccessPackageSubjectItemRequestBuilder.cs @@ -86,7 +86,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.AccessPackageSubject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update an existing accessPackageSubject object to change the subject lifecycle. + /// Update an external directory user represented by an existing accessPackageSubject object to change the subject lifecycle. /// Find more info here /// /// A @@ -150,7 +150,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update an existing accessPackageSubject object to change the subject lifecycle. + /// Update an external directory user represented by an existing accessPackageSubject object to change the subject lifecycle. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/SubjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/SubjectsRequestBuilder.cs index 667b1cb570c1..8006e42174c0 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/SubjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/SubjectsRequestBuilder.cs @@ -54,7 +54,7 @@ public SubjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Get the properties of an existing accessPackageSubject object. + /// Get the properties of an external directory user represented by an existing accessPackageSubject object. /// Find more info here /// /// A @@ -103,7 +103,7 @@ public SubjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.AccessPackageSubject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get the properties of an existing accessPackageSubject object. + /// Get the properties of an external directory user represented by an existing accessPackageSubject object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.IdentityGovernance.EntitlementManagement.Subjects.SubjectsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get the properties of an existing accessPackageSubject object. + /// Get the properties of an external directory user represented by an existing accessPackageSubject object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SubjectsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/SubjectsWithObjectId/SubjectsWithObjectIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/SubjectsWithObjectId/SubjectsWithObjectIdRequestBuilder.cs index b44f488a4ac3..5e05f0869daa 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/SubjectsWithObjectId/SubjectsWithObjectIdRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/SubjectsWithObjectId/SubjectsWithObjectIdRequestBuilder.cs @@ -82,7 +82,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.AccessPackageSubject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update an existing accessPackageSubject object to change the subject lifecycle. + /// Update an external directory user represented by an existing accessPackageSubject object to change the subject lifecycle. /// Find more info here /// /// A @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update an existing accessPackageSubject object to change the subject lifecycle. + /// Update an external directory user represented by an existing accessPackageSubject object to change the subject lifecycle. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.cs new file mode 100644 index 000000000000..221be43b3bbc --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures +{ + /// + /// Provides operations to call the previewTaskFailures method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewTaskFailures", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewTaskFailures", rawUrl) + { + } + /// + /// Invoke action previewTaskFailures + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsPreviewTaskFailuresPostResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsPreviewTaskFailuresPostResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action previewTaskFailures + /// + /// A + /// Cancellation token to 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 PostAsPreviewTaskFailuresPostResponseAsync 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action previewTaskFailures + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] +#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. + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresPostResponse.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresPostResponse.cs new file mode 100644 index 000000000000..0ad8ff6912e7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresPostResponse.cs @@ -0,0 +1,66 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PreviewTaskFailuresPostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.PreviewFailedTask.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/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresResponse.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresResponse.cs new file mode 100644 index 000000000000..7ba8628463c1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures +{ + [Obsolete("This class is obsolete. Use PreviewTaskFailuresPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PreviewTaskFailuresResponse : global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.cs new file mode 100644 index 000000000000..dca0893dcbbd --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow +{ + /// + /// Provides operations to call the previewWorkflow method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewWorkflow", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewWorkflow", rawUrl) + { + } + /// + /// Invoke action previewWorkflow + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action previewWorkflow + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided 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(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/PreviewWorkflowPostRequestBody.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/PreviewWorkflowPostRequestBody.cs new file mode 100644 index 000000000000..4d5777d2bb27 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/PreviewWorkflowPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PreviewWorkflowPostRequestBody : 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 subjects property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Subjects + { + get { return BackingStore?.Get?>("subjects"); } + set { BackingStore?.Set("subjects", value); } + } +#nullable restore +#else + public List Subjects + { + get { return BackingStore?.Get>("subjects"); } + set { BackingStore?.Set("subjects", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public PreviewWorkflowPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "subjects", n => { Subjects = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DirectoryObject.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("subjects", Subjects); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/PreviewScope/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/PreviewScope/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..5a52f18562a4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/PreviewScope/Count/CountRequestBuilder.cs @@ -0,0 +1,127 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.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}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/previewScope/$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}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/previewScope/$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(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable 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(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.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/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/PreviewScope/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/PreviewScope/Item/DirectoryObjectItemRequestBuilder.cs new file mode 100644 index 000000000000..9dea402c28ce --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/PreviewScope/Item/DirectoryObjectItemRequestBuilder.cs @@ -0,0 +1,128 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item +{ + /// + /// Provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow 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}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/previewScope/{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}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/previewScope/{directoryObject%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get previewScope from identityGovernance + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get previewScope from identityGovernance + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided 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(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get previewScope from identityGovernance + /// + [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/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/PreviewScope/PreviewScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/PreviewScope/PreviewScopeRequestBuilder.cs new file mode 100644 index 000000000000..ecbaeee252ae --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/PreviewScope/PreviewScopeRequestBuilder.cs @@ -0,0 +1,188 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope +{ + /// + /// Provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PreviewScopeRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. + /// The unique identifier of directoryObject + /// A + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("directoryObject%2Did", position); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.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 PreviewScopeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/previewScope{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public PreviewScopeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/previewScope{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get previewScope from identityGovernance + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get previewScope from identityGovernance + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided 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(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get previewScope from identityGovernance + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PreviewScopeRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PreviewScopeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.cs index 9939cd8d48f8..4237364e0d06 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.cs @@ -7,7 +7,10 @@ using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceActivate; using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope; using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow; using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope; using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs; using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports; using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks; @@ -66,11 +69,26 @@ public partial class WorkflowItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the previewTaskFailures method. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder MicrosoftGraphIdentityGovernancePreviewTaskFailures + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the previewWorkflow method. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder MicrosoftGraphIdentityGovernancePreviewWorkflow + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the restore method. public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder MicrosoftGraphIdentityGovernanceRestore { get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder PreviewScope + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity. public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.RunsRequestBuilder Runs { diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.cs new file mode 100644 index 000000000000..7e3c73b29d99 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures +{ + /// + /// Provides operations to call the previewTaskFailures method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewTaskFailures", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewTaskFailures", rawUrl) + { + } + /// + /// Invoke action previewTaskFailures + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsPreviewTaskFailuresPostResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsPreviewTaskFailuresPostResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action previewTaskFailures + /// + /// A + /// Cancellation token to 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 PostAsPreviewTaskFailuresPostResponseAsync 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action previewTaskFailures + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] +#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. + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresPostResponse.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresPostResponse.cs new file mode 100644 index 000000000000..b5e48db7bc9c --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresPostResponse.cs @@ -0,0 +1,66 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PreviewTaskFailuresPostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.PreviewFailedTask.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/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresResponse.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresResponse.cs new file mode 100644 index 000000000000..461ebbc88f16 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures +{ + [Obsolete("This class is obsolete. Use PreviewTaskFailuresPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PreviewTaskFailuresResponse : global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.cs new file mode 100644 index 000000000000..baae97631c29 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow +{ + /// + /// Provides operations to call the previewWorkflow method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewWorkflow", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewWorkflow", rawUrl) + { + } + /// + /// Invoke action previewWorkflow + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action previewWorkflow + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided 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(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/PreviewWorkflowPostRequestBody.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/PreviewWorkflowPostRequestBody.cs new file mode 100644 index 000000000000..1ffce5b79364 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/PreviewWorkflowPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PreviewWorkflowPostRequestBody : 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 subjects property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Subjects + { + get { return BackingStore?.Get?>("subjects"); } + set { BackingStore?.Set("subjects", value); } + } +#nullable restore +#else + public List Subjects + { + get { return BackingStore?.Get>("subjects"); } + set { BackingStore?.Set("subjects", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public PreviewWorkflowPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "subjects", n => { Subjects = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DirectoryObject.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("subjects", Subjects); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/PreviewScope/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/PreviewScope/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..d24067243e1b --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/PreviewScope/Count/CountRequestBuilder.cs @@ -0,0 +1,127 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.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}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/previewScope/$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}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/previewScope/$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(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable 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(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.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/IdentityGovernance/LifecycleWorkflows/Workflows/Item/PreviewScope/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/PreviewScope/Item/DirectoryObjectItemRequestBuilder.cs new file mode 100644 index 000000000000..5c7e434442eb --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/PreviewScope/Item/DirectoryObjectItemRequestBuilder.cs @@ -0,0 +1,128 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item +{ + /// + /// Provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow 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}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/previewScope/{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}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/previewScope/{directoryObject%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get previewScope from identityGovernance + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get previewScope from identityGovernance + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided 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(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get previewScope from identityGovernance + /// + [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/IdentityGovernance/LifecycleWorkflows/Workflows/Item/PreviewScope/PreviewScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/PreviewScope/PreviewScopeRequestBuilder.cs new file mode 100644 index 000000000000..b6b9e77a2db0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/PreviewScope/PreviewScopeRequestBuilder.cs @@ -0,0 +1,188 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope +{ + /// + /// Provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PreviewScopeRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. + /// The unique identifier of directoryObject + /// A + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("directoryObject%2Did", position); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.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 PreviewScopeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/previewScope{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public PreviewScopeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/previewScope{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get previewScope from identityGovernance + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get previewScope from identityGovernance + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided 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(" as of 2025-01/PrivatePreview:organizationalUnit on 2025-08-12 and will be removed 2026-02-28")] + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get previewScope from identityGovernance + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PreviewScopeRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PreviewScopeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.cs index 7be00f22fd46..e38b2c7a9810 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.cs @@ -7,7 +7,10 @@ using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceActivate; using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope; using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow; using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope; using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs; using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports; using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks; @@ -66,11 +69,26 @@ public partial class WorkflowItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the previewTaskFailures method. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder MicrosoftGraphIdentityGovernancePreviewTaskFailures + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the previewWorkflow method. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder MicrosoftGraphIdentityGovernancePreviewWorkflow + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the restore method. public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder MicrosoftGraphIdentityGovernanceRestore { get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder PreviewScope + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity. public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.RunsRequestBuilder Runs { diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs index 93c3050649e7..81861bcd6011 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs @@ -15,6 +15,7 @@ using Microsoft.Graph.Beta.Me.Chats.Item.SendActivityNotification; using Microsoft.Graph.Beta.Me.Chats.Item.StartMigration; using Microsoft.Graph.Beta.Me.Chats.Item.Tabs; +using Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages; using Microsoft.Graph.Beta.Me.Chats.Item.UnhideForUser; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -109,6 +110,11 @@ public partial class ChatItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.Chats.Item.Tabs.TabsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. + public global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder TargetedMessages + { + get => new global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the unhideForUser method. public global::Microsoft.Graph.Beta.Me.Chats.Item.UnhideForUser.UnhideForUserRequestBuilder UnhideForUser { 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 new file mode 100644 index 000000000000..0122090286c1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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 new file mode 100644 index 000000000000..24bd26facbc4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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 new file mode 100644 index 000000000000..7edd66d9de48 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count; +using Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.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.Beta.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.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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 new file mode 100644 index 000000000000..0a39e489aa65 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.Beta.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.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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 new file mode 100644 index 000000000000..a894d288a4f3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -0,0 +1,201 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.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.Beta.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.Beta.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.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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 new file mode 100644 index 000000000000..67d4a6957ab5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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 new file mode 100644 index 000000000000..1a2720efe336 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.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.Beta.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.Beta.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.Beta.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.Beta.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 new file mode 100644 index 000000000000..911220e0e015 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaRequestBuilder.cs @@ -0,0 +1,189 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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 obtain 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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 obtain 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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 obtain 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.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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 obtain 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 new file mode 100644 index 000000000000..7722d3056eb2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.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.Beta.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.Beta.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.Beta.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/ForwardToChat/ForwardToChatPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatPostRequestBody.cs new file mode 100644 index 000000000000..99d57395156b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatPostRequestBody.cs @@ -0,0 +1,118 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ForwardToChatPostRequestBody : 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 additionalMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ChatMessage? AdditionalMessage + { + get { return BackingStore?.Get("additionalMessage"); } + set { BackingStore?.Set("additionalMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ChatMessage AdditionalMessage + { + get { return BackingStore?.Get("additionalMessage"); } + set { BackingStore?.Set("additionalMessage", value); } + } +#endif + /// 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 targetChatIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? TargetChatIds + { + get { return BackingStore?.Get?>("targetChatIds"); } + set { BackingStore?.Set("targetChatIds", value); } + } +#nullable restore +#else + public List TargetChatIds + { + get { return BackingStore?.Get>("targetChatIds"); } + set { BackingStore?.Set("targetChatIds", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ForwardToChatPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "additionalMessage", n => { AdditionalMessage = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "targetChatIds", n => { TargetChatIds = 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.WriteObjectValue("additionalMessage", AdditionalMessage); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteCollectionOfPrimitiveValues("targetChatIds", TargetChatIds); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatPostResponse.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatPostResponse.cs new file mode 100644 index 000000000000..90251adbdcfc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ForwardToChatPostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + 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/ForwardToChat/ForwardToChatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatRequestBuilder.cs new file mode 100644 index 000000000000..0eb7cc66180b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat +{ + /// + /// Provides operations to call the forwardToChat method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ForwardToChatRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ForwardToChatRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/forwardToChat", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ForwardToChatRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/forwardToChat", rawUrl) + { + } + /// + /// Forward a chat message, a channel message, or a channel message reply to 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 PostAsForwardToChatPostResponseAsync(global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsForwardToChatPostResponseAsync(global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Forward a chat message, a channel message, or a channel message reply to 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 + [Obsolete("This method is obsolete. Use PostAsForwardToChatPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Forward a chat message, a channel message, or a channel message reply to 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.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ForwardToChatRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatResponse.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatResponse.cs new file mode 100644 index 000000000000..c03cdcc64603 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat +{ + [Obsolete("This class is obsolete. Use ForwardToChatPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ForwardToChatResponse : global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatResponse(); + } + } +} +#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 new file mode 100644 index 000000000000..ee8fa0231b27 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs @@ -0,0 +1,259 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents; +using Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction; +using Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete; +using Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete; +using Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder HostedContents + { + get => new global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the softDelete method. + public global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder SoftDelete + { + get => new global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the undoSoftDelete method. + public global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder UndoSoftDelete + { + get => new global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.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.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.ChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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 new file mode 100644 index 000000000000..31de22ba27fa --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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 new file mode 100644 index 000000000000..735eaf00ed0c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count; +using Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.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.Beta.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.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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 new file mode 100644 index 000000000000..38e9ef833e19 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.Beta.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.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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 new file mode 100644 index 000000000000..08bb6d886d6a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -0,0 +1,201 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.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.Beta.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.Beta.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.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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 new file mode 100644 index 000000000000..a8b72752bfe0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.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.Beta.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.Beta.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 new file mode 100644 index 000000000000..2de0a4f132e8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.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.Beta.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.Beta.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.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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 new file mode 100644 index 000000000000..8f5e762683cb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.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.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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 new file mode 100644 index 000000000000..0ff0022aec58 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.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.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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 new file mode 100644 index 000000000000..54494ac73a92 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.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.Beta.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.Beta.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 new file mode 100644 index 000000000000..9525bcd05942 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.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.Beta.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.Beta.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.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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 new file mode 100644 index 000000000000..b8c715e953ea --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/RepliesRequestBuilder.cs @@ -0,0 +1,256 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Count; +using Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta; +using Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat; +using Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item; +using Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the delta method. + public global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder Delta + { + get => new global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the forwardToChat method. + public global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatRequestBuilder ForwardToChat + { + get => new global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Beta.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.Beta.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.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.ChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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 new file mode 100644 index 000000000000..f75e9520a202 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.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.Beta.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.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.Beta.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.Beta.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.Beta.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 new file mode 100644 index 000000000000..75fd2721a8fe --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.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.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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 new file mode 100644 index 000000000000..b32a8e966802 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents; +using Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder HostedContents + { + get => new global::Microsoft.Graph.Beta.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.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder Replies + { + get => new global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get targetedMessages from me + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.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.Beta.Models.TargetedChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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; + } + /// + /// Get targetedMessages 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 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.Beta.Models.TargetedChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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 + { + } + /// + /// Get targetedMessages from me + /// + [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 new file mode 100644 index 000000000000..379f574ae5b6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Count; +using Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.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.Beta.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.Beta.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) + { + } + /// + /// Get targetedMessages from me + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.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.Beta.Models.TargetedChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get targetedMessages 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 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.Beta.Models.TargetedChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Me.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get targetedMessages from me + /// + [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/EmployeeExperience/EmployeeExperienceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/EmployeeExperienceRequestBuilder.cs index 24898d5ab284..85548ce28920 100644 --- a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/EmployeeExperienceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/EmployeeExperienceRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Me.EmployeeExperience.AssignedRoles; using Microsoft.Graph.Beta.Me.EmployeeExperience.LearningCourseActivities; using Microsoft.Graph.Beta.Me.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId; +using Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -31,6 +32,11 @@ public partial class EmployeeExperienceRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.EmployeeExperience.LearningCourseActivities.LearningCourseActivitiesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the storyline property of the microsoft.graph.employeeExperienceUser entity. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.StorylineRequestBuilder Storyline + { + get => new global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.StorylineRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// @@ -70,7 +76,7 @@ public async Task DeleteAsync(Action - /// Get employeeExperience from me + /// The employee experience resources for the user. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -147,7 +153,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get employeeExperience from me + /// The employee experience resources for the user. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -205,7 +211,7 @@ public partial class EmployeeExperienceRequestBuilderDeleteRequestConfiguration { } /// - /// Get employeeExperience from me + /// The employee experience resources for the user. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class EmployeeExperienceRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/Storyline/Followers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/Storyline/Followers/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..6a1f4b11f634 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/Storyline/Followers/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.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/storyline/followers/$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/storyline/followers/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.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/Storyline/Followers/FollowersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/Storyline/Followers/FollowersRequestBuilder.cs new file mode 100644 index 000000000000..95c3ea532b64 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/Storyline/Followers/FollowersRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Count; +using Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers +{ + /// + /// Provides operations to manage the followers property of the microsoft.graph.storyline entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FollowersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the followers property of the microsoft.graph.storyline entity. + /// The unique identifier of storylineFollower + /// A + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("storylineFollower%2Did", position); + return new global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder(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 FollowersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/storyline/followers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public FollowersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/storyline/followers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The users who are following 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.StorylineFollowerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to followers for me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.StorylineFollower body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.StorylineFollower body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.StorylineFollower.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The users who are following 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 followers for me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.StorylineFollower body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.StorylineFollower body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.FollowersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.FollowersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The users who are following this user. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FollowersRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FollowersRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FollowersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/Storyline/Followers/Item/StorylineFollowerItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/Storyline/Followers/Item/StorylineFollowerItemRequestBuilder.cs new file mode 100644 index 000000000000..4e71ebac142f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/Storyline/Followers/Item/StorylineFollowerItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Item +{ + /// + /// Provides operations to manage the followers property of the microsoft.graph.storyline entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineFollowerItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public StorylineFollowerItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/storyline/followers/{storylineFollower%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 StorylineFollowerItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/storyline/followers/{storylineFollower%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property followers for me + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The users who are following 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.StorylineFollower.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property followers in me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.StorylineFollower body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.StorylineFollower body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.StorylineFollower.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property followers 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 users who are following 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 followers in me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.StorylineFollower body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.StorylineFollower body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineFollowerItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The users who are following this user. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineFollowerItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineFollowerItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineFollowerItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/Storyline/Followings/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/Storyline/Followings/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..fa544e1c4d41 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/Storyline/Followings/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.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/storyline/followings/$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/storyline/followings/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.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/Storyline/Followings/FollowingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/Storyline/Followings/FollowingsRequestBuilder.cs new file mode 100644 index 000000000000..517a21926901 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/Storyline/Followings/FollowingsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Count; +using Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings +{ + /// + /// Provides operations to manage the followings property of the microsoft.graph.storyline entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FollowingsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the followings property of the microsoft.graph.storyline entity. + /// The unique identifier of storylineFollowing + /// A + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("storylineFollowing%2Did", position); + return new global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder(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 FollowingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/storyline/followings{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public FollowingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/storyline/followings{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The users that this user is following. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.StorylineFollowingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to followings for me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.StorylineFollowing body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.StorylineFollowing body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.StorylineFollowing.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The users that this user is following. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 followings for me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.StorylineFollowing body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.StorylineFollowing body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.FollowingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.FollowingsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The users that this user is following. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FollowingsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FollowingsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FollowingsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/Storyline/Followings/Item/StorylineFollowingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/Storyline/Followings/Item/StorylineFollowingItemRequestBuilder.cs new file mode 100644 index 000000000000..7a50b445894a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/Storyline/Followings/Item/StorylineFollowingItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Item +{ + /// + /// Provides operations to manage the followings property of the microsoft.graph.storyline entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineFollowingItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public StorylineFollowingItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/storyline/followings/{storylineFollowing%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 StorylineFollowingItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/storyline/followings/{storylineFollowing%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property followings for me + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The users that this user is following. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.StorylineFollowing.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property followings in me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.StorylineFollowing body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.StorylineFollowing body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.StorylineFollowing.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property followings 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 users that this user is following. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 followings in me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.StorylineFollowing body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.StorylineFollowing body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineFollowingItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The users that this user is following. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineFollowingItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineFollowingItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineFollowingItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/Storyline/StorylineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/Storyline/StorylineRequestBuilder.cs new file mode 100644 index 000000000000..b6525d8df14f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/Storyline/StorylineRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers; +using Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline +{ + /// + /// Provides operations to manage the storyline property of the microsoft.graph.employeeExperienceUser entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the followers property of the microsoft.graph.storyline entity. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.FollowersRequestBuilder Followers + { + get => new global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.FollowersRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the followings property of the microsoft.graph.storyline entity. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.FollowingsRequestBuilder Followings + { + get => new global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.FollowingsRequestBuilder(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 StorylineRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/storyline{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public StorylineRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/employeeExperience/storyline{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property storyline for me + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The user's storyline for following and engagement features. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Storyline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property storyline in me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Storyline body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Storyline body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Storyline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property storyline 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 storyline for following and engagement features. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 storyline in me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Storyline body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Storyline body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.StorylineRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.StorylineRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The user's storyline for following and engagement features. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineRequestBuilderPatchRequestConfiguration : 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 index f0cd700a4da3..5704651b2493 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Shared/Count/CountRequestBuilder.cs @@ -40,6 +40,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("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) @@ -61,6 +62,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// /// 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) @@ -80,6 +82,7 @@ public RequestInformation ToGetRequestInformation(Action /// 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.Beta.Me.Insights.Shared.Count.CountRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Me.Insights.Shared.Count.CountRequestBuilder(rawUrl, RequestAdapter); 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 index 99985f436bbd..583726570847 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.cs @@ -41,6 +41,7 @@ public LastSharedMethodRequestBuilder(string rawUrl, IRequestAdapter requestAdap /// Cancellation token to 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) @@ -62,6 +63,7 @@ public LastSharedMethodRequestBuilder(string rawUrl, IRequestAdapter requestAdap /// /// 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) @@ -81,6 +83,7 @@ public RequestInformation ToGetRequestInformation(Action /// 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.Beta.Me.Insights.Shared.Item.LastSharedMethod.LastSharedMethodRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Me.Insights.Shared.Item.LastSharedMethod.LastSharedMethodRequestBuilder(rawUrl, RequestAdapter); 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 index a645c2b64b7a..c7352e947606 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/Resource/ResourceRequestBuilder.cs @@ -41,6 +41,7 @@ public ResourceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// Cancellation token to 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) @@ -62,6 +63,7 @@ public ResourceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// /// 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) @@ -81,6 +83,7 @@ public RequestInformation ToGetRequestInformation(Action /// 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.Beta.Me.Insights.Shared.Item.Resource.ResourceRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Me.Insights.Shared.Item.Resource.ResourceRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs index 03a45cb5857f..7123936290f9 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs @@ -21,11 +21,13 @@ namespace Microsoft.Graph.Beta.Me.Insights.Shared.Item 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.Beta.Me.Insights.Shared.Item.LastSharedMethod.LastSharedMethodRequestBuilder LastSharedMethod { get => new global::Microsoft.Graph.Beta.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.Beta.Me.Insights.Shared.Item.Resource.ResourceRequestBuilder Resource { get => new global::Microsoft.Graph.Beta.Me.Insights.Shared.Item.Resource.ResourceRequestBuilder(PathParameters, RequestAdapter); @@ -52,6 +54,7 @@ public SharedInsightItemRequestBuilder(string rawUrl, IRequestAdapter requestAda /// Cancellation token to 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) @@ -75,6 +78,7 @@ public async Task DeleteAsync(ActionCancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("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) @@ -99,6 +103,7 @@ public async Task DeleteAsync(ActionCancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("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.Beta.Models.SharedInsight body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -121,6 +126,7 @@ public async Task DeleteAsync(Action /// 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) @@ -140,6 +146,7 @@ public RequestInformation ToDeleteRequestInformation(Action /// 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) @@ -160,6 +167,7 @@ public RequestInformation ToGetRequestInformation(ActionA /// 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.Beta.Models.SharedInsight body, Action>? requestConfiguration = default) @@ -181,6 +189,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta /// /// 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.Beta.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Shared/SharedRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Shared/SharedRequestBuilder.cs index dcba02a6f1a7..f1a012c3708e 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Shared/SharedRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Shared/SharedRequestBuilder.cs @@ -21,6 +21,7 @@ namespace Microsoft.Graph.Beta.Me.Insights.Shared 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.Beta.Me.Insights.Shared.Count.CountRequestBuilder Count { get => new global::Microsoft.Graph.Beta.Me.Insights.Shared.Count.CountRequestBuilder(PathParameters, RequestAdapter); @@ -28,6 +29,7 @@ public partial class SharedRequestBuilder : BaseRequestBuilder /// 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.Beta.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder this[string position] { get @@ -60,6 +62,7 @@ public SharedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// Cancellation token to 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) @@ -84,6 +87,7 @@ public SharedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// Cancellation token to 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.Beta.Models.SharedInsight body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -106,6 +110,7 @@ public SharedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// /// 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) @@ -126,6 +131,7 @@ public RequestInformation ToGetRequestInformation(ActionA /// 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.Beta.Models.SharedInsight body, Action>? requestConfiguration = default) @@ -147,6 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. /// /// 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.Beta.Me.Insights.Shared.SharedRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Me.Insights.Shared.SharedRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Used/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Used/Count/CountRequestBuilder.cs index c4457593dc81..26953eadc14b 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Used/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Used/Count/CountRequestBuilder.cs @@ -40,6 +40,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("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) @@ -61,6 +62,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// /// 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) @@ -80,6 +82,7 @@ public RequestInformation ToGetRequestInformation(Action /// 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.Beta.Me.Insights.Used.Count.CountRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Me.Insights.Used.Count.CountRequestBuilder(rawUrl, RequestAdapter); 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 index 2d0aec49fa36..b7cb0c080326 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/Resource/ResourceRequestBuilder.cs @@ -41,6 +41,7 @@ public ResourceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// Cancellation token to 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) @@ -62,6 +63,7 @@ public ResourceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// /// 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) @@ -81,6 +83,7 @@ public RequestInformation ToGetRequestInformation(Action /// 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.Beta.Me.Insights.Used.Item.Resource.ResourceRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Me.Insights.Used.Item.Resource.ResourceRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/UsedInsightItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/UsedInsightItemRequestBuilder.cs index 1076e2e4e2e5..bd22ef772ecb 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/UsedInsightItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/UsedInsightItemRequestBuilder.cs @@ -20,6 +20,7 @@ namespace Microsoft.Graph.Beta.Me.Insights.Used.Item 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.Beta.Me.Insights.Used.Item.Resource.ResourceRequestBuilder Resource { get => new global::Microsoft.Graph.Beta.Me.Insights.Used.Item.Resource.ResourceRequestBuilder(PathParameters, RequestAdapter); @@ -46,6 +47,7 @@ public UsedInsightItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapt /// Cancellation token to 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) @@ -69,6 +71,7 @@ public async Task DeleteAsync(ActionCancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("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) @@ -93,6 +96,7 @@ public async Task DeleteAsync(ActionCancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("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.Beta.Models.UsedInsight body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -115,6 +119,7 @@ public async Task DeleteAsync(Action /// 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) @@ -134,6 +139,7 @@ public RequestInformation ToDeleteRequestInformation(Action /// 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) @@ -154,6 +160,7 @@ public RequestInformation ToGetRequestInformation(ActionA /// 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.Beta.Models.UsedInsight body, Action>? requestConfiguration = default) @@ -175,6 +182,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta /// /// 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.Beta.Me.Insights.Used.Item.UsedInsightItemRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Me.Insights.Used.Item.UsedInsightItemRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Used/UsedRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Used/UsedRequestBuilder.cs index 9a44a10da8f0..e1587b06e9d7 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Used/UsedRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Used/UsedRequestBuilder.cs @@ -21,6 +21,7 @@ namespace Microsoft.Graph.Beta.Me.Insights.Used 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.Beta.Me.Insights.Used.Count.CountRequestBuilder Count { get => new global::Microsoft.Graph.Beta.Me.Insights.Used.Count.CountRequestBuilder(PathParameters, RequestAdapter); @@ -28,6 +29,7 @@ public partial class UsedRequestBuilder : BaseRequestBuilder /// 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.Beta.Me.Insights.Used.Item.UsedInsightItemRequestBuilder this[string position] { get @@ -61,6 +63,7 @@ public UsedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("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) @@ -85,6 +88,7 @@ public UsedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("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.Beta.Models.UsedInsight body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -107,6 +111,7 @@ public UsedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( /// /// 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) @@ -127,6 +132,7 @@ public RequestInformation ToGetRequestInformation(ActionA /// 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.Beta.Models.UsedInsight body, Action>? requestConfiguration = default) @@ -148,6 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. /// /// 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.Beta.Me.Insights.Used.UsedRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Me.Insights.Used.UsedRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs index 0e52fdb152cc..44f17e50304f 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs @@ -36,16 +36,21 @@ using Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement; using Microsoft.Graph.Beta.Me.ManagedDevices.Item.RequestRemoteAssistance; using Microsoft.Graph.Beta.Me.ManagedDevices.Item.ResetPasscode; +using Microsoft.Graph.Beta.Me.ManagedDevices.Item.RestoreManagedHomeScreen; using Microsoft.Graph.Beta.Me.ManagedDevices.Item.Retire; +using Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail; using Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail; +using Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode; using Microsoft.Graph.Beta.Me.ManagedDevices.Item.RevokeAppleVppLicenses; using Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateBitLockerKeys; using Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateFileVaultKey; using Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateLocalAdminPassword; +using Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateRecoveryLockPasscode; using Microsoft.Graph.Beta.Me.ManagedDevices.Item.SecurityBaselineStates; using Microsoft.Graph.Beta.Me.ManagedDevices.Item.SendCustomNotificationToCompanyPortal; using Microsoft.Graph.Beta.Me.ManagedDevices.Item.SetDeviceName; using Microsoft.Graph.Beta.Me.ManagedDevices.Item.ShutDown; +using Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen; using Microsoft.Graph.Beta.Me.ManagedDevices.Item.SyncDevice; using Microsoft.Graph.Beta.Me.ManagedDevices.Item.TriggerConfigurationManagerAction; using Microsoft.Graph.Beta.Me.ManagedDevices.Item.UpdateWindowsDeviceAccount; @@ -252,16 +257,31 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.ResetPasscode.ResetPasscodeRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the restoreManagedHomeScreen method. + public global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RestoreManagedHomeScreen.RestoreManagedHomeScreenRequestBuilder RestoreManagedHomeScreen + { + get => new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RestoreManagedHomeScreen.RestoreManagedHomeScreenRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the retire method. public global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.Retire.RetireRequestBuilder Retire { get => new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.Retire.RetireRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the retrieveDeviceLocalAdminAccountDetail method. + public global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.RetrieveDeviceLocalAdminAccountDetailRequestBuilder RetrieveDeviceLocalAdminAccountDetail + { + get => new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.RetrieveDeviceLocalAdminAccountDetailRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the retrieveMacOSManagedDeviceLocalAdminAccountDetail method. public global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.RetrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder RetrieveMacOSManagedDeviceLocalAdminAccountDetail { get => new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.RetrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the retrieveRecoveryLockPasscode method. + public global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeRequestBuilder RetrieveRecoveryLockPasscode + { + get => new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the revokeAppleVppLicenses method. public global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RevokeAppleVppLicenses.RevokeAppleVppLicensesRequestBuilder RevokeAppleVppLicenses { @@ -282,6 +302,11 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateLocalAdminPassword.RotateLocalAdminPasswordRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the rotateRecoveryLockPasscode method. + public global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder RotateRecoveryLockPasscode + { + get => new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the securityBaselineStates property of the microsoft.graph.managedDevice entity. public global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.SecurityBaselineStates.SecurityBaselineStatesRequestBuilder SecurityBaselineStates { @@ -302,6 +327,11 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.ShutDown.ShutDownRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the suspendManagedHomeScreen method. + public global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenRequestBuilder SuspendManagedHomeScreen + { + get => new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the syncDevice method. public global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.SyncDevice.SyncDeviceRequestBuilder SyncDevice { diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RestoreManagedHomeScreen/RestoreManagedHomeScreenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RestoreManagedHomeScreen/RestoreManagedHomeScreenRequestBuilder.cs new file mode 100644 index 000000000000..e2018418cda6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RestoreManagedHomeScreen/RestoreManagedHomeScreenRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.ManagedDevices.Item.RestoreManagedHomeScreen +{ + /// + /// Provides operations to call the restoreManagedHomeScreen method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreManagedHomeScreenRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreManagedHomeScreenRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/restoreManagedHomeScreen", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreManagedHomeScreenRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/restoreManagedHomeScreen", rawUrl) + { + } + /// + /// Restore Managed Home Screen + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore Managed Home Screen + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RestoreManagedHomeScreen.RestoreManagedHomeScreenRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RestoreManagedHomeScreen.RestoreManagedHomeScreenRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreManagedHomeScreenRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RetrieveDeviceLocalAdminAccountDetail/RetrieveDeviceLocalAdminAccountDetailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RetrieveDeviceLocalAdminAccountDetail/RetrieveDeviceLocalAdminAccountDetailRequestBuilder.cs new file mode 100644 index 000000000000..2d8c4ca2c7dd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RetrieveDeviceLocalAdminAccountDetail/RetrieveDeviceLocalAdminAccountDetailRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail +{ + /// + /// Provides operations to call the retrieveDeviceLocalAdminAccountDetail method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveDeviceLocalAdminAccountDetailRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RetrieveDeviceLocalAdminAccountDetailRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/retrieveDeviceLocalAdminAccountDetail()", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RetrieveDeviceLocalAdminAccountDetailRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/retrieveDeviceLocalAdminAccountDetail()", rawUrl) + { + } + /// + /// Invoke function retrieveDeviceLocalAdminAccountDetail + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DeviceLocalAdminAccountDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function retrieveDeviceLocalAdminAccountDetail + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.RetrieveDeviceLocalAdminAccountDetailRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.RetrieveDeviceLocalAdminAccountDetailRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveDeviceLocalAdminAccountDetailRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeGetResponse.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeGetResponse.cs new file mode 100644 index 000000000000..cde14e6f7997 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeGetResponse.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RetrieveRecoveryLockPasscodeGetResponse : 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 RetrieveRecoveryLockPasscodeGetResponse() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse(); + } + /// + /// 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/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeRequestBuilder.cs new file mode 100644 index 000000000000..02a7ce3cfe54 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeRequestBuilder.cs @@ -0,0 +1,121 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode +{ + /// + /// Provides operations to call the retrieveRecoveryLockPasscode method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveRecoveryLockPasscodeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RetrieveRecoveryLockPasscodeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/retrieveRecoveryLockPasscode()", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RetrieveRecoveryLockPasscodeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/retrieveRecoveryLockPasscode()", rawUrl) + { + } + /// + /// Invoke function retrieveRecoveryLockPasscode + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsRetrieveRecoveryLockPasscodeGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsRetrieveRecoveryLockPasscodeGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function retrieveRecoveryLockPasscode + /// + /// A + /// Cancellation token to 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 GetAsRetrieveRecoveryLockPasscodeGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function retrieveRecoveryLockPasscode + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveRecoveryLockPasscodeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeResponse.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeResponse.cs new file mode 100644 index 000000000000..f2e48bbebb84 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode +{ + [Obsolete("This class is obsolete. Use RetrieveRecoveryLockPasscodeGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RetrieveRecoveryLockPasscodeResponse : global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RotateRecoveryLockPasscode/RotateRecoveryLockPasscodeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RotateRecoveryLockPasscode/RotateRecoveryLockPasscodeRequestBuilder.cs new file mode 100644 index 000000000000..d0226543b886 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RotateRecoveryLockPasscode/RotateRecoveryLockPasscodeRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateRecoveryLockPasscode +{ + /// + /// Provides operations to call the rotateRecoveryLockPasscode method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RotateRecoveryLockPasscodeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RotateRecoveryLockPasscodeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/rotateRecoveryLockPasscode", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RotateRecoveryLockPasscodeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/rotateRecoveryLockPasscode", rawUrl) + { + } + /// + /// Rotates the recovery lock passcode for the specified macOS 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Rotates the recovery lock passcode for the specified macOS 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.Beta.Me.ManagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RotateRecoveryLockPasscodeRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/SuspendManagedHomeScreen/SuspendManagedHomeScreenPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/SuspendManagedHomeScreen/SuspendManagedHomeScreenPostRequestBody.cs new file mode 100644 index 000000000000..c83c55f76b78 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/SuspendManagedHomeScreen/SuspendManagedHomeScreenPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SuspendManagedHomeScreenPostRequestBody : 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 timeoutMinutes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TimeoutMinutes + { + get { return BackingStore?.Get("timeoutMinutes"); } + set { BackingStore?.Set("timeoutMinutes", value); } + } +#nullable restore +#else + public string TimeoutMinutes + { + get { return BackingStore?.Get("timeoutMinutes"); } + set { BackingStore?.Set("timeoutMinutes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SuspendManagedHomeScreenPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "timeoutMinutes", n => { TimeoutMinutes = 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("timeoutMinutes", TimeoutMinutes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/SuspendManagedHomeScreen/SuspendManagedHomeScreenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/SuspendManagedHomeScreen/SuspendManagedHomeScreenRequestBuilder.cs new file mode 100644 index 000000000000..c17ee4693e2f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/SuspendManagedHomeScreen/SuspendManagedHomeScreenRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen +{ + /// + /// Provides operations to call the suspendManagedHomeScreen method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SuspendManagedHomeScreenRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SuspendManagedHomeScreenRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/suspendManagedHomeScreen", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SuspendManagedHomeScreenRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/managedDevices/{managedDevice%2Did}/suspendManagedHomeScreen", rawUrl) + { + } + /// + /// Temporarily suspend Managed Home Screen + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Temporarily suspend Managed Home Screen + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SuspendManagedHomeScreenRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..00278eeddd7c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.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/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.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/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..fbe8b4616809 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.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.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.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; + } + /// + /// Read-only. Nullable. Chat messages associated with 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 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.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..31e2dd05455a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.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/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..4df941e4a0f8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.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/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.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/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..591b21563dcb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.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/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..b5b124207743 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.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/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.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/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..8be2bc654fd1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.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.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// 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.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index f864a7603dae..fffd17ffd953 100644 --- 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 @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..476931338427 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.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/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.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/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..c99d68374a25 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.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.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.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; + } + /// + /// Read-only. Nullable. Chat messages associated with 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 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.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..b0fcf9736981 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.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.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.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/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..7eb6dfe74f7e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.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/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.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.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.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/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..e6f5813e2b19 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.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.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.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/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..f4b159334f8b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.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/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.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.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.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/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..4fe3d012bdd7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.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.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// 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.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 5972d0975df4..4c40b8a8d581 100644 --- 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 @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..52ca6021a8e8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Tasks.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/planner/tasks/{plannerTask%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/planner/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Planner.Tasks.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/Planner/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..cf16ebe287bc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Me.Planner.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.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.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.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; + } + /// + /// Read-only. Nullable. Chat messages associated with 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 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.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..d578620e5ed3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Tasks.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.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.Planner.Tasks.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/Planner/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..56521fc9916a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Tasks.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/planner/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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/planner/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.Planner.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.Planner.Tasks.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.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Planner.Tasks.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/Planner/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..2f71001d8af5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Tasks.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.Beta.Me.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.Planner.Tasks.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/Planner/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..f1dd220e54c3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Tasks.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/planner/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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/planner/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Me.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.Planner.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Me.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.Planner.Tasks.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.Beta.Me.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Planner.Tasks.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/Planner/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..4face8529402 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Me.Planner.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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/planner/tasks/{plannerTask%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/planner/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.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.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// 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.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 48bd04b8aee4..7d21a640553c 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Me.Planner.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Me.Planner.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Details; +using Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages; using Microsoft.Graph.Beta.Me.Planner.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Me.Planner.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Me/Sponsors/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Sponsors/Item/DirectoryObjectItemRequestBuilder.cs index 44f94e06cca2..2c6602dff0cf 100644 --- a/src/Microsoft.Graph/Generated/Me/Sponsors/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Sponsors/Item/DirectoryObjectItemRequestBuilder.cs @@ -1,29 +1,31 @@ // #pragma warning disable CS0618 -using Microsoft.Graph.Beta.Models.ODataErrors; -using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Me.Sponsors.Item.Ref; using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; -using System.Threading; using System; namespace Microsoft.Graph.Beta.Me.Sponsors.Item { /// - /// Provides operations to manage the sponsors property of the microsoft.graph.user entity. + /// 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.Beta.Me.Sponsors.Item.Ref.RefRequestBuilder Ref + { + get => new global::Microsoft.Graph.Beta.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}{?%24expand,%24select}", pathParameters) + public DirectoryObjectItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsors/{directoryObject%2Did}", pathParameters) { } /// @@ -31,93 +33,7 @@ public DirectoryObjectItemRequestBuilder(Dictionary pathParamete /// /// 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}{?%24expand,%24select}", rawUrl) - { - } - /// - /// The users and groups responsible for this guest user's privileges in the tenant and keep the guest user'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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The users and groups responsible for this guest user's privileges in the tenant and keep the guest user'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.Beta.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Beta.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The users and groups responsible for this guest user's privileges in the tenant and keep the guest user's information and access updated. (HTTP Methods: GET, POST, DELETE.). 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 + public DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsors/{directoryObject%2Did}", rawUrl) { } } diff --git a/src/Microsoft.Graph/Generated/Me/Sponsors/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Sponsors/Item/Ref/RefRequestBuilder.cs new file mode 100644 index 000000000000..a7c2baf92e6d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Sponsors/Item/Ref/RefRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.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.Beta.Me.Sponsors.Item.Ref.RefRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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 new file mode 100644 index 000000000000..c230c81d4780 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Sponsors/Ref/RefRequestBuilder.cs @@ -0,0 +1,264 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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?@id={%40id}{&%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?@id={%40id}{&%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The users and groups responsible for this guest user's privileges in the tenant and keep the guest user'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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Models.ReferenceCreate body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.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.Beta.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 user's privileges in the tenant and keep the guest user'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, "{+baseurl}/me/sponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", 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.Beta.Models.ReferenceCreate body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ReferenceCreate body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/me/sponsors/$ref", PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Sponsors.Ref.RefRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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 user's privileges in the tenant and keep the guest user'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 index f0d0bc63e31e..d3d39efc8a49 100644 --- a/src/Microsoft.Graph/Generated/Me/Sponsors/SponsorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Sponsors/SponsorsRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Me.Sponsors.Count; using Microsoft.Graph.Beta.Me.Sponsors.Item; +using Microsoft.Graph.Beta.Me.Sponsors.Ref; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -25,7 +26,12 @@ public partial class SponsorsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.Sponsors.Count.CountRequestBuilder(PathParameters, RequestAdapter); } - /// Provides operations to manage the sponsors property of the microsoft.graph.user entity. + /// Provides operations to manage the collection of user entities. + public global::Microsoft.Graph.Beta.Me.Sponsors.Ref.RefRequestBuilder Ref + { + get => new global::Microsoft.Graph.Beta.Me.Sponsors.Ref.RefRequestBuilder(PathParameters, RequestAdapter); + } + /// Gets an item from the Microsoft.Graph.Beta.me.sponsors.item collection /// The unique identifier of directoryObject /// A public global::Microsoft.Graph.Beta.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder this[string position] diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/DeleteTargetedMessage/DeleteTargetedMessagePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/DeleteTargetedMessage/DeleteTargetedMessagePostRequestBody.cs new file mode 100644 index 000000000000..c8264adac750 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/DeleteTargetedMessage/DeleteTargetedMessagePostRequestBody.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.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.Beta.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.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 new file mode 100644 index 000000000000..5e38c89ee69d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/DeleteTargetedMessage/DeleteTargetedMessageRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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) + { + } + /// + /// Invoke action deleteTargetedMessage + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action deleteTargetedMessage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.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 new file mode 100644 index 000000000000..98c53f18c63d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllRetainedTargetedMessagesGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.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.Beta.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 new file mode 100644 index 000000000000..3e358bef22b1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesRequestBuilder.cs @@ -0,0 +1,187 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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) + { + } + /// + /// Invoke function getAllRetainedTargetedMessages + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllRetainedTargetedMessages + /// + /// A + /// Cancellation token to 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllRetainedTargetedMessages + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function getAllRetainedTargetedMessages + /// + [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 new file mode 100644 index 000000000000..0a2581b8a9d2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.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.Beta.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.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.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 new file mode 100644 index 000000000000..4b412ee1a081 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllTargetedMessagesGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.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.Beta.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 new file mode 100644 index 000000000000..394fe6e9b34f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesRequestBuilder.cs @@ -0,0 +1,187 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.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) + { + } + /// + /// Invoke function getAllTargetedMessages + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllTargetedMessages + /// + /// A + /// Cancellation token to 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllTargetedMessages + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function getAllTargetedMessages + /// + [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 new file mode 100644 index 000000000000..459f74a3d31c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.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.Beta.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.Beta.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/TeamworkRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/TeamworkRequestBuilder.cs index e04184596521..c5a2212b9493 100644 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/TeamworkRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/TeamworkRequestBuilder.cs @@ -1,6 +1,9 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Beta.Me.Teamwork.AssociatedTeams; +using Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage; +using Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages; +using Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages; using Microsoft.Graph.Beta.Me.Teamwork.InstalledApps; using Microsoft.Graph.Beta.Me.Teamwork.SendActivityNotification; using Microsoft.Graph.Beta.Models.ODataErrors; @@ -26,6 +29,21 @@ public partial class TeamworkRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.Teamwork.AssociatedTeams.AssociatedTeamsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the deleteTargetedMessage method. + public global::Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder DeleteTargetedMessage + { + get => new global::Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the getAllRetainedTargetedMessages method. + public global::Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder GetAllRetainedTargetedMessages + { + get => new global::Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the getAllTargetedMessages method. + public global::Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder GetAllTargetedMessages + { + get => new global::Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the installedApps property of the microsoft.graph.userTeamwork entity. public global::Microsoft.Graph.Beta.Me.Teamwork.InstalledApps.InstalledAppsRequestBuilder InstalledApps { diff --git a/src/Microsoft.Graph/Generated/Models/AccessPackageCatalog.cs b/src/Microsoft.Graph/Generated/Models/AccessPackageCatalog.cs index ac8b25101e6b..33c01eed6eb2 100644 --- a/src/Microsoft.Graph/Generated/Models/AccessPackageCatalog.cs +++ b/src/Microsoft.Graph/Generated/Models/AccessPackageCatalog.cs @@ -222,6 +222,12 @@ public DateTimeOffset? ModifiedDateTime get { return BackingStore?.Get("modifiedDateTime"); } set { BackingStore?.Set("modifiedDateTime", value); } } + /// The privilegeLevel property + public global::Microsoft.Graph.Beta.Models.PrivilegeLevel? PrivilegeLevel + { + get { return BackingStore?.Get("privilegeLevel"); } + set { BackingStore?.Set("privilegeLevel", value); } + } /// The uniqueName property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -271,6 +277,7 @@ public override IDictionary> GetFieldDeserializers() { "isExternallyVisible", n => { IsExternallyVisible = n.GetBoolValue(); } }, { "modifiedBy", n => { ModifiedBy = n.GetStringValue(); } }, { "modifiedDateTime", n => { ModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "privilegeLevel", n => { PrivilegeLevel = n.GetEnumValue(); } }, { "uniqueName", n => { UniqueName = n.GetStringValue(); } }, }; } @@ -297,6 +304,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteBoolValue("isExternallyVisible", IsExternallyVisible); writer.WriteStringValue("modifiedBy", ModifiedBy); writer.WriteDateTimeOffsetValue("modifiedDateTime", ModifiedDateTime); + writer.WriteEnumValue("privilegeLevel", PrivilegeLevel); writer.WriteStringValue("uniqueName", UniqueName); } } diff --git a/src/Microsoft.Graph/Generated/Models/ActivityLogBase.cs b/src/Microsoft.Graph/Generated/Models/ActivityLogBase.cs new file mode 100644 index 000000000000..060bb69adabd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ActivityLogBase.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ActivityLogBase : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The activityType property + public global::Microsoft.Graph.Beta.Models.ActivityLogOperationType? ActivityType + { + get { return BackingStore?.Get("activityType"); } + set { BackingStore?.Set("activityType", value); } + } + /// The error property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.PublicError? Error + { + get { return BackingStore?.Get("error"); } + set { BackingStore?.Set("error", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.PublicError Error + { + get { return BackingStore?.Get("error"); } + set { BackingStore?.Set("error", value); } + } +#endif + /// The eventDateTime property + public DateTimeOffset? EventDateTime + { + get { return BackingStore?.Get("eventDateTime"); } + set { BackingStore?.Set("eventDateTime", value); } + } + /// The performedBy property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PerformedBy + { + get { return BackingStore?.Get("performedBy"); } + set { BackingStore?.Set("performedBy", value); } + } +#nullable restore +#else + public string PerformedBy + { + get { return BackingStore?.Get("performedBy"); } + set { BackingStore?.Set("performedBy", value); } + } +#endif + /// The resultStatus property + public global::Microsoft.Graph.Beta.Models.ActivityLogResultStatus? ResultStatus + { + get { return BackingStore?.Get("resultStatus"); } + set { BackingStore?.Set("resultStatus", value); } + } + /// The serviceType property + public global::Microsoft.Graph.Beta.Models.ServiceType? ServiceType + { + get { return BackingStore?.Get("serviceType"); } + set { BackingStore?.Set("serviceType", value); } + } + /// The severity property + public global::Microsoft.Graph.Beta.Models.ActivityLogSeverity? Severity + { + get { return BackingStore?.Get("severity"); } + set { BackingStore?.Set("severity", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ActivityLogBase CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.backupPolicyActivityLog" => new global::Microsoft.Graph.Beta.Models.BackupPolicyActivityLog(), + "#microsoft.graph.dynamicRuleActivityLog" => new global::Microsoft.Graph.Beta.Models.DynamicRuleActivityLog(), + "#microsoft.graph.offboardingActivityLog" => new global::Microsoft.Graph.Beta.Models.OffboardingActivityLog(), + "#microsoft.graph.restoreTaskActivityLog" => new global::Microsoft.Graph.Beta.Models.RestoreTaskActivityLog(), + _ => new global::Microsoft.Graph.Beta.Models.ActivityLogBase(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "activityType", n => { ActivityType = n.GetEnumValue(); } }, + { "error", n => { Error = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.PublicError.CreateFromDiscriminatorValue); } }, + { "eventDateTime", n => { EventDateTime = n.GetDateTimeOffsetValue(); } }, + { "performedBy", n => { PerformedBy = n.GetStringValue(); } }, + { "resultStatus", n => { ResultStatus = n.GetEnumValue(); } }, + { "serviceType", n => { ServiceType = n.GetEnumValue(); } }, + { "severity", n => { Severity = n.GetEnumValue(); } }, + }; + } + /// + /// 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.WriteEnumValue("activityType", ActivityType); + writer.WriteObjectValue("error", Error); + writer.WriteDateTimeOffsetValue("eventDateTime", EventDateTime); + writer.WriteStringValue("performedBy", PerformedBy); + writer.WriteEnumValue("resultStatus", ResultStatus); + writer.WriteEnumValue("serviceType", ServiceType); + writer.WriteEnumValue("severity", Severity); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ActivityLogBaseCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/ActivityLogBaseCollectionResponse.cs new file mode 100644 index 000000000000..d2138c8dfe74 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ActivityLogBaseCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ActivityLogBaseCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ActivityLogBaseCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ActivityLogBaseCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ActivityLogBase.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/Models/ActivityLogOperationType.cs b/src/Microsoft.Graph/Generated/Models/ActivityLogOperationType.cs new file mode 100644 index 000000000000..3ff821d8d5f9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ActivityLogOperationType.cs @@ -0,0 +1,60 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ActivityLogOperationType + #pragma warning restore CS1591 + { + [EnumMember(Value = "backupPolicyCreated")] + #pragma warning disable CS1591 + BackupPolicyCreated, + #pragma warning restore CS1591 + [EnumMember(Value = "backupPolicyActivated")] + #pragma warning disable CS1591 + BackupPolicyActivated, + #pragma warning restore CS1591 + [EnumMember(Value = "backupPolicyModified")] + #pragma warning disable CS1591 + BackupPolicyModified, + #pragma warning restore CS1591 + [EnumMember(Value = "backupPolicyPaused")] + #pragma warning disable CS1591 + BackupPolicyPaused, + #pragma warning restore CS1591 + [EnumMember(Value = "backupPolicyRenamed")] + #pragma warning disable CS1591 + BackupPolicyRenamed, + #pragma warning restore CS1591 + [EnumMember(Value = "dynamicRuleExecution")] + #pragma warning disable CS1591 + DynamicRuleExecution, + #pragma warning restore CS1591 + [EnumMember(Value = "dynamicRuleDeletion")] + #pragma warning disable CS1591 + DynamicRuleDeletion, + #pragma warning restore CS1591 + [EnumMember(Value = "protectionUnitLevelOffboarding")] + #pragma warning disable CS1591 + ProtectionUnitLevelOffboarding, + #pragma warning restore CS1591 + [EnumMember(Value = "policyLevelOffboarding")] + #pragma warning disable CS1591 + PolicyLevelOffboarding, + #pragma warning restore CS1591 + [EnumMember(Value = "restoreTaskCreated")] + #pragma warning disable CS1591 + RestoreTaskCreated, + #pragma warning restore CS1591 + [EnumMember(Value = "restoreTaskCompleted")] + #pragma warning disable CS1591 + RestoreTaskCompleted, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ActivityLogResultStatus.cs b/src/Microsoft.Graph/Generated/Models/ActivityLogResultStatus.cs new file mode 100644 index 000000000000..9fd7b347c8cd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ActivityLogResultStatus.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ActivityLogResultStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "succeeded")] + #pragma warning disable CS1591 + Succeeded, + #pragma warning restore CS1591 + [EnumMember(Value = "failed")] + #pragma warning disable CS1591 + Failed, + #pragma warning restore CS1591 + [EnumMember(Value = "partiallySucceeded")] + #pragma warning disable CS1591 + PartiallySucceeded, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ActivityLogSeverity.cs b/src/Microsoft.Graph/Generated/Models/ActivityLogSeverity.cs new file mode 100644 index 000000000000..9ec9f96a6ab4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ActivityLogSeverity.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ActivityLogSeverity + #pragma warning restore CS1591 + { + [EnumMember(Value = "high")] + #pragma warning disable CS1591 + High, + #pragma warning restore CS1591 + [EnumMember(Value = "medium")] + #pragma warning disable CS1591 + Medium, + #pragma warning restore CS1591 + [EnumMember(Value = "low")] + #pragma warning disable CS1591 + Low, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Alert.cs b/src/Microsoft.Graph/Generated/Models/Alert.cs index b72507cc46bd..f5d509d7faf0 100644 --- a/src/Microsoft.Graph/Generated/Models/Alert.cs +++ b/src/Microsoft.Graph/Generated/Models/Alert.cs @@ -152,7 +152,7 @@ public int? Confidence get { return BackingStore?.Get("confidence"); } set { BackingStore?.Set("confidence", value); } } - /// Time at which the alert was created by the alert provider. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Required. + /// Time at which the alert provider created the alert. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Required. public DateTimeOffset? CreatedDateTime { get { return BackingStore?.Get("createdDateTime"); } @@ -202,7 +202,7 @@ public DateTimeOffset? EventDateTime get { return BackingStore?.Get("feedback"); } set { BackingStore?.Set("feedback", value); } } - /// Security-related stateful information generated by the provider about the file(s) related to this alert. + /// Security-related stateful information generated by the provider about the files related to this alert. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? FileStates @@ -234,7 +234,7 @@ public DateTimeOffset? EventDateTime set { BackingStore?.Set("historyStates", value); } } #endif - /// Security-related stateful information generated by the provider about the host(s) related to this alert. + /// Security-related stateful information generated by the provider about the hosts related to this alert. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? HostStates @@ -326,7 +326,7 @@ public DateTimeOffset? LastModifiedDateTime set { BackingStore?.Set("messageSecurityStates", value); } } #endif - /// Security-related stateful information generated by the provider about the network connection(s) related to this alert. + /// Security-related stateful information generated by the provider about the network connections related to this alert. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? NetworkConnections @@ -358,7 +358,7 @@ public DateTimeOffset? LastModifiedDateTime set { BackingStore?.Set("processes", value); } } #endif - /// Vendor/provider recommended action(s) to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host). + /// Vendor/provider recommended actions to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? RecommendedActions @@ -390,7 +390,7 @@ public List RecommendedActions set { BackingStore?.Set("registryKeyStates", value); } } #endif - /// Resources related to current alert. For example, for some alerts this can have the Azure Resource value. + /// Resources related to current alert. For example, some alerts have the Azure Resource value. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? SecurityResources @@ -434,7 +434,7 @@ public List SourceMaterials get { return BackingStore?.Get("status"); } set { BackingStore?.Set("status", value); } } - /// User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW') (supports update). + /// User-definable labels that can be applied to an alert and can serve as filter conditions (for example, 'HVA', 'SAW'). Updatable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Tags diff --git a/src/Microsoft.Graph/Generated/Models/AndroidAppCredentialProviderRoleState.cs b/src/Microsoft.Graph/Generated/Models/AndroidAppCredentialProviderRoleState.cs new file mode 100644 index 000000000000..55400e6429cf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AndroidAppCredentialProviderRoleState.cs @@ -0,0 +1,20 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// The Android credential provider role state for apps. + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public enum AndroidAppCredentialProviderRoleState + { + /// Default. Indicates the app's ability to act as a credential provider has not been configured. When set to 'notConfigured', the Android OS will determine whether the app is allowed to act as a credential provider or not. + [EnumMember(Value = "notConfigured")] + NotConfigured, + /// Indicates the app is allowed to act as a credential provider. + [EnumMember(Value = "allowed")] + Allowed, + /// Evolvable enumeration sentinel value. Do not use. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/AndroidDeviceOwnerGeneralDeviceConfiguration.cs b/src/Microsoft.Graph/Generated/Models/AndroidDeviceOwnerGeneralDeviceConfiguration.cs index 07a0e7ec9665..452e86a6b7bf 100644 --- a/src/Microsoft.Graph/Generated/Models/AndroidDeviceOwnerGeneralDeviceConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/AndroidDeviceOwnerGeneralDeviceConfiguration.cs @@ -223,6 +223,12 @@ public bool? GoogleAccountsBlocked get { return BackingStore?.Get("googleAccountsBlocked"); } set { BackingStore?.Set("googleAccountsBlocked", value); } } + /// Exit code to allow a user to escape from Kiosk Mode when the device is in Kiosk Mode. + public bool? IsKioskModeExitCodeSet + { + get { return BackingStore?.Get("isKioskModeExitCodeSet"); } + set { BackingStore?.Set("isKioskModeExitCodeSet", value); } + } /// Indicates whether a user can access the device's Settings app while in Kiosk Mode. public bool? KioskCustomizationDeviceSettingsBlocked { @@ -1133,6 +1139,7 @@ public override IDictionary> GetFieldDeserializers() { "factoryResetDeviceAdministratorEmails", n => { FactoryResetDeviceAdministratorEmails = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "globalProxy", n => { GlobalProxy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AndroidDeviceOwnerGlobalProxy.CreateFromDiscriminatorValue); } }, { "googleAccountsBlocked", n => { GoogleAccountsBlocked = n.GetBoolValue(); } }, + { "isKioskModeExitCodeSet", n => { IsKioskModeExitCodeSet = n.GetBoolValue(); } }, { "kioskCustomizationDeviceSettingsBlocked", n => { KioskCustomizationDeviceSettingsBlocked = n.GetBoolValue(); } }, { "kioskCustomizationPowerButtonActionsBlocked", n => { KioskCustomizationPowerButtonActionsBlocked = n.GetBoolValue(); } }, { "kioskCustomizationStatusBar", n => { KioskCustomizationStatusBar = n.GetEnumValue(); } }, @@ -1283,6 +1290,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfPrimitiveValues("factoryResetDeviceAdministratorEmails", FactoryResetDeviceAdministratorEmails); writer.WriteObjectValue("globalProxy", GlobalProxy); writer.WriteBoolValue("googleAccountsBlocked", GoogleAccountsBlocked); + writer.WriteBoolValue("isKioskModeExitCodeSet", IsKioskModeExitCodeSet); writer.WriteBoolValue("kioskCustomizationDeviceSettingsBlocked", KioskCustomizationDeviceSettingsBlocked); writer.WriteBoolValue("kioskCustomizationPowerButtonActionsBlocked", KioskCustomizationPowerButtonActionsBlocked); writer.WriteEnumValue("kioskCustomizationStatusBar", KioskCustomizationStatusBar); diff --git a/src/Microsoft.Graph/Generated/Models/AndroidForWorkMobileAppConfiguration.cs b/src/Microsoft.Graph/Generated/Models/AndroidForWorkMobileAppConfiguration.cs index 9aa4043fd017..8b178492ca9c 100644 --- a/src/Microsoft.Graph/Generated/Models/AndroidForWorkMobileAppConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/AndroidForWorkMobileAppConfiguration.cs @@ -19,6 +19,12 @@ public bool? ConnectedAppsEnabled get { return BackingStore?.Get("connectedAppsEnabled"); } set { BackingStore?.Set("connectedAppsEnabled", value); } } + /// The Android credential provider role state for apps. + public global::Microsoft.Graph.Beta.Models.AndroidAppCredentialProviderRoleState? CredentialProviderRoleState + { + get { return BackingStore?.Get("credentialProviderRoleState"); } + set { BackingStore?.Set("credentialProviderRoleState", value); } + } /// Android For Work app configuration package id. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -99,6 +105,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "connectedAppsEnabled", n => { ConnectedAppsEnabled = n.GetBoolValue(); } }, + { "credentialProviderRoleState", n => { CredentialProviderRoleState = n.GetEnumValue(); } }, { "packageId", n => { PackageId = n.GetStringValue(); } }, { "payloadJson", n => { PayloadJson = n.GetStringValue(); } }, { "permissionActions", n => { PermissionActions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.AndroidPermissionAction.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -114,6 +121,7 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteBoolValue("connectedAppsEnabled", ConnectedAppsEnabled); + writer.WriteEnumValue("credentialProviderRoleState", CredentialProviderRoleState); writer.WriteStringValue("packageId", PackageId); writer.WriteStringValue("payloadJson", PayloadJson); writer.WriteCollectionOfObjectValues("permissionActions", PermissionActions); diff --git a/src/Microsoft.Graph/Generated/Models/AndroidManagedStoreAppConfiguration.cs b/src/Microsoft.Graph/Generated/Models/AndroidManagedStoreAppConfiguration.cs index 2fe84cd3e1bf..6262fab1c064 100644 --- a/src/Microsoft.Graph/Generated/Models/AndroidManagedStoreAppConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/AndroidManagedStoreAppConfiguration.cs @@ -25,6 +25,12 @@ public bool? ConnectedAppsEnabled get { return BackingStore?.Get("connectedAppsEnabled"); } set { BackingStore?.Set("connectedAppsEnabled", value); } } + /// The Android credential provider role state for apps. + public global::Microsoft.Graph.Beta.Models.AndroidAppCredentialProviderRoleState? CredentialProviderRoleState + { + get { return BackingStore?.Get("credentialProviderRoleState"); } + set { BackingStore?.Set("credentialProviderRoleState", value); } + } /// Android Enterprise app configuration package id. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -106,6 +112,7 @@ public override IDictionary> GetFieldDeserializers() { { "appSupportsOemConfig", n => { AppSupportsOemConfig = n.GetBoolValue(); } }, { "connectedAppsEnabled", n => { ConnectedAppsEnabled = n.GetBoolValue(); } }, + { "credentialProviderRoleState", n => { CredentialProviderRoleState = n.GetEnumValue(); } }, { "packageId", n => { PackageId = n.GetStringValue(); } }, { "payloadJson", n => { PayloadJson = n.GetStringValue(); } }, { "permissionActions", n => { PermissionActions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.AndroidPermissionAction.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -121,6 +128,7 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteBoolValue("connectedAppsEnabled", ConnectedAppsEnabled); + writer.WriteEnumValue("credentialProviderRoleState", CredentialProviderRoleState); writer.WriteStringValue("packageId", PackageId); writer.WriteStringValue("payloadJson", PayloadJson); writer.WriteCollectionOfObjectValues("permissionActions", PermissionActions); diff --git a/src/Microsoft.Graph/Generated/Models/Application.cs b/src/Microsoft.Graph/Generated/Models/Application.cs index a7915da73819..d6dc24787da5 100644 --- a/src/Microsoft.Graph/Generated/Models/Application.cs +++ b/src/Microsoft.Graph/Generated/Models/Application.cs @@ -124,7 +124,7 @@ public string AppId set { BackingStore?.Set("connectorGroup", value); } } #endif - /// The globally unique appId (called Application (client) ID on the Microsoft Entra admin center) of the application that created this application. Set internally by Microsoft Entra ID. Read-only. + /// The appId of the application that created this application. Set internally by Microsoft Entra ID. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? CreatedByAppId @@ -371,6 +371,22 @@ public byte[] Logo get { return BackingStore?.Get("logo"); } set { BackingStore?.Set("logo", value); } } +#endif + /// A collection of application IDs for applications designated as managers of this application. Manager applications can create service principals for the applications they manage. Currently, only Microsoft first-party application IDs can be set as values. Maximum of 10 values. Not nullable. Read-only for third-party (3P) callers; writes by 3P callers are rejected with a 400 Bad Request error. Returned only on $select. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ManagerApplications + { + get { return BackingStore?.Get?>("managerApplications"); } + set { BackingStore?.Set("managerApplications", value); } + } +#nullable restore +#else + public List ManagerApplications + { + get { return BackingStore?.Get>("managerApplications"); } + set { BackingStore?.Set("managerApplications", value); } + } #endif /// Specifies whether the Native Authentication APIs are enabled for the application. The possible values are: noneand all. Default is none. For more information, see Native Authentication. public global::Microsoft.Graph.Beta.Models.NativeAuthenticationApisEnabled? NativeAuthenticationApisEnabled @@ -823,6 +839,7 @@ public override IDictionary> GetFieldDeserializers() { "isFallbackPublicClient", n => { IsFallbackPublicClient = n.GetBoolValue(); } }, { "keyCredentials", n => { KeyCredentials = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.KeyCredential.CreateFromDiscriminatorValue)?.AsList(); } }, { "logo", n => { Logo = n.GetByteArrayValue(); } }, + { "managerApplications", n => { ManagerApplications = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "nativeAuthenticationApisEnabled", n => { NativeAuthenticationApisEnabled = n.GetEnumValue(); } }, { "notes", n => { Notes = n.GetStringValue(); } }, { "onPremisesPublishing", n => { OnPremisesPublishing = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.OnPremisesPublishing.CreateFromDiscriminatorValue); } }, @@ -884,6 +901,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteBoolValue("isFallbackPublicClient", IsFallbackPublicClient); writer.WriteCollectionOfObjectValues("keyCredentials", KeyCredentials); writer.WriteByteArrayValue("logo", Logo); + writer.WriteCollectionOfPrimitiveValues("managerApplications", ManagerApplications); writer.WriteEnumValue("nativeAuthenticationApisEnabled", NativeAuthenticationApisEnabled); writer.WriteStringValue("notes", Notes); writer.WriteObjectValue("onPremisesPublishing", OnPremisesPublishing); diff --git a/src/Microsoft.Graph/Generated/Models/ApplicationTemplate.cs b/src/Microsoft.Graph/Generated/Models/ApplicationTemplate.cs index d0202b3af4ce..b957ba1ae762 100644 --- a/src/Microsoft.Graph/Generated/Models/ApplicationTemplate.cs +++ b/src/Microsoft.Graph/Generated/Models/ApplicationTemplate.cs @@ -124,6 +124,12 @@ public string HomePageUrl set { BackingStore?.Set("informationalUrls", value); } } #endif + /// Indicates whether the application is integrated with Entra ID (for example, through single sign-on or user provisioning). + public bool? IsEntraIntegrated + { + get { return BackingStore?.Get("isEntraIntegrated"); } + set { BackingStore?.Set("isEntraIntegrated", value); } + } /// The date and time when the data for the application was last updated, represented using ISO 8601 format and always in UTC time. public DateTimeOffset? LastModifiedDateTime { @@ -267,6 +273,7 @@ public override IDictionary> GetFieldDeserializers() { "endpoints", n => { Endpoints = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "homePageUrl", n => { HomePageUrl = n.GetStringValue(); } }, { "informationalUrls", n => { InformationalUrls = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.InformationalUrls.CreateFromDiscriminatorValue); } }, + { "isEntraIntegrated", n => { IsEntraIntegrated = n.GetBoolValue(); } }, { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, { "logoUrl", n => { LogoUrl = n.GetStringValue(); } }, { "publisher", n => { Publisher = n.GetStringValue(); } }, @@ -292,6 +299,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfPrimitiveValues("endpoints", Endpoints); writer.WriteStringValue("homePageUrl", HomePageUrl); writer.WriteObjectValue("informationalUrls", InformationalUrls); + writer.WriteBoolValue("isEntraIntegrated", IsEntraIntegrated); writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); writer.WriteStringValue("logoUrl", LogoUrl); writer.WriteStringValue("publisher", Publisher); diff --git a/src/Microsoft.Graph/Generated/Models/Authentication.cs b/src/Microsoft.Graph/Generated/Models/Authentication.cs index 37b044913807..c7085c86c275 100644 --- a/src/Microsoft.Graph/Generated/Models/Authentication.cs +++ b/src/Microsoft.Graph/Generated/Models/Authentication.cs @@ -28,7 +28,7 @@ public partial class Authentication : global::Microsoft.Graph.Beta.Models.Entity set { BackingStore?.Set("emailMethods", value); } } #endif - /// Represents the external methods registered to a user for authentication. + /// Represents the external MFA registered to a user for authentication. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ExternalAuthenticationMethods diff --git a/src/Microsoft.Graph/Generated/Models/BackupCountStatistics.cs b/src/Microsoft.Graph/Generated/Models/BackupCountStatistics.cs new file mode 100644 index 000000000000..21e3d0ffa4ba --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BackupCountStatistics.cs @@ -0,0 +1,161 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BackupCountStatistics : 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 lastComputedDateTime property + public DateTimeOffset? LastComputedDateTime + { + get { return BackingStore?.Get("lastComputedDateTime"); } + set { BackingStore?.Set("lastComputedDateTime", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The offboardRequested property + public int? OffboardRequested + { + get { return BackingStore?.Get("offboardRequested"); } + set { BackingStore?.Set("offboardRequested", value); } + } + /// The protectedCompleted property + public int? ProtectedCompleted + { + get { return BackingStore?.Get("protectedCompleted"); } + set { BackingStore?.Set("protectedCompleted", value); } + } + /// The protectedFailed property + public int? ProtectedFailed + { + get { return BackingStore?.Get("protectedFailed"); } + set { BackingStore?.Set("protectedFailed", value); } + } + /// The protectedInProgress property + public int? ProtectedInProgress + { + get { return BackingStore?.Get("protectedInProgress"); } + set { BackingStore?.Set("protectedInProgress", value); } + } + /// The removed property + public int? Removed + { + get { return BackingStore?.Get("removed"); } + set { BackingStore?.Set("removed", value); } + } + /// The total property + public int? Total + { + get { return BackingStore?.Get("total"); } + set { BackingStore?.Set("total", value); } + } + /// The unprotectedCompleted property + public int? UnprotectedCompleted + { + get { return BackingStore?.Get("unprotectedCompleted"); } + set { BackingStore?.Set("unprotectedCompleted", value); } + } + /// The unprotectedFailed property + public int? UnprotectedFailed + { + get { return BackingStore?.Get("unprotectedFailed"); } + set { BackingStore?.Set("unprotectedFailed", value); } + } + /// The unprotectedInProgress property + public int? UnprotectedInProgress + { + get { return BackingStore?.Get("unprotectedInProgress"); } + set { BackingStore?.Set("unprotectedInProgress", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public BackupCountStatistics() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.BackupCountStatistics CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.BackupCountStatistics(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "lastComputedDateTime", n => { LastComputedDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "offboardRequested", n => { OffboardRequested = n.GetIntValue(); } }, + { "protectedCompleted", n => { ProtectedCompleted = n.GetIntValue(); } }, + { "protectedFailed", n => { ProtectedFailed = n.GetIntValue(); } }, + { "protectedInProgress", n => { ProtectedInProgress = n.GetIntValue(); } }, + { "removed", n => { Removed = n.GetIntValue(); } }, + { "total", n => { Total = n.GetIntValue(); } }, + { "unprotectedCompleted", n => { UnprotectedCompleted = n.GetIntValue(); } }, + { "unprotectedFailed", n => { UnprotectedFailed = n.GetIntValue(); } }, + { "unprotectedInProgress", n => { UnprotectedInProgress = n.GetIntValue(); } }, + }; + } + /// + /// 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("lastComputedDateTime", LastComputedDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteIntValue("offboardRequested", OffboardRequested); + writer.WriteIntValue("protectedCompleted", ProtectedCompleted); + writer.WriteIntValue("protectedFailed", ProtectedFailed); + writer.WriteIntValue("protectedInProgress", ProtectedInProgress); + writer.WriteIntValue("removed", Removed); + writer.WriteIntValue("total", Total); + writer.WriteIntValue("unprotectedCompleted", UnprotectedCompleted); + writer.WriteIntValue("unprotectedFailed", UnprotectedFailed); + writer.WriteIntValue("unprotectedInProgress", UnprotectedInProgress); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/BackupPolicyActivityLog.cs b/src/Microsoft.Graph/Generated/Models/BackupPolicyActivityLog.cs new file mode 100644 index 000000000000..95ada3c56a8f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BackupPolicyActivityLog.cs @@ -0,0 +1,151 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BackupPolicyActivityLog : global::Microsoft.Graph.Beta.Models.ActivityLogBase, IParsable + #pragma warning restore CS1591 + { + /// The oldPolicyName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OldPolicyName + { + get { return BackingStore?.Get("oldPolicyName"); } + set { BackingStore?.Set("oldPolicyName", value); } + } +#nullable restore +#else + public string OldPolicyName + { + get { return BackingStore?.Get("oldPolicyName"); } + set { BackingStore?.Set("oldPolicyName", value); } + } +#endif + /// The policyId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PolicyId + { + get { return BackingStore?.Get("policyId"); } + set { BackingStore?.Set("policyId", value); } + } +#nullable restore +#else + public string PolicyId + { + get { return BackingStore?.Get("policyId"); } + set { BackingStore?.Set("policyId", value); } + } +#endif + /// The policyName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PolicyName + { + get { return BackingStore?.Get("policyName"); } + set { BackingStore?.Set("policyName", value); } + } +#nullable restore +#else + public string PolicyName + { + get { return BackingStore?.Get("policyName"); } + set { BackingStore?.Set("policyName", value); } + } +#endif + /// The policyStatus property + public global::Microsoft.Graph.Beta.Models.ProtectionPolicyStatus? PolicyStatus + { + get { return BackingStore?.Get("policyStatus"); } + set { BackingStore?.Set("policyStatus", value); } + } + /// The protectionUnitDetails property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ProtectionUnitDetails? ProtectionUnitDetails + { + get { return BackingStore?.Get("protectionUnitDetails"); } + set { BackingStore?.Set("protectionUnitDetails", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ProtectionUnitDetails ProtectionUnitDetails + { + get { return BackingStore?.Get("protectionUnitDetails"); } + set { BackingStore?.Set("protectionUnitDetails", value); } + } +#endif + /// The retentionPeriod property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RetentionPeriod + { + get { return BackingStore?.Get("retentionPeriod"); } + set { BackingStore?.Set("retentionPeriod", value); } + } +#nullable restore +#else + public string RetentionPeriod + { + get { return BackingStore?.Get("retentionPeriod"); } + set { BackingStore?.Set("retentionPeriod", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public BackupPolicyActivityLog() : base() + { + OdataType = "#microsoft.graph.backupPolicyActivityLog"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.BackupPolicyActivityLog CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.BackupPolicyActivityLog(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "oldPolicyName", n => { OldPolicyName = n.GetStringValue(); } }, + { "policyId", n => { PolicyId = n.GetStringValue(); } }, + { "policyName", n => { PolicyName = n.GetStringValue(); } }, + { "policyStatus", n => { PolicyStatus = n.GetEnumValue(); } }, + { "protectionUnitDetails", n => { ProtectionUnitDetails = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ProtectionUnitDetails.CreateFromDiscriminatorValue); } }, + { "retentionPeriod", n => { RetentionPeriod = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("oldPolicyName", OldPolicyName); + writer.WriteStringValue("policyId", PolicyId); + writer.WriteStringValue("policyName", PolicyName); + writer.WriteEnumValue("policyStatus", PolicyStatus); + writer.WriteObjectValue("protectionUnitDetails", ProtectionUnitDetails); + writer.WriteStringValue("retentionPeriod", RetentionPeriod); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AndroidFotaDeploymentAssignment.cs b/src/Microsoft.Graph/Generated/Models/BackupPolicyReport.cs similarity index 54% rename from src/Microsoft.Graph/Generated/Models/AndroidFotaDeploymentAssignment.cs rename to src/Microsoft.Graph/Generated/Models/BackupPolicyReport.cs index d0f3ca5d9c33..e24545384e97 100644 --- a/src/Microsoft.Graph/Generated/Models/AndroidFotaDeploymentAssignment.cs +++ b/src/Microsoft.Graph/Generated/Models/BackupPolicyReport.cs @@ -8,11 +8,10 @@ using System; namespace Microsoft.Graph.Beta.Models { - /// - /// Describes deployment security group to assign a deployment to. The backend will expand the security Group ID to extract device serial numbers prior sending a create deployment request to Zebra. - /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AndroidFotaDeploymentAssignment : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning disable CS1591 + public partial class BackupPolicyReport : 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 @@ -20,54 +19,54 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The Azure Active Directory (Azure AD) we are deploying firmware updates to (e.g.: d93c8f48-bd42-4514-ba40-bc6b84780930). NOTE: Use this property moving forward because the existing property, target, is deprecated. + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The backupPolicyId property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public global::Microsoft.Graph.Beta.Models.DeviceAndAppManagementAssignmentTarget? AssignmentTarget + public string? BackupPolicyId { - get { return BackingStore?.Get("assignmentTarget"); } - set { BackingStore?.Set("assignmentTarget", value); } + get { return BackingStore?.Get("backupPolicyId"); } + set { BackingStore?.Set("backupPolicyId", value); } } #nullable restore #else - public global::Microsoft.Graph.Beta.Models.DeviceAndAppManagementAssignmentTarget AssignmentTarget + public string BackupPolicyId { - get { return BackingStore?.Get("assignmentTarget"); } - set { BackingStore?.Set("assignmentTarget", value); } + get { return BackingStore?.Get("backupPolicyId"); } + set { BackingStore?.Set("backupPolicyId", value); } } #endif - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The display name of the Azure AD security group used for the assignment. + /// The countStatistics property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public string? DisplayName + public global::Microsoft.Graph.Beta.Models.BackupCountStatistics? CountStatistics { - get { return BackingStore?.Get("displayName"); } - set { BackingStore?.Set("displayName", value); } + get { return BackingStore?.Get("countStatistics"); } + set { BackingStore?.Set("countStatistics", value); } } #nullable restore #else - public string DisplayName + public global::Microsoft.Graph.Beta.Models.BackupCountStatistics CountStatistics { - get { return BackingStore?.Get("displayName"); } - set { BackingStore?.Set("displayName", value); } + get { return BackingStore?.Get("countStatistics"); } + set { BackingStore?.Set("countStatistics", value); } } #endif - /// A unique identifier assigned to each Android FOTA Assignment entity + /// The displayName property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public string? Id + public string? DisplayName { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } } #nullable restore #else - public string Id + public string DisplayName { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } } #endif /// The OdataType property @@ -85,27 +84,11 @@ public string OdataType get { return BackingStore?.Get("@odata.type"); } set { BackingStore?.Set("@odata.type", value); } } -#endif - /// The AAD Group we are deploying firmware updates to -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Graph.Beta.Models.AndroidFotaDeploymentAssignmentTarget? Target - { - get { return BackingStore?.Get("target"); } - set { BackingStore?.Set("target", value); } - } -#nullable restore -#else - public global::Microsoft.Graph.Beta.Models.AndroidFotaDeploymentAssignmentTarget Target - { - get { return BackingStore?.Get("target"); } - set { BackingStore?.Set("target", value); } - } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// - public AndroidFotaDeploymentAssignment() + public BackupPolicyReport() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); @@ -113,12 +96,12 @@ public AndroidFotaDeploymentAssignment() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Graph.Beta.Models.AndroidFotaDeploymentAssignment CreateFromDiscriminatorValue(IParseNode parseNode) + public static global::Microsoft.Graph.Beta.Models.BackupPolicyReport CreateFromDiscriminatorValue(IParseNode parseNode) { if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Beta.Models.AndroidFotaDeploymentAssignment(); + return new global::Microsoft.Graph.Beta.Models.BackupPolicyReport(); } /// /// The deserialization information for the current model @@ -128,11 +111,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - { "assignmentTarget", n => { AssignmentTarget = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DeviceAndAppManagementAssignmentTarget.CreateFromDiscriminatorValue); } }, + { "backupPolicyId", n => { BackupPolicyId = n.GetStringValue(); } }, + { "countStatistics", n => { CountStatistics = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.BackupCountStatistics.CreateFromDiscriminatorValue); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, - { "id", n => { Id = n.GetStringValue(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, - { "target", n => { Target = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AndroidFotaDeploymentAssignmentTarget.CreateFromDiscriminatorValue); } }, }; } /// @@ -142,11 +124,10 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("assignmentTarget", AssignmentTarget); + writer.WriteStringValue("backupPolicyId", BackupPolicyId); + writer.WriteObjectValue("countStatistics", CountStatistics); writer.WriteStringValue("displayName", DisplayName); - writer.WriteStringValue("id", Id); writer.WriteStringValue("@odata.type", OdataType); - writer.WriteObjectValue("target", Target); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Models/BackupReport.cs b/src/Microsoft.Graph/Generated/Models/BackupReport.cs new file mode 100644 index 000000000000..73b45db475fc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BackupReport.cs @@ -0,0 +1,46 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BackupReport : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.BackupReport CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.BackupReport(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs b/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs index a04f00c64c64..3e4e2391325b 100644 --- a/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs +++ b/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Beta.Models public partial class BackupRestoreRoot : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { + /// The activityLogs property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ActivityLogs + { + get { return BackingStore?.Get?>("activityLogs"); } + set { BackingStore?.Set("activityLogs", value); } + } +#nullable restore +#else + public List ActivityLogs + { + get { return BackingStore?.Get>("activityLogs"); } + set { BackingStore?.Set("activityLogs", value); } + } +#endif /// The allDrivesBackup property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -299,6 +315,22 @@ public partial class BackupRestoreRoot : global::Microsoft.Graph.Beta.Models.Ent get { return BackingStore?.Get>("protectionUnits"); } set { BackingStore?.Set("protectionUnits", value); } } +#endif + /// The reports property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.BackupReport? Reports + { + get { return BackingStore?.Get("reports"); } + set { BackingStore?.Set("reports", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.BackupReport Reports + { + get { return BackingStore?.Get("reports"); } + set { BackingStore?.Set("reports", value); } + } #endif /// List of restore points in the tenant. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -478,6 +510,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "activityLogs", n => { ActivityLogs = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ActivityLogBase.CreateFromDiscriminatorValue)?.AsList(); } }, { "allDrivesBackup", n => { AllDrivesBackup = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AllDrivesBackup.CreateFromDiscriminatorValue); } }, { "allMailboxesBackup", n => { AllMailboxesBackup = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AllMailboxesBackup.CreateFromDiscriminatorValue); } }, { "allSitesBackup", n => { AllSitesBackup = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AllSitesBackup.CreateFromDiscriminatorValue); } }, @@ -496,6 +529,7 @@ public override IDictionary> GetFieldDeserializers() { "oneDriveForBusinessRestoreSessions", n => { OneDriveForBusinessRestoreSessions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.OneDriveForBusinessRestoreSession.CreateFromDiscriminatorValue)?.AsList(); } }, { "protectionPolicies", n => { ProtectionPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProtectionPolicyBase.CreateFromDiscriminatorValue)?.AsList(); } }, { "protectionUnits", n => { ProtectionUnits = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProtectionUnitBase.CreateFromDiscriminatorValue)?.AsList(); } }, + { "reports", n => { Reports = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.BackupReport.CreateFromDiscriminatorValue); } }, { "restorePoints", n => { RestorePoints = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.RestorePoint.CreateFromDiscriminatorValue)?.AsList(); } }, { "restoreSessions", n => { RestoreSessions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.RestoreSessionBase.CreateFromDiscriminatorValue)?.AsList(); } }, { "serviceApps", n => { ServiceApps = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ServiceApp.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -516,6 +550,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteCollectionOfObjectValues("activityLogs", ActivityLogs); writer.WriteObjectValue("allDrivesBackup", AllDrivesBackup); writer.WriteObjectValue("allMailboxesBackup", AllMailboxesBackup); writer.WriteObjectValue("allSitesBackup", AllSitesBackup); @@ -534,6 +569,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("oneDriveForBusinessRestoreSessions", OneDriveForBusinessRestoreSessions); writer.WriteCollectionOfObjectValues("protectionPolicies", ProtectionPolicies); writer.WriteCollectionOfObjectValues("protectionUnits", ProtectionUnits); + writer.WriteObjectValue("reports", Reports); writer.WriteCollectionOfObjectValues("restorePoints", RestorePoints); writer.WriteCollectionOfObjectValues("restoreSessions", RestoreSessions); writer.WriteCollectionOfObjectValues("serviceApps", ServiceApps); diff --git a/src/Microsoft.Graph/Generated/Models/BrowseSessionBase.cs b/src/Microsoft.Graph/Generated/Models/BrowseSessionBase.cs index af157aba4edb..d347bfcad0db 100644 --- a/src/Microsoft.Graph/Generated/Models/BrowseSessionBase.cs +++ b/src/Microsoft.Graph/Generated/Models/BrowseSessionBase.cs @@ -62,6 +62,22 @@ public DateTimeOffset? RestorePointDateTime get { return BackingStore?.Get("restorePointDateTime"); } set { BackingStore?.Set("restorePointDateTime", value); } } + /// The restorePointId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RestorePointId + { + get { return BackingStore?.Get("restorePointId"); } + set { BackingStore?.Set("restorePointId", value); } + } +#nullable restore +#else + public string RestorePointId + { + get { return BackingStore?.Get("restorePointId"); } + set { BackingStore?.Set("restorePointId", value); } + } +#endif /// The status property public global::Microsoft.Graph.Beta.Models.BrowseSessionStatus? Status { @@ -97,6 +113,7 @@ public override IDictionary> GetFieldDeserializers() { "error", n => { Error = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.PublicError.CreateFromDiscriminatorValue); } }, { "expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, { "restorePointDateTime", n => { RestorePointDateTime = n.GetDateTimeOffsetValue(); } }, + { "restorePointId", n => { RestorePointId = n.GetStringValue(); } }, { "status", n => { Status = n.GetEnumValue(); } }, }; } @@ -113,6 +130,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteObjectValue("error", Error); writer.WriteDateTimeOffsetValue("expirationDateTime", ExpirationDateTime); writer.WriteDateTimeOffsetValue("restorePointDateTime", RestorePointDateTime); + writer.WriteStringValue("restorePointId", RestorePointId); writer.WriteEnumValue("status", Status); } } diff --git a/src/Microsoft.Graph/Generated/Models/Chat.cs b/src/Microsoft.Graph/Generated/Models/Chat.cs index c3e9dd2d4d19..aec92d975511 100644 --- a/src/Microsoft.Graph/Generated/Models/Chat.cs +++ b/src/Microsoft.Graph/Generated/Models/Chat.cs @@ -207,6 +207,22 @@ public DateTimeOffset? OriginalCreatedDateTime get { return BackingStore?.Get>("tabs"); } set { BackingStore?.Set("tabs", value); } } +#endif + /// The targetedMessages property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? TargetedMessages + { + get { return BackingStore?.Get?>("targetedMessages"); } + set { BackingStore?.Set("targetedMessages", value); } + } +#nullable restore +#else + public List TargetedMessages + { + get { return BackingStore?.Get>("targetedMessages"); } + set { BackingStore?.Set("targetedMessages", value); } + } #endif /// The identifier of the tenant in which the chat was created. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -306,6 +322,7 @@ public override IDictionary> GetFieldDeserializers() { "permissionGrants", n => { PermissionGrants = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue)?.AsList(); } }, { "pinnedMessages", n => { PinnedMessages = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PinnedChatMessageInfo.CreateFromDiscriminatorValue)?.AsList(); } }, { "tabs", n => { Tabs = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.TeamsTab.CreateFromDiscriminatorValue)?.AsList(); } }, + { "targetedMessages", n => { TargetedMessages = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.TargetedChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, { "tenantId", n => { TenantId = n.GetStringValue(); } }, { "topic", n => { Topic = n.GetStringValue(); } }, { "viewpoint", n => { Viewpoint = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ChatViewpoint.CreateFromDiscriminatorValue); } }, @@ -336,6 +353,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("permissionGrants", PermissionGrants); writer.WriteCollectionOfObjectValues("pinnedMessages", PinnedMessages); writer.WriteCollectionOfObjectValues("tabs", Tabs); + writer.WriteCollectionOfObjectValues("targetedMessages", TargetedMessages); writer.WriteStringValue("tenantId", TenantId); writer.WriteStringValue("topic", Topic); writer.WriteObjectValue("viewpoint", Viewpoint); diff --git a/src/Microsoft.Graph/Generated/Models/ChatMessage.cs b/src/Microsoft.Graph/Generated/Models/ChatMessage.cs index 056d40bd2875..2f232502e7a1 100644 --- a/src/Microsoft.Graph/Generated/Models/ChatMessage.cs +++ b/src/Microsoft.Graph/Generated/Models/ChatMessage.cs @@ -360,7 +360,12 @@ public string WebUrl public static new global::Microsoft.Graph.Beta.Models.ChatMessage CreateFromDiscriminatorValue(IParseNode parseNode) { if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Beta.Models.ChatMessage(); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.targetedChatMessage" => new global::Microsoft.Graph.Beta.Models.TargetedChatMessage(), + _ => new global::Microsoft.Graph.Beta.Models.ChatMessage(), + }; } /// /// The deserialization information for the current model diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartner.cs b/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartner.cs index 30e1f4b5876c..890a3268cc63 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartner.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartner.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Beta.Models public partial class CloudPcExternalPartner : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { + /// The agent settings associated with the external partner. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CloudPcExternalPartnerAgentSetting? AgentSetting + { + get { return BackingStore?.Get("agentSetting"); } + set { BackingStore?.Set("agentSetting", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CloudPcExternalPartnerAgentSetting AgentSetting + { + get { return BackingStore?.Get("agentSetting"); } + set { BackingStore?.Set("agentSetting", value); } + } +#endif /// The connectionStatus property public global::Microsoft.Graph.Beta.Models.CloudPcExternalPartnerStatus? ConnectionStatus { @@ -80,6 +96,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "agentSetting", n => { AgentSetting = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CloudPcExternalPartnerAgentSetting.CreateFromDiscriminatorValue); } }, { "connectionStatus", n => { ConnectionStatus = n.GetEnumValue(); } }, { "enableConnection", n => { EnableConnection = n.GetBoolValue(); } }, { "lastSyncDateTime", n => { LastSyncDateTime = n.GetDateTimeOffsetValue(); } }, @@ -95,6 +112,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteObjectValue("agentSetting", AgentSetting); writer.WriteEnumValue("connectionStatus", ConnectionStatus); writer.WriteBoolValue("enableConnection", EnableConnection); writer.WriteDateTimeOffsetValue("lastSyncDateTime", LastSyncDateTime); diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartnerActionErrorCode.cs b/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartnerActionErrorCode.cs new file mode 100644 index 000000000000..3bb3753e5e00 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartnerActionErrorCode.cs @@ -0,0 +1,56 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum CloudPcExternalPartnerActionErrorCode + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "executeActionFailed")] + #pragma warning disable CS1591 + ExecuteActionFailed, + #pragma warning restore CS1591 + [EnumMember(Value = "executeActionTimeout")] + #pragma warning disable CS1591 + ExecuteActionTimeout, + #pragma warning restore CS1591 + [EnumMember(Value = "deviceNotFound")] + #pragma warning disable CS1591 + DeviceNotFound, + #pragma warning restore CS1591 + [EnumMember(Value = "deviceNotAvailable")] + #pragma warning disable CS1591 + DeviceNotAvailable, + #pragma warning restore CS1591 + [EnumMember(Value = "checkDiskSpaceFailed")] + #pragma warning disable CS1591 + CheckDiskSpaceFailed, + #pragma warning restore CS1591 + [EnumMember(Value = "checkNetworkConnectionFailed")] + #pragma warning disable CS1591 + CheckNetworkConnectionFailed, + #pragma warning restore CS1591 + [EnumMember(Value = "agentNotFound")] + #pragma warning disable CS1591 + AgentNotFound, + #pragma warning restore CS1591 + [EnumMember(Value = "invalidAgentFormat")] + #pragma warning disable CS1591 + InvalidAgentFormat, + #pragma warning restore CS1591 + [EnumMember(Value = "invalidAgentChecksum")] + #pragma warning disable CS1591 + InvalidAgentChecksum, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartnerActionReport.cs b/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartnerActionReport.cs new file mode 100644 index 000000000000..90996f62fda6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartnerActionReport.cs @@ -0,0 +1,267 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudPcExternalPartnerActionReport : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The actionType property + public global::Microsoft.Graph.Beta.Models.CloudPcExternalPartnerActionType? ActionType + { + get { return BackingStore?.Get("actionType"); } + set { BackingStore?.Set("actionType", value); } + } + /// The ID of external partner activity. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ActivityId + { + get { return BackingStore?.Get("activityId"); } + set { BackingStore?.Set("activityId", value); } + } +#nullable restore +#else + public string ActivityId + { + get { return BackingStore?.Get("activityId"); } + set { BackingStore?.Set("activityId", value); } + } +#endif + /// The message of external partner activity. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ActivityMessage + { + get { return BackingStore?.Get("activityMessage"); } + set { BackingStore?.Set("activityMessage", value); } + } +#nullable restore +#else + public string ActivityMessage + { + get { return BackingStore?.Get("activityMessage"); } + set { BackingStore?.Set("activityMessage", 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 agent name of the external partner. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AgentName + { + get { return BackingStore?.Get("agentName"); } + set { BackingStore?.Set("agentName", value); } + } +#nullable restore +#else + public string AgentName + { + get { return BackingStore?.Get("agentName"); } + set { BackingStore?.Set("agentName", value); } + } +#endif + /// The agent setting of the external partner. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CloudPcExternalPartnerAgentSetting? AgentSetting + { + get { return BackingStore?.Get("agentSetting"); } + set { BackingStore?.Set("agentSetting", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CloudPcExternalPartnerAgentSetting AgentSetting + { + get { return BackingStore?.Get("agentSetting"); } + set { BackingStore?.Set("agentSetting", value); } + } +#endif + /// Indicates the authenticated Microsoft Entra (Azure AD) app ID of the action request. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AuthenticatedAppId + { + get { return BackingStore?.Get("authenticatedAppId"); } + set { BackingStore?.Set("authenticatedAppId", value); } + } +#nullable restore +#else + public string AuthenticatedAppId + { + get { return BackingStore?.Get("authenticatedAppId"); } + set { BackingStore?.Set("authenticatedAppId", value); } + } +#endif + /// Indicates the authenticated Microsoft Entra (Azure AD) app name of the action request. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AuthenticatedAppName + { + get { return BackingStore?.Get("authenticatedAppName"); } + set { BackingStore?.Set("authenticatedAppName", value); } + } +#nullable restore +#else + public string AuthenticatedAppName + { + get { return BackingStore?.Get("authenticatedAppName"); } + set { BackingStore?.Set("authenticatedAppName", value); } + } +#endif + /// The authenticatedMethod property + public global::Microsoft.Graph.Beta.Models.CloudPcExternalPartnerAuthenticatedMethod? AuthenticatedMethod + { + get { return BackingStore?.Get("authenticatedMethod"); } + set { BackingStore?.Set("authenticatedMethod", value); } + } + /// Indicates the authenticated Microsoft Entra (Azure AD) user principal name of the action request. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AuthenticatedUserPrincipalName + { + get { return BackingStore?.Get("authenticatedUserPrincipalName"); } + set { BackingStore?.Set("authenticatedUserPrincipalName", value); } + } +#nullable restore +#else + public string AuthenticatedUserPrincipalName + { + get { return BackingStore?.Get("authenticatedUserPrincipalName"); } + set { BackingStore?.Set("authenticatedUserPrincipalName", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The Cloud PC's ID of the partner agent is deployed. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CloudPcId + { + get { return BackingStore?.Get("cloudPcId"); } + set { BackingStore?.Set("cloudPcId", value); } + } +#nullable restore +#else + public string CloudPcId + { + get { return BackingStore?.Get("cloudPcId"); } + set { BackingStore?.Set("cloudPcId", value); } + } +#endif + /// The Cloud PC's Name of the partner agent is deployed. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CloudPcName + { + get { return BackingStore?.Get("cloudPcName"); } + set { BackingStore?.Set("cloudPcName", value); } + } +#nullable restore +#else + public string CloudPcName + { + get { return BackingStore?.Get("cloudPcName"); } + set { BackingStore?.Set("cloudPcName", value); } + } +#endif + /// The create time of the action. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CloudPcExternalPartnerActionReport() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.CloudPcExternalPartnerActionReport CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudPcExternalPartnerActionReport(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "actionType", n => { ActionType = n.GetEnumValue(); } }, + { "activityId", n => { ActivityId = n.GetStringValue(); } }, + { "activityMessage", n => { ActivityMessage = n.GetStringValue(); } }, + { "agentName", n => { AgentName = n.GetStringValue(); } }, + { "agentSetting", n => { AgentSetting = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CloudPcExternalPartnerAgentSetting.CreateFromDiscriminatorValue); } }, + { "authenticatedAppId", n => { AuthenticatedAppId = n.GetStringValue(); } }, + { "authenticatedAppName", n => { AuthenticatedAppName = n.GetStringValue(); } }, + { "authenticatedMethod", n => { AuthenticatedMethod = n.GetEnumValue(); } }, + { "authenticatedUserPrincipalName", n => { AuthenticatedUserPrincipalName = n.GetStringValue(); } }, + { "cloudPcId", n => { CloudPcId = n.GetStringValue(); } }, + { "cloudPcName", n => { CloudPcName = n.GetStringValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("actionType", ActionType); + writer.WriteStringValue("activityId", ActivityId); + writer.WriteStringValue("activityMessage", ActivityMessage); + writer.WriteStringValue("agentName", AgentName); + writer.WriteObjectValue("agentSetting", AgentSetting); + writer.WriteStringValue("authenticatedAppId", AuthenticatedAppId); + writer.WriteStringValue("authenticatedAppName", AuthenticatedAppName); + writer.WriteEnumValue("authenticatedMethod", AuthenticatedMethod); + writer.WriteStringValue("authenticatedUserPrincipalName", AuthenticatedUserPrincipalName); + writer.WriteStringValue("cloudPcId", CloudPcId); + writer.WriteStringValue("cloudPcName", CloudPcName); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartnerActionResult.cs b/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartnerActionResult.cs new file mode 100644 index 000000000000..73ca4c85f9d3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartnerActionResult.cs @@ -0,0 +1,167 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudPcExternalPartnerActionResult : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The activity ID associated with the external partner action. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ActivityId + { + get { return BackingStore?.Get("activityId"); } + set { BackingStore?.Set("activityId", value); } + } +#nullable restore +#else + public string ActivityId + { + get { return BackingStore?.Get("activityId"); } + set { BackingStore?.Set("activityId", 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 Cloud PC ID associated with the external partner action. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CloudPcId + { + get { return BackingStore?.Get("cloudPcId"); } + set { BackingStore?.Set("cloudPcId", value); } + } +#nullable restore +#else + public string CloudPcId + { + get { return BackingStore?.Get("cloudPcId"); } + set { BackingStore?.Set("cloudPcId", value); } + } +#endif + /// The errorCode property + public global::Microsoft.Graph.Beta.Models.CloudPcExternalPartnerActionErrorCode? ErrorCode + { + get { return BackingStore?.Get("errorCode"); } + set { BackingStore?.Set("errorCode", value); } + } + /// The error message of the action. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ErrorMessage + { + get { return BackingStore?.Get("errorMessage"); } + set { BackingStore?.Set("errorMessage", value); } + } +#nullable restore +#else + public string ErrorMessage + { + get { return BackingStore?.Get("errorMessage"); } + set { BackingStore?.Set("errorMessage", value); } + } +#endif + /// The last update time of the action. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The start time of the action. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. + public DateTimeOffset? StartDateTime + { + get { return BackingStore?.Get("startDateTime"); } + set { BackingStore?.Set("startDateTime", value); } + } + /// The state property + public global::Microsoft.Graph.Beta.Models.CloudPcExternalPartnerActionStatus? State + { + get { return BackingStore?.Get("state"); } + set { BackingStore?.Set("state", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public CloudPcExternalPartnerActionResult() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.CloudPcExternalPartnerActionResult CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudPcExternalPartnerActionResult(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "activityId", n => { ActivityId = n.GetStringValue(); } }, + { "cloudPcId", n => { CloudPcId = n.GetStringValue(); } }, + { "errorCode", n => { ErrorCode = n.GetEnumValue(); } }, + { "errorMessage", n => { ErrorMessage = n.GetStringValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, + { "state", n => { State = 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("activityId", ActivityId); + writer.WriteStringValue("cloudPcId", CloudPcId); + writer.WriteEnumValue("errorCode", ErrorCode); + writer.WriteStringValue("errorMessage", ErrorMessage); + writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteDateTimeOffsetValue("startDateTime", StartDateTime); + writer.WriteEnumValue("state", State); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartnerActionStatus.cs b/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartnerActionStatus.cs new file mode 100644 index 000000000000..47097f0b2681 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartnerActionStatus.cs @@ -0,0 +1,40 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum CloudPcExternalPartnerActionStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "created")] + #pragma warning disable CS1591 + Created, + #pragma warning restore CS1591 + [EnumMember(Value = "pending")] + #pragma warning disable CS1591 + Pending, + #pragma warning restore CS1591 + [EnumMember(Value = "canceled")] + #pragma warning disable CS1591 + Canceled, + #pragma warning restore CS1591 + [EnumMember(Value = "running")] + #pragma warning disable CS1591 + Running, + #pragma warning restore CS1591 + [EnumMember(Value = "succeeded")] + #pragma warning disable CS1591 + Succeeded, + #pragma warning restore CS1591 + [EnumMember(Value = "failed")] + #pragma warning disable CS1591 + Failed, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartnerActionType.cs b/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartnerActionType.cs new file mode 100644 index 000000000000..e40ddcc72b20 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartnerActionType.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum CloudPcExternalPartnerActionType + #pragma warning restore CS1591 + { + [EnumMember(Value = "configureAgent")] + #pragma warning disable CS1591 + ConfigureAgent, + #pragma warning restore CS1591 + [EnumMember(Value = "deployAgent")] + #pragma warning disable CS1591 + DeployAgent, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartnerAgentSetting.cs b/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartnerAgentSetting.cs new file mode 100644 index 000000000000..fd70a3029854 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartnerAgentSetting.cs @@ -0,0 +1,143 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudPcExternalPartnerAgentSetting : 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 hash value of agent file by sha256 algorithm. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AgentSha256 + { + get { return BackingStore?.Get("agentSha256"); } + set { BackingStore?.Set("agentSha256", value); } + } +#nullable restore +#else + public string AgentSha256 + { + get { return BackingStore?.Get("agentSha256"); } + set { BackingStore?.Set("agentSha256", value); } + } +#endif + /// The download link url of the agent, when admin sets this url, then partner can call deploy agent API to deploy this agent to targeted Cloud PCs. The format is like this: https://www.external-partner.com/resources/agents/exampleAgentFile.exe +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AgentUrl + { + get { return BackingStore?.Get("agentUrl"); } + set { BackingStore?.Set("agentUrl", value); } + } +#nullable restore +#else + public string AgentUrl + { + get { return BackingStore?.Get("agentUrl"); } + set { BackingStore?.Set("agentUrl", value); } + } +#endif + /// Indicates whether partner agent auto deployment is enabled. When true, then the partner agent will be deployed after the Cloud PC is provisioned. When false, auto deployment isn't performed. Default value is false + public bool? AutoDeploymentEnabled + { + get { return BackingStore?.Get("autoDeploymentEnabled"); } + set { BackingStore?.Set("autoDeploymentEnabled", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The install command parameters to run the agent install command. The format is like this: ['/p paramValue', '/quiet'] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? InstallParameters + { + get { return BackingStore?.Get?>("installParameters"); } + set { BackingStore?.Set("installParameters", value); } + } +#nullable restore +#else + public List InstallParameters + { + get { return BackingStore?.Get>("installParameters"); } + set { BackingStore?.Set("installParameters", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CloudPcExternalPartnerAgentSetting() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.CloudPcExternalPartnerAgentSetting CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudPcExternalPartnerAgentSetting(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "agentSha256", n => { AgentSha256 = n.GetStringValue(); } }, + { "agentUrl", n => { AgentUrl = n.GetStringValue(); } }, + { "autoDeploymentEnabled", n => { AutoDeploymentEnabled = n.GetBoolValue(); } }, + { "installParameters", n => { InstallParameters = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("agentSha256", AgentSha256); + writer.WriteStringValue("agentUrl", AgentUrl); + writer.WriteBoolValue("autoDeploymentEnabled", AutoDeploymentEnabled); + writer.WriteCollectionOfPrimitiveValues("installParameters", InstallParameters); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartnerAuthenticatedMethod.cs b/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartnerAuthenticatedMethod.cs new file mode 100644 index 000000000000..43e5a20289bc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartnerAuthenticatedMethod.cs @@ -0,0 +1,36 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum CloudPcExternalPartnerAuthenticatedMethod + #pragma warning restore CS1591 + { + [EnumMember(Value = "gDAP")] + #pragma warning disable CS1591 + GDAP, + #pragma warning restore CS1591 + [EnumMember(Value = "dAP")] + #pragma warning disable CS1591 + DAP, + #pragma warning restore CS1591 + [EnumMember(Value = "appOnly")] + #pragma warning disable CS1591 + AppOnly, + #pragma warning restore CS1591 + [EnumMember(Value = "normalUser")] + #pragma warning disable CS1591 + NormalUser, + #pragma warning restore CS1591 + [EnumMember(Value = "guestUser")] + #pragma warning disable CS1591 + GuestUser, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ContentCategory.cs b/src/Microsoft.Graph/Generated/Models/ContentCategory.cs new file mode 100644 index 000000000000..b03805df7646 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ContentCategory.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ContentCategory + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "ai")] + #pragma warning disable CS1591 + Ai, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CopilotPackage.cs b/src/Microsoft.Graph/Generated/Models/CopilotPackage.cs index dcffc3ada5bd..b085780f4aac 100644 --- a/src/Microsoft.Graph/Generated/Models/CopilotPackage.cs +++ b/src/Microsoft.Graph/Generated/Models/CopilotPackage.cs @@ -12,6 +12,38 @@ namespace Microsoft.Graph.Beta.Models public partial class CopilotPackage : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { + /// The appId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AppId + { + get { return BackingStore?.Get("appId"); } + set { BackingStore?.Set("appId", value); } + } +#nullable restore +#else + public string AppId + { + get { return BackingStore?.Get("appId"); } + set { BackingStore?.Set("appId", value); } + } +#endif + /// The assetId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AssetId + { + get { return BackingStore?.Get("assetId"); } + set { BackingStore?.Set("assetId", value); } + } +#nullable restore +#else + public string AssetId + { + get { return BackingStore?.Get("assetId"); } + set { BackingStore?.Set("assetId", value); } + } +#endif /// The availableTo property public global::Microsoft.Graph.Beta.Models.PackageStatus? AvailableTo { @@ -68,6 +100,54 @@ public DateTimeOffset? LastModifiedDateTime get { return BackingStore?.Get("lastModifiedDateTime"); } set { BackingStore?.Set("lastModifiedDateTime", value); } } + /// The manifestId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ManifestId + { + get { return BackingStore?.Get("manifestId"); } + set { BackingStore?.Set("manifestId", value); } + } +#nullable restore +#else + public string ManifestId + { + get { return BackingStore?.Get("manifestId"); } + set { BackingStore?.Set("manifestId", value); } + } +#endif + /// The manifestVersion property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ManifestVersion + { + get { return BackingStore?.Get("manifestVersion"); } + set { BackingStore?.Set("manifestVersion", value); } + } +#nullable restore +#else + public string ManifestVersion + { + get { return BackingStore?.Get("manifestVersion"); } + set { BackingStore?.Set("manifestVersion", value); } + } +#endif + /// The platform property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Platform + { + get { return BackingStore?.Get("platform"); } + set { BackingStore?.Set("platform", value); } + } +#nullable restore +#else + public string Platform + { + get { return BackingStore?.Get("platform"); } + set { BackingStore?.Set("platform", value); } + } +#endif /// The publisher property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -122,6 +202,22 @@ public List SupportedHosts get { return BackingStore?.Get("type"); } set { BackingStore?.Set("type", value); } } + /// The version property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Version + { + get { return BackingStore?.Get("version"); } + set { BackingStore?.Set("version", value); } + } +#nullable restore +#else + public string Version + { + get { return BackingStore?.Get("version"); } + set { BackingStore?.Set("version", value); } + } +#endif /// The zipFile property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -161,16 +257,22 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "appId", n => { AppId = n.GetStringValue(); } }, + { "assetId", n => { AssetId = n.GetStringValue(); } }, { "availableTo", n => { AvailableTo = n.GetEnumValue(); } }, { "deployedTo", n => { DeployedTo = n.GetEnumValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "elementTypes", n => { ElementTypes = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "isBlocked", n => { IsBlocked = n.GetBoolValue(); } }, { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "manifestId", n => { ManifestId = n.GetStringValue(); } }, + { "manifestVersion", n => { ManifestVersion = n.GetStringValue(); } }, + { "platform", n => { Platform = n.GetStringValue(); } }, { "publisher", n => { Publisher = n.GetStringValue(); } }, { "shortDescription", n => { ShortDescription = n.GetStringValue(); } }, { "supportedHosts", n => { SupportedHosts = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "type", n => { Type = n.GetEnumValue(); } }, + { "version", n => { Version = n.GetStringValue(); } }, { "zipFile", n => { ZipFile = n.GetByteArrayValue(); } }, }; } @@ -182,16 +284,22 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteStringValue("appId", AppId); + writer.WriteStringValue("assetId", AssetId); writer.WriteEnumValue("availableTo", AvailableTo); writer.WriteEnumValue("deployedTo", DeployedTo); writer.WriteStringValue("displayName", DisplayName); writer.WriteCollectionOfPrimitiveValues("elementTypes", ElementTypes); writer.WriteBoolValue("isBlocked", IsBlocked); writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + writer.WriteStringValue("manifestId", ManifestId); + writer.WriteStringValue("manifestVersion", ManifestVersion); + writer.WriteStringValue("platform", Platform); writer.WriteStringValue("publisher", Publisher); writer.WriteStringValue("shortDescription", ShortDescription); writer.WriteCollectionOfPrimitiveValues("supportedHosts", SupportedHosts); writer.WriteEnumValue("type", Type); + writer.WriteStringValue("version", Version); writer.WriteByteArrayValue("zipFile", ZipFile); } } diff --git a/src/Microsoft.Graph/Generated/Models/CopilotPackageDetail.cs b/src/Microsoft.Graph/Generated/Models/CopilotPackageDetail.cs index 68765e16c67a..3ff90cc61496 100644 --- a/src/Microsoft.Graph/Generated/Models/CopilotPackageDetail.cs +++ b/src/Microsoft.Graph/Generated/Models/CopilotPackageDetail.cs @@ -91,22 +91,6 @@ public string LongDescription get { return BackingStore?.Get("longDescription"); } set { BackingStore?.Set("longDescription", value); } } -#endif - /// The manifestVersion property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ManifestVersion - { - get { return BackingStore?.Get("manifestVersion"); } - set { BackingStore?.Set("manifestVersion", value); } - } -#nullable restore -#else - public string ManifestVersion - { - get { return BackingStore?.Get("manifestVersion"); } - set { BackingStore?.Set("manifestVersion", value); } - } #endif /// The sensitivity property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -123,22 +107,6 @@ public string Sensitivity get { return BackingStore?.Get("sensitivity"); } set { BackingStore?.Set("sensitivity", value); } } -#endif - /// The version property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Version - { - get { return BackingStore?.Get("version"); } - set { BackingStore?.Set("version", value); } - } -#nullable restore -#else - public string Version - { - get { return BackingStore?.Get("version"); } - set { BackingStore?.Set("version", value); } - } #endif /// /// Instantiates a new and sets the default values. @@ -170,9 +138,7 @@ public override IDictionary> GetFieldDeserializers() { "categories", n => { Categories = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "elementDetails", n => { ElementDetails = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PackageElementDetail.CreateFromDiscriminatorValue)?.AsList(); } }, { "longDescription", n => { LongDescription = n.GetStringValue(); } }, - { "manifestVersion", n => { ManifestVersion = n.GetStringValue(); } }, { "sensitivity", n => { Sensitivity = n.GetStringValue(); } }, - { "version", n => { Version = n.GetStringValue(); } }, }; } /// @@ -188,9 +154,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfPrimitiveValues("categories", Categories); writer.WriteCollectionOfObjectValues("elementDetails", ElementDetails); writer.WriteStringValue("longDescription", LongDescription); - writer.WriteStringValue("manifestVersion", ManifestVersion); writer.WriteStringValue("sensitivity", Sensitivity); - writer.WriteStringValue("version", Version); } } } diff --git a/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyConfigurationDefault.cs b/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyConfigurationDefault.cs index c9185fd30dd2..6bca9133f754 100644 --- a/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyConfigurationDefault.cs +++ b/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyConfigurationDefault.cs @@ -92,6 +92,12 @@ public partial class CrossTenantAccessPolicyConfigurationDefault : global::Micro set { BackingStore?.Set("b2bDirectConnectOutbound", value); } } #endif + /// The blockServiceProviderOutboundAccess property + public bool? BlockServiceProviderOutboundAccess + { + get { return BackingStore?.Get("blockServiceProviderOutboundAccess"); } + set { BackingStore?.Set("blockServiceProviderOutboundAccess", value); } + } /// Determines the default configuration for trusting other Conditional Access claims from external Microsoft Entra organizations. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -169,6 +175,7 @@ public override IDictionary> GetFieldDeserializers() { "b2bCollaborationOutbound", n => { B2bCollaborationOutbound = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, { "b2bDirectConnectInbound", n => { B2bDirectConnectInbound = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, { "b2bDirectConnectOutbound", n => { B2bDirectConnectOutbound = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, + { "blockServiceProviderOutboundAccess", n => { BlockServiceProviderOutboundAccess = n.GetBoolValue(); } }, { "inboundTrust", n => { InboundTrust = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyInboundTrust.CreateFromDiscriminatorValue); } }, { "invitationRedemptionIdentityProviderConfiguration", n => { InvitationRedemptionIdentityProviderConfiguration = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DefaultInvitationRedemptionIdentityProviderConfiguration.CreateFromDiscriminatorValue); } }, { "isServiceDefault", n => { IsServiceDefault = n.GetBoolValue(); } }, @@ -188,6 +195,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteObjectValue("b2bCollaborationOutbound", B2bCollaborationOutbound); writer.WriteObjectValue("b2bDirectConnectInbound", B2bDirectConnectInbound); writer.WriteObjectValue("b2bDirectConnectOutbound", B2bDirectConnectOutbound); + writer.WriteBoolValue("blockServiceProviderOutboundAccess", BlockServiceProviderOutboundAccess); writer.WriteObjectValue("inboundTrust", InboundTrust); writer.WriteObjectValue("invitationRedemptionIdentityProviderConfiguration", InvitationRedemptionIdentityProviderConfiguration); writer.WriteBoolValue("isServiceDefault", IsServiceDefault); diff --git a/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyConfigurationPartner.cs b/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyConfigurationPartner.cs index efec94a2fd0d..d91f685293e3 100644 --- a/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyConfigurationPartner.cs +++ b/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyConfigurationPartner.cs @@ -92,6 +92,12 @@ public partial class CrossTenantAccessPolicyConfigurationPartner : global::Micro set { BackingStore?.Set("b2bDirectConnectOutbound", value); } } #endif + /// The blockServiceProviderOutboundAccess property + public bool? BlockServiceProviderOutboundAccess + { + get { return BackingStore?.Get("blockServiceProviderOutboundAccess"); } + set { BackingStore?.Set("blockServiceProviderOutboundAccess", value); } + } /// Defines the cross-tenant policy for the synchronization of users from a partner tenant. Use this user synchronization policy to streamline collaboration between users in a multitenant organization by automating the creation, update, and deletion of users from one tenant to another. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -198,6 +204,7 @@ public override IDictionary> GetFieldDeserializers() { "b2bCollaborationOutbound", n => { B2bCollaborationOutbound = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, { "b2bDirectConnectInbound", n => { B2bDirectConnectInbound = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, { "b2bDirectConnectOutbound", n => { B2bDirectConnectOutbound = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, + { "blockServiceProviderOutboundAccess", n => { BlockServiceProviderOutboundAccess = n.GetBoolValue(); } }, { "identitySynchronization", n => { IdentitySynchronization = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner.CreateFromDiscriminatorValue); } }, { "inboundTrust", n => { InboundTrust = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyInboundTrust.CreateFromDiscriminatorValue); } }, { "isInMultiTenantOrganization", n => { IsInMultiTenantOrganization = n.GetBoolValue(); } }, @@ -219,6 +226,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteObjectValue("b2bCollaborationOutbound", B2bCollaborationOutbound); writer.WriteObjectValue("b2bDirectConnectInbound", B2bDirectConnectInbound); writer.WriteObjectValue("b2bDirectConnectOutbound", B2bDirectConnectOutbound); + writer.WriteBoolValue("blockServiceProviderOutboundAccess", BlockServiceProviderOutboundAccess); writer.WriteObjectValue("identitySynchronization", IdentitySynchronization); writer.WriteObjectValue("inboundTrust", InboundTrust); writer.WriteBoolValue("isInMultiTenantOrganization", IsInMultiTenantOrganization); diff --git a/src/Microsoft.Graph/Generated/Models/CustomDataProvidedResourceFile.cs b/src/Microsoft.Graph/Generated/Models/CustomDataProvidedResourceFile.cs new file mode 100644 index 000000000000..cbd9ee6c0310 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CustomDataProvidedResourceFile.cs @@ -0,0 +1,80 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CustomDataProvidedResourceFile : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// Name of the file that was uploaded. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#nullable restore +#else + public string Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#endif + /// Size of the uploaded file in bytes. + public long? Size + { + get { return BackingStore?.Get("size"); } + set { BackingStore?.Set("size", value); } + } + /// Time at which the file was uploaded. + public DateTimeOffset? UploadedDateTime + { + get { return BackingStore?.Get("uploadedDateTime"); } + set { BackingStore?.Set("uploadedDateTime", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CustomDataProvidedResourceFile CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CustomDataProvidedResourceFile(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "name", n => { Name = n.GetStringValue(); } }, + { "size", n => { Size = n.GetLongValue(); } }, + { "uploadedDateTime", n => { UploadedDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("name", Name); + writer.WriteLongValue("size", Size); + writer.WriteDateTimeOffsetValue("uploadedDateTime", UploadedDateTime); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/DepMacOSEnrollmentProfile.cs b/src/Microsoft.Graph/Generated/Models/DepMacOSEnrollmentProfile.cs index 2eb1926c6823..bcfffe6ade82 100644 --- a/src/Microsoft.Graph/Generated/Models/DepMacOSEnrollmentProfile.cs +++ b/src/Microsoft.Graph/Generated/Models/DepMacOSEnrollmentProfile.cs @@ -199,6 +199,12 @@ public bool? SkipPrimarySetupAccountCreation get { return BackingStore?.Get("skipPrimarySetupAccountCreation"); } set { BackingStore?.Set("skipPrimarySetupAccountCreation", value); } } + /// Indicates whether Platform SSO is used as part of device enrollment during Setup Assistant. When TRUE, Platform SSO is used in device enrollment during Setup Assistant. When FALSE Platform SSO is not used in enrollment during Setup Assistant. Note: This value cannot be TRUE when configurationWebUrl is TRUE. + public bool? UsePlatformSSODuringSetupAssistant + { + get { return BackingStore?.Get("usePlatformSSODuringSetupAssistant"); } + set { BackingStore?.Set("usePlatformSSODuringSetupAssistant", value); } + } /// Indicates if zoom setup pane is disabled public bool? ZoomDisabled { @@ -251,6 +257,7 @@ public override IDictionary> GetFieldDeserializers() { "requestRequiresNetworkTether", n => { RequestRequiresNetworkTether = n.GetBoolValue(); } }, { "setPrimarySetupAccountAsRegularUser", n => { SetPrimarySetupAccountAsRegularUser = n.GetBoolValue(); } }, { "skipPrimarySetupAccountCreation", n => { SkipPrimarySetupAccountCreation = n.GetBoolValue(); } }, + { "usePlatformSSODuringSetupAssistant", n => { UsePlatformSSODuringSetupAssistant = n.GetBoolValue(); } }, { "zoomDisabled", n => { ZoomDisabled = n.GetBoolValue(); } }, }; } @@ -283,6 +290,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteBoolValue("requestRequiresNetworkTether", RequestRequiresNetworkTether); writer.WriteBoolValue("setPrimarySetupAccountAsRegularUser", SetPrimarySetupAccountAsRegularUser); writer.WriteBoolValue("skipPrimarySetupAccountCreation", SkipPrimarySetupAccountCreation); + writer.WriteBoolValue("usePlatformSSODuringSetupAssistant", UsePlatformSSODuringSetupAssistant); writer.WriteBoolValue("zoomDisabled", ZoomDisabled); } } diff --git a/src/Microsoft.Graph/Generated/Models/DeviceAndAppManagementAssignmentTarget.cs b/src/Microsoft.Graph/Generated/Models/DeviceAndAppManagementAssignmentTarget.cs index 487ad29105fa..311f4640db85 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceAndAppManagementAssignmentTarget.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceAndAppManagementAssignmentTarget.cs @@ -81,7 +81,6 @@ public DeviceAndAppManagementAssignmentTarget() { "#microsoft.graph.allDevicesAssignmentTarget" => new global::Microsoft.Graph.Beta.Models.AllDevicesAssignmentTarget(), "#microsoft.graph.allLicensedUsersAssignmentTarget" => new global::Microsoft.Graph.Beta.Models.AllLicensedUsersAssignmentTarget(), - "#microsoft.graph.androidFotaDeploymentAssignmentTarget" => new global::Microsoft.Graph.Beta.Models.AndroidFotaDeploymentAssignmentTarget(), "#microsoft.graph.configurationManagerCollectionAssignmentTarget" => new global::Microsoft.Graph.Beta.Models.ConfigurationManagerCollectionAssignmentTarget(), "#microsoft.graph.exclusionGroupAssignmentTarget" => new global::Microsoft.Graph.Beta.Models.ExclusionGroupAssignmentTarget(), "#microsoft.graph.groupAssignmentTarget" => new global::Microsoft.Graph.Beta.Models.GroupAssignmentTarget(), diff --git a/src/Microsoft.Graph/Generated/Models/DeviceLocalAdminAccountDetail.cs b/src/Microsoft.Graph/Generated/Models/DeviceLocalAdminAccountDetail.cs new file mode 100644 index 000000000000..f265ac597703 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DeviceLocalAdminAccountDetail.cs @@ -0,0 +1,95 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// Base class for properties related to configured and Intune-managed local administrator account + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceLocalAdminAccountDetail : IAdditionalDataHolder, IBackedModel, IParsable + { + /// 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 OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The last rotation date and time of the local admin account password. Read-only. + public DateTimeOffset? PasswordLastRotationDateTime + { + get { return BackingStore?.Get("passwordLastRotationDateTime"); } + set { BackingStore?.Set("passwordLastRotationDateTime", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public DeviceLocalAdminAccountDetail() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.DeviceLocalAdminAccountDetail CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.macOSDeviceLocalAdminAccountDetail" => new global::Microsoft.Graph.Beta.Models.MacOSDeviceLocalAdminAccountDetail(), + _ => new global::Microsoft.Graph.Beta.Models.DeviceLocalAdminAccountDetail(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "passwordLastRotationDateTime", n => { PasswordLastRotationDateTime = 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.WriteStringValue("@odata.type", OdataType); + writer.WriteDateTimeOffsetValue("passwordLastRotationDateTime", PasswordLastRotationDateTime); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagement/DeviceManagement.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagement/DeviceManagement.cs index 22d6e18020b9..002032eb4f93 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagement/DeviceManagement.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagement/DeviceManagement.cs @@ -1791,6 +1791,22 @@ public int? MaximumDepTokens get { return BackingStore?.Get>("roleScopeTags"); } set { BackingStore?.Set("roleScopeTags", value); } } +#endif + /// The collection of Samsung EFOTA firmware versions. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SamsungEFotaFirmwareVersions + { + get { return BackingStore?.Get?>("samsungEFotaFirmwareVersions"); } + set { BackingStore?.Set("samsungEFotaFirmwareVersions", value); } + } +#nullable restore +#else + public List SamsungEFotaFirmwareVersions + { + get { return BackingStore?.Get>("samsungEFotaFirmwareVersions"); } + set { BackingStore?.Set("samsungEFotaFirmwareVersions", value); } + } #endif /// A list of ServiceNowConnections #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -3111,6 +3127,7 @@ public override IDictionary> GetFieldDeserializers() { "roleAssignments", n => { RoleAssignments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DeviceAndAppManagementRoleAssignment.CreateFromDiscriminatorValue)?.AsList(); } }, { "roleDefinitions", n => { RoleDefinitions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.RoleDefinition.CreateFromDiscriminatorValue)?.AsList(); } }, { "roleScopeTags", n => { RoleScopeTags = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.RoleScopeTag.CreateFromDiscriminatorValue)?.AsList(); } }, + { "samsungEFotaFirmwareVersions", n => { SamsungEFotaFirmwareVersions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.SamsungEFotaFirmwareVersion.CreateFromDiscriminatorValue)?.AsList(); } }, { "serviceNowConnections", n => { ServiceNowConnections = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ServiceNowConnection.CreateFromDiscriminatorValue)?.AsList(); } }, { "settingDefinitions", n => { SettingDefinitions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DeviceManagementSettingDefinition.CreateFromDiscriminatorValue)?.AsList(); } }, { "settings", n => { Settings = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DeviceManagementSettings.CreateFromDiscriminatorValue); } }, @@ -3309,6 +3326,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("roleAssignments", RoleAssignments); writer.WriteCollectionOfObjectValues("roleDefinitions", RoleDefinitions); writer.WriteCollectionOfObjectValues("roleScopeTags", RoleScopeTags); + writer.WriteCollectionOfObjectValues("samsungEFotaFirmwareVersions", SamsungEFotaFirmwareVersions); writer.WriteCollectionOfObjectValues("serviceNowConnections", ServiceNowConnections); writer.WriteCollectionOfObjectValues("settingDefinitions", SettingDefinitions); writer.WriteObjectValue("settings", Settings); diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationTemplateFamily.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationTemplateFamily.cs index b26a66e46faf..cb38f83cbdb9 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationTemplateFamily.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationTemplateFamily.cs @@ -58,5 +58,8 @@ public enum DeviceManagementConfigurationTemplateFamily /// Template Family for Company Portal settings [EnumMember(Value = "companyPortal")] CompanyPortal, + /// Windows Recovery and Remediation Configuration Policy + [EnumMember(Value = "windowsRecoveryAndRemediationConfiguration")] + WindowsRecoveryAndRemediationConfiguration, } } diff --git a/src/Microsoft.Graph/Generated/Models/DlpAction.cs b/src/Microsoft.Graph/Generated/Models/DlpAction.cs index 26df6abd8673..00802b7a5ced 100644 --- a/src/Microsoft.Graph/Generated/Models/DlpAction.cs +++ b/src/Microsoft.Graph/Generated/Models/DlpAction.cs @@ -56,5 +56,9 @@ public enum DlpAction #pragma warning disable CS1591 SPSharingGenerateIncidentReport, #pragma warning restore CS1591 + [EnumMember(Value = "restrictWebGrounding")] + #pragma warning disable CS1591 + RestrictWebGrounding, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/DynamicRuleActivityLog.cs b/src/Microsoft.Graph/Generated/Models/DynamicRuleActivityLog.cs new file mode 100644 index 000000000000..f48f81a43473 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DynamicRuleActivityLog.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DynamicRuleActivityLog : global::Microsoft.Graph.Beta.Models.ActivityLogBase, IParsable + #pragma warning restore CS1591 + { + /// The policyId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PolicyId + { + get { return BackingStore?.Get("policyId"); } + set { BackingStore?.Set("policyId", value); } + } +#nullable restore +#else + public string PolicyId + { + get { return BackingStore?.Get("policyId"); } + set { BackingStore?.Set("policyId", value); } + } +#endif + /// The policyName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PolicyName + { + get { return BackingStore?.Get("policyName"); } + set { BackingStore?.Set("policyName", value); } + } +#nullable restore +#else + public string PolicyName + { + get { return BackingStore?.Get("policyName"); } + set { BackingStore?.Set("policyName", value); } + } +#endif + /// The protectionUnitDetails property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ProtectionUnitDetails? ProtectionUnitDetails + { + get { return BackingStore?.Get("protectionUnitDetails"); } + set { BackingStore?.Set("protectionUnitDetails", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ProtectionUnitDetails ProtectionUnitDetails + { + get { return BackingStore?.Get("protectionUnitDetails"); } + set { BackingStore?.Set("protectionUnitDetails", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DynamicRuleActivityLog() : base() + { + OdataType = "#microsoft.graph.dynamicRuleActivityLog"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.DynamicRuleActivityLog CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.DynamicRuleActivityLog(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "policyId", n => { PolicyId = n.GetStringValue(); } }, + { "policyName", n => { PolicyName = n.GetStringValue(); } }, + { "protectionUnitDetails", n => { ProtectionUnitDetails = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ProtectionUnitDetails.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("policyId", PolicyId); + writer.WriteStringValue("policyName", PolicyName); + writer.WriteObjectValue("protectionUnitDetails", ProtectionUnitDetails); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/EmailDetails.cs b/src/Microsoft.Graph/Generated/Models/EmailDetails.cs new file mode 100644 index 000000000000..3a7295d5dd57 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/EmailDetails.cs @@ -0,0 +1,135 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EmailDetails : 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 body property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Body + { + get { return BackingStore?.Get("body"); } + set { BackingStore?.Set("body", value); } + } +#nullable restore +#else + public string Body + { + get { return BackingStore?.Get("body"); } + set { BackingStore?.Set("body", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The senderEmailAddress property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SenderEmailAddress + { + get { return BackingStore?.Get("senderEmailAddress"); } + set { BackingStore?.Set("senderEmailAddress", value); } + } +#nullable restore +#else + public string SenderEmailAddress + { + get { return BackingStore?.Get("senderEmailAddress"); } + set { BackingStore?.Set("senderEmailAddress", value); } + } +#endif + /// 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 EmailDetails() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.EmailDetails CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.EmailDetails(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "body", n => { Body = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "senderEmailAddress", n => { SenderEmailAddress = n.GetStringValue(); } }, + { "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.WriteStringValue("body", Body); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("senderEmailAddress", SenderEmailAddress); + writer.WriteStringValue("subject", Subject); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/EmployeeExperienceUser.cs b/src/Microsoft.Graph/Generated/Models/EmployeeExperienceUser.cs index 76c4a5c38ee8..e3f2ca4595f5 100644 --- a/src/Microsoft.Graph/Generated/Models/EmployeeExperienceUser.cs +++ b/src/Microsoft.Graph/Generated/Models/EmployeeExperienceUser.cs @@ -44,6 +44,22 @@ public partial class EmployeeExperienceUser : global::Microsoft.Graph.Beta.Model get { return BackingStore?.Get>("learningCourseActivities"); } set { BackingStore?.Set("learningCourseActivities", value); } } +#endif + /// The storyline property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Storyline? Storyline + { + get { return BackingStore?.Get("storyline"); } + set { BackingStore?.Set("storyline", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Storyline Storyline + { + get { return BackingStore?.Get("storyline"); } + set { BackingStore?.Set("storyline", value); } + } #endif /// /// Creates a new instance of the appropriate class based on discriminator value @@ -65,6 +81,7 @@ public override IDictionary> GetFieldDeserializers() { { "assignedRoles", n => { AssignedRoles = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.EngagementRole.CreateFromDiscriminatorValue)?.AsList(); } }, { "learningCourseActivities", n => { LearningCourseActivities = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.LearningCourseActivity.CreateFromDiscriminatorValue)?.AsList(); } }, + { "storyline", n => { Storyline = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Storyline.CreateFromDiscriminatorValue); } }, }; } /// @@ -77,6 +94,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteCollectionOfObjectValues("assignedRoles", AssignedRoles); writer.WriteCollectionOfObjectValues("learningCourseActivities", LearningCourseActivities); + writer.WriteObjectValue("storyline", Storyline); } } } diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index 33544716cbfd..78b169dc6c17 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -14,6 +14,7 @@ using Microsoft.Graph.Beta.Models.Partners.Billing; using Microsoft.Graph.Beta.Models.Partners; using Microsoft.Graph.Beta.Models.Search; +using Microsoft.Graph.Beta.Models.Security.Dlp; using Microsoft.Graph.Beta.Models.Security.SecurityCopilot; using Microsoft.Graph.Beta.Models.Security; using Microsoft.Graph.Beta.Models.TeamsAdministration; @@ -125,6 +126,7 @@ public Entity() "#microsoft.graph.activitiesContainer" => new global::Microsoft.Graph.Beta.Models.ActivitiesContainer(), "#microsoft.graph.activityBasedTimeoutPolicy" => new global::Microsoft.Graph.Beta.Models.ActivityBasedTimeoutPolicy(), "#microsoft.graph.activityHistoryItem" => new global::Microsoft.Graph.Beta.Models.ActivityHistoryItem(), + "#microsoft.graph.activityLogBase" => new global::Microsoft.Graph.Beta.Models.ActivityLogBase(), "#microsoft.graph.activityStatistics" => new global::Microsoft.Graph.Beta.Models.ActivityStatistics(), "#microsoft.graph.addLargeGalleryViewOperation" => new global::Microsoft.Graph.Beta.Models.AddLargeGalleryViewOperation(), "#microsoft.graph.adhocCall" => new global::Microsoft.Graph.Beta.Models.AdhocCall(), @@ -352,6 +354,8 @@ public Entity() "#microsoft.graph.b2cAuthenticationMethodsPolicy" => new global::Microsoft.Graph.Beta.Models.B2cAuthenticationMethodsPolicy(), "#microsoft.graph.b2cIdentityUserFlow" => new global::Microsoft.Graph.Beta.Models.B2cIdentityUserFlow(), "#microsoft.graph.b2xIdentityUserFlow" => new global::Microsoft.Graph.Beta.Models.B2xIdentityUserFlow(), + "#microsoft.graph.backupPolicyActivityLog" => new global::Microsoft.Graph.Beta.Models.BackupPolicyActivityLog(), + "#microsoft.graph.backupReport" => new global::Microsoft.Graph.Beta.Models.BackupReport(), "#microsoft.graph.backupRestoreRoot" => new global::Microsoft.Graph.Beta.Models.BackupRestoreRoot(), "#microsoft.graph.baseItem" => new global::Microsoft.Graph.Beta.Models.BaseItem(), "#microsoft.graph.baseItemVersion" => new global::Microsoft.Graph.Beta.Models.BaseItemVersion(), @@ -535,6 +539,7 @@ public Entity() "#microsoft.graph.customCalloutExtension" => new global::Microsoft.Graph.Beta.Models.CustomCalloutExtension(), "#microsoft.graph.customClaimsPolicy" => new global::Microsoft.Graph.Beta.Models.CustomClaimsPolicy(), "#microsoft.graph.customDataProvidedResource" => new global::Microsoft.Graph.Beta.Models.CustomDataProvidedResource(), + "#microsoft.graph.customDataProvidedResourceFile" => new global::Microsoft.Graph.Beta.Models.CustomDataProvidedResourceFile(), "#microsoft.graph.customDataProvidedResourceUploadSession" => new global::Microsoft.Graph.Beta.Models.CustomDataProvidedResourceUploadSession(), "#microsoft.graph.customExtensionHandler" => new global::Microsoft.Graph.Beta.Models.CustomExtensionHandler(), "#microsoft.graph.customExtensionStageSetting" => new global::Microsoft.Graph.Beta.Models.CustomExtensionStageSetting(), @@ -729,6 +734,7 @@ public Entity() "#microsoft.graph.driveProtectionUnitsBulkAdditionJob" => new global::Microsoft.Graph.Beta.Models.DriveProtectionUnitsBulkAdditionJob(), "#microsoft.graph.driveRestoreArtifact" => new global::Microsoft.Graph.Beta.Models.DriveRestoreArtifact(), "#microsoft.graph.driveRestoreArtifactsBulkAdditionRequest" => new global::Microsoft.Graph.Beta.Models.DriveRestoreArtifactsBulkAdditionRequest(), + "#microsoft.graph.dynamicRuleActivityLog" => new global::Microsoft.Graph.Beta.Models.DynamicRuleActivityLog(), "#microsoft.graph.easEmailProfileConfigurationBase" => new global::Microsoft.Graph.Beta.Models.EasEmailProfileConfigurationBase(), "#microsoft.graph.eBookInstallSummary" => new global::Microsoft.Graph.Beta.Models.EBookInstallSummary(), "#microsoft.graph.edge" => new global::Microsoft.Graph.Beta.Models.Edge(), @@ -1300,6 +1306,9 @@ public Entity() "#microsoft.graph.networkaccess.alert" => new global::Microsoft.Graph.Beta.Models.Networkaccess.Alert(), "#microsoft.graph.networkaccess.baseEntity" => new global::Microsoft.Graph.Beta.Models.Networkaccess.BaseEntity(), "#microsoft.graph.networkaccess.branchSite" => new global::Microsoft.Graph.Beta.Models.Networkaccess.BranchSite(), + "#microsoft.graph.networkaccess.cloudFirewallPolicy" => new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicy(), + "#microsoft.graph.networkaccess.cloudFirewallPolicyLink" => new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicyLink(), + "#microsoft.graph.networkaccess.cloudFirewallRule" => new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallRule(), "#microsoft.graph.networkaccess.conditionalAccessPolicy" => new global::Microsoft.Graph.Beta.Models.Networkaccess.ConditionalAccessPolicy(), "#microsoft.graph.networkaccess.conditionalAccessSettings" => new global::Microsoft.Graph.Beta.Models.Networkaccess.ConditionalAccessSettings(), "#microsoft.graph.networkaccess.connection" => new global::Microsoft.Graph.Beta.Models.Networkaccess.Connection(), @@ -1350,6 +1359,7 @@ public Entity() "#microsoft.graph.notification" => new global::Microsoft.Graph.Beta.Models.Notification(), "#microsoft.graph.notificationMessageTemplate" => new global::Microsoft.Graph.Beta.Models.NotificationMessageTemplate(), "#microsoft.graph.oAuth2PermissionGrant" => new global::Microsoft.Graph.Beta.Models.OAuth2PermissionGrant(), + "#microsoft.graph.offboardingActivityLog" => new global::Microsoft.Graph.Beta.Models.OffboardingActivityLog(), "#microsoft.graph.offerShiftRequest" => new global::Microsoft.Graph.Beta.Models.OfferShiftRequest(), "#microsoft.graph.office365ActiveUserCounts" => new global::Microsoft.Graph.Beta.Models.Office365ActiveUserCounts(), "#microsoft.graph.office365ActiveUserDetail" => new global::Microsoft.Graph.Beta.Models.Office365ActiveUserDetail(), @@ -1428,6 +1438,7 @@ public Entity() "#microsoft.graph.overprovisionedGcpServiceAccountFinding" => new global::Microsoft.Graph.Beta.Models.OverprovisionedGcpServiceAccountFinding(), "#microsoft.graph.overprovisionedServerlessFunctionFinding" => new global::Microsoft.Graph.Beta.Models.OverprovisionedServerlessFunctionFinding(), "#microsoft.graph.overprovisionedUserFinding" => new global::Microsoft.Graph.Beta.Models.OverprovisionedUserFinding(), + "#microsoft.graph.ownerlessGroupPolicy" => new global::Microsoft.Graph.Beta.Models.OwnerlessGroupPolicy(), "#microsoft.graph.pageTemplate" => new global::Microsoft.Graph.Beta.Models.PageTemplate(), "#microsoft.graph.participant" => new global::Microsoft.Graph.Beta.Models.Participant(), "#microsoft.graph.participantJoiningNotification" => new global::Microsoft.Graph.Beta.Models.ParticipantJoiningNotification(), @@ -1505,6 +1516,7 @@ public Entity() "#microsoft.graph.plannerRoster" => new global::Microsoft.Graph.Beta.Models.PlannerRoster(), "#microsoft.graph.plannerRosterMember" => new global::Microsoft.Graph.Beta.Models.PlannerRosterMember(), "#microsoft.graph.plannerTask" => new global::Microsoft.Graph.Beta.Models.PlannerTask(), + "#microsoft.graph.plannerTaskChatMessage" => new global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage(), "#microsoft.graph.plannerTaskConfiguration" => new global::Microsoft.Graph.Beta.Models.PlannerTaskConfiguration(), "#microsoft.graph.plannerTaskDetails" => new global::Microsoft.Graph.Beta.Models.PlannerTaskDetails(), "#microsoft.graph.plannerUser" => new global::Microsoft.Graph.Beta.Models.PlannerUser(), @@ -1622,6 +1634,7 @@ public Entity() "#microsoft.graph.restoreArtifactsBulkRequestBase" => new global::Microsoft.Graph.Beta.Models.RestoreArtifactsBulkRequestBase(), "#microsoft.graph.restorePoint" => new global::Microsoft.Graph.Beta.Models.RestorePoint(), "#microsoft.graph.restoreSessionBase" => new global::Microsoft.Graph.Beta.Models.RestoreSessionBase(), + "#microsoft.graph.restoreTaskActivityLog" => new global::Microsoft.Graph.Beta.Models.RestoreTaskActivityLog(), "#microsoft.graph.restrictedAppsViolation" => new global::Microsoft.Graph.Beta.Models.RestrictedAppsViolation(), "#microsoft.graph.richLongRunningOperation" => new global::Microsoft.Graph.Beta.Models.RichLongRunningOperation(), "#microsoft.graph.riskDetection" => new global::Microsoft.Graph.Beta.Models.RiskDetection(), @@ -1696,6 +1709,12 @@ public Entity() "#microsoft.graph.security.discoveredCloudAppDetail" => new global::Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppDetail(), "#microsoft.graph.security.discoveredCloudAppInfo" => new global::Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppInfo(), "#microsoft.graph.security.dispositionReviewStage" => new global::Microsoft.Graph.Beta.Models.Security.DispositionReviewStage(), + "#microsoft.graph.security.dlp.baseAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.Dlp.BaseAuditRecord(), + "#microsoft.graph.security.dlp.complianceBaseAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceBaseAuditRecord(), + "#microsoft.graph.security.dlp.complianceDLPBaseAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDLPBaseAuditRecord(), + "#microsoft.graph.security.dlp.complianceDlpEndpointAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDlpEndpointAuditRecord(), + "#microsoft.graph.security.dlp.complianceDlpExchangeAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDlpExchangeAuditRecord(), + "#microsoft.graph.security.dlp.complianceDlpSharePointAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDlpSharePointAuditRecord(), "#microsoft.graph.security.ediscoveryAddToReviewSetOperation" => new global::Microsoft.Graph.Beta.Models.Security.EdiscoveryAddToReviewSetOperation(), "#microsoft.graph.security.ediscoveryCase" => new global::Microsoft.Graph.Beta.Models.Security.EdiscoveryCase(), "#microsoft.graph.security.ediscoveryCaseMember" => new global::Microsoft.Graph.Beta.Models.Security.EdiscoveryCaseMember(), @@ -1895,6 +1914,9 @@ public Entity() "#microsoft.graph.stopTranscriptionOperation" => new global::Microsoft.Graph.Beta.Models.StopTranscriptionOperation(), "#microsoft.graph.storageQuotaBreakdown" => new global::Microsoft.Graph.Beta.Models.StorageQuotaBreakdown(), "#microsoft.graph.storageSettings" => new global::Microsoft.Graph.Beta.Models.StorageSettings(), + "#microsoft.graph.storyline" => new global::Microsoft.Graph.Beta.Models.Storyline(), + "#microsoft.graph.storylineFollower" => new global::Microsoft.Graph.Beta.Models.StorylineFollower(), + "#microsoft.graph.storylineFollowing" => new global::Microsoft.Graph.Beta.Models.StorylineFollowing(), "#microsoft.graph.strongAuthenticationDetail" => new global::Microsoft.Graph.Beta.Models.StrongAuthenticationDetail(), "#microsoft.graph.strongAuthenticationPhoneAppDetail" => new global::Microsoft.Graph.Beta.Models.StrongAuthenticationPhoneAppDetail(), "#microsoft.graph.stsPolicy" => new global::Microsoft.Graph.Beta.Models.StsPolicy(), @@ -1916,6 +1938,7 @@ public Entity() "#microsoft.graph.synchronizationSchema" => new global::Microsoft.Graph.Beta.Models.SynchronizationSchema(), "#microsoft.graph.synchronizationTemplate" => new global::Microsoft.Graph.Beta.Models.SynchronizationTemplate(), "#microsoft.graph.targetDeviceGroup" => new global::Microsoft.Graph.Beta.Models.TargetDeviceGroup(), + "#microsoft.graph.targetedChatMessage" => new global::Microsoft.Graph.Beta.Models.TargetedChatMessage(), "#microsoft.graph.targetedManagedAppConfiguration" => new global::Microsoft.Graph.Beta.Models.TargetedManagedAppConfiguration(), "#microsoft.graph.targetedManagedAppConfigurationPolicySetItem" => new global::Microsoft.Graph.Beta.Models.TargetedManagedAppConfigurationPolicySetItem(), "#microsoft.graph.targetedManagedAppPolicyAssignment" => new global::Microsoft.Graph.Beta.Models.TargetedManagedAppPolicyAssignment(), @@ -2192,6 +2215,7 @@ public Entity() "#microsoft.graph.windowsAutopilotDeploymentProfilePolicySetItem" => new global::Microsoft.Graph.Beta.Models.WindowsAutopilotDeploymentProfilePolicySetItem(), "#microsoft.graph.windowsAutopilotDeviceIdentity" => new global::Microsoft.Graph.Beta.Models.WindowsAutopilotDeviceIdentity(), "#microsoft.graph.windowsAutopilotSettings" => new global::Microsoft.Graph.Beta.Models.WindowsAutopilotSettings(), + "#microsoft.graph.windowsAutoUpdateCatalogApp" => new global::Microsoft.Graph.Beta.Models.WindowsAutoUpdateCatalogApp(), "#microsoft.graph.windowsCertificateProfileBase" => new global::Microsoft.Graph.Beta.Models.WindowsCertificateProfileBase(), "#microsoft.graph.windowsDefenderAdvancedThreatProtectionConfiguration" => new global::Microsoft.Graph.Beta.Models.WindowsDefenderAdvancedThreatProtectionConfiguration(), "#microsoft.graph.windowsDefenderApplicationControlSupplementalPolicy" => new global::Microsoft.Graph.Beta.Models.WindowsDefenderApplicationControlSupplementalPolicy(), diff --git a/src/Microsoft.Graph/Generated/Models/ExclusionGroupAssignmentTarget.cs b/src/Microsoft.Graph/Generated/Models/ExclusionGroupAssignmentTarget.cs index 2655dad89f53..d635338f62e0 100644 --- a/src/Microsoft.Graph/Generated/Models/ExclusionGroupAssignmentTarget.cs +++ b/src/Microsoft.Graph/Generated/Models/ExclusionGroupAssignmentTarget.cs @@ -8,7 +8,7 @@ namespace Microsoft.Graph.Beta.Models { /// - /// The AAD Group we are deploying firmware updates to + /// Represents a group that should be excluded from an assignment. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ExclusionGroupAssignmentTarget : global::Microsoft.Graph.Beta.Models.GroupAssignmentTarget, IParsable diff --git a/src/Microsoft.Graph/Generated/Models/ExternalAuthenticationMethod.cs b/src/Microsoft.Graph/Generated/Models/ExternalAuthenticationMethod.cs index a553084cde59..776f4b149105 100644 --- a/src/Microsoft.Graph/Generated/Models/ExternalAuthenticationMethod.cs +++ b/src/Microsoft.Graph/Generated/Models/ExternalAuthenticationMethod.cs @@ -28,7 +28,7 @@ public string ConfigurationId set { BackingStore?.Set("configurationId", value); } } #endif - /// Custom name given to the registered external authentication method. + /// Custom name given to the registered external MFA. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName diff --git a/src/Microsoft.Graph/Generated/Models/ExternalAuthenticationMethodConfiguration.cs b/src/Microsoft.Graph/Generated/Models/ExternalAuthenticationMethodConfiguration.cs index 1ed2ad40ecb2..0b9d7de02477 100644 --- a/src/Microsoft.Graph/Generated/Models/ExternalAuthenticationMethodConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/ExternalAuthenticationMethodConfiguration.cs @@ -28,7 +28,7 @@ public string AppId set { BackingStore?.Set("appId", value); } } #endif - /// Display name for the external authentication method. This name is shown to users during sign-in. + /// Display name for the external MFA. This name is shown to users during sign-in. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName diff --git a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Property.cs b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Property.cs index 3fee475aa073..9e15e3a3c39c 100644 --- a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Property.cs +++ b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Property.cs @@ -83,7 +83,7 @@ public bool? IsSearchable get { return BackingStore?.Get("isSearchable"); } set { BackingStore?.Set("isSearchable", value); } } - /// Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, containerName, containerUrl, iconUrl. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: containerName, containerUrl, iconUrl, personEmails, personAddresses, personAnniversaries, personName, personNote, personPhones, personCurrentPosition, personWebAccounts, personWebSite, personSkills, personProjects, personAccount, personAwards, personCertifications, personAssistants, personColleagues, personManager, personAlternateContacts, personEmergencyContacts. + /// Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.. The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, containerName, containerUrl, iconUrl, assignedTo, dueDate, closedDate, closedBy, reportedBy, sprintName, severity, state, priority, secondaryId, itemParentId, parentUrl, tags, itemType, itemPath, numReactions. Use the Prefer: include-unknown-enum-members request header to retrieve additional values defined in this evolvable enum.For people connectors you can include : personEmails, personAddresses, personAnniversaries, personName, personNote, personPhones, personCurrentPosition, personWebAccounts, personWebSite, personSkills, personProjects, personAccount, personAwards, personCertifications, personAssistants, personColleagues, personManager, personAlternateContacts, personEmergencyContacts. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Labels diff --git a/src/Microsoft.Graph/Generated/Models/ExternalTokenBasedSapIagConnectionInfo.cs b/src/Microsoft.Graph/Generated/Models/ExternalTokenBasedSapIagConnectionInfo.cs index fdedaeba73a6..03eac458cc83 100644 --- a/src/Microsoft.Graph/Generated/Models/ExternalTokenBasedSapIagConnectionInfo.cs +++ b/src/Microsoft.Graph/Generated/Models/ExternalTokenBasedSapIagConnectionInfo.cs @@ -43,22 +43,6 @@ public string ClientId get { return BackingStore?.Get("clientId"); } set { BackingStore?.Set("clientId", value); } } -#endif - /// The domain property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Domain - { - get { return BackingStore?.Get("domain"); } - set { BackingStore?.Set("domain", value); } - } -#nullable restore -#else - public string Domain - { - get { return BackingStore?.Get("domain"); } - set { BackingStore?.Set("domain", value); } - } #endif /// The keyVaultName property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -151,7 +135,6 @@ public override IDictionary> GetFieldDeserializers() { { "accessTokenUrl", n => { AccessTokenUrl = n.GetStringValue(); } }, { "clientId", n => { ClientId = n.GetStringValue(); } }, - { "domain", n => { Domain = n.GetStringValue(); } }, { "keyVaultName", n => { KeyVaultName = n.GetStringValue(); } }, { "resourceGroup", n => { ResourceGroup = n.GetStringValue(); } }, { "secretName", n => { SecretName = n.GetStringValue(); } }, @@ -168,7 +151,6 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteStringValue("accessTokenUrl", AccessTokenUrl); writer.WriteStringValue("clientId", ClientId); - writer.WriteStringValue("domain", Domain); writer.WriteStringValue("keyVaultName", KeyVaultName); writer.WriteStringValue("resourceGroup", ResourceGroup); writer.WriteStringValue("secretName", SecretName); diff --git a/src/Microsoft.Graph/Generated/Models/FileArchiveStatus.cs b/src/Microsoft.Graph/Generated/Models/FileArchiveStatus.cs new file mode 100644 index 000000000000..2240b7de2296 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/FileArchiveStatus.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum FileArchiveStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "notArchived")] + #pragma warning disable CS1591 + NotArchived, + #pragma warning restore CS1591 + [EnumMember(Value = "fullyArchived")] + #pragma warning disable CS1591 + FullyArchived, + #pragma warning restore CS1591 + [EnumMember(Value = "reactivating")] + #pragma warning disable CS1591 + Reactivating, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/FileObject.cs b/src/Microsoft.Graph/Generated/Models/FileObject.cs index e3a9e77f0cba..c5318ab9343d 100644 --- a/src/Microsoft.Graph/Generated/Models/FileObject.cs +++ b/src/Microsoft.Graph/Generated/Models/FileObject.cs @@ -19,6 +19,12 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } + /// The archiveStatus property + public global::Microsoft.Graph.Beta.Models.FileArchiveStatus? ArchiveStatus + { + get { return BackingStore?.Get("archiveStatus"); } + set { BackingStore?.Set("archiveStatus", value); } + } /// Stores model information. public IBackingStore BackingStore { get; private set; } /// Hashes of the file's binary content, if available. Read-only. @@ -101,6 +107,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "archiveStatus", n => { ArchiveStatus = n.GetEnumValue(); } }, { "hashes", n => { Hashes = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Hashes.CreateFromDiscriminatorValue); } }, { "mimeType", n => { MimeType = n.GetStringValue(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, @@ -114,6 +121,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("archiveStatus", ArchiveStatus); writer.WriteObjectValue("hashes", Hashes); writer.WriteStringValue("mimeType", MimeType); writer.WriteStringValue("@odata.type", OdataType); diff --git a/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs b/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs index 4b062039499c..58157be6066f 100644 --- a/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs +++ b/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class FileStorageContainer : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The archivalDetails property + /// Archival details of the fileStorageContainer. Read-write. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.SiteArchivalDetails? ArchivalDetails diff --git a/src/Microsoft.Graph/Generated/Models/FileStorageContainerType.cs b/src/Microsoft.Graph/Generated/Models/FileStorageContainerType.cs index cd939764e043..af410c38ce5b 100644 --- a/src/Microsoft.Graph/Generated/Models/FileStorageContainerType.cs +++ b/src/Microsoft.Graph/Generated/Models/FileStorageContainerType.cs @@ -74,6 +74,22 @@ public Guid? OwningAppId get { return BackingStore?.Get("owningAppId"); } set { BackingStore?.Set("owningAppId", value); } } + /// The permissions property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Permissions + { + get { return BackingStore?.Get?>("permissions"); } + set { BackingStore?.Set("permissions", value); } + } +#nullable restore +#else + public List Permissions + { + get { return BackingStore?.Get>("permissions"); } + set { BackingStore?.Set("permissions", value); } + } +#endif /// The settings property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -115,6 +131,7 @@ public override IDictionary> GetFieldDeserializers() { "expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, { "name", n => { Name = n.GetStringValue(); } }, { "owningAppId", n => { OwningAppId = n.GetGuidValue(); } }, + { "permissions", n => { Permissions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Permission.CreateFromDiscriminatorValue)?.AsList(); } }, { "settings", n => { Settings = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.FileStorageContainerTypeSettings.CreateFromDiscriminatorValue); } }, }; } @@ -133,6 +150,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteDateTimeOffsetValue("expirationDateTime", ExpirationDateTime); writer.WriteStringValue("name", Name); writer.WriteGuidValue("owningAppId", OwningAppId); + writer.WriteCollectionOfObjectValues("permissions", Permissions); writer.WriteObjectValue("settings", Settings); } } diff --git a/src/Microsoft.Graph/Generated/Models/GroupAssignmentTarget.cs b/src/Microsoft.Graph/Generated/Models/GroupAssignmentTarget.cs index 34bcf574d6d8..4607b6d964aa 100644 --- a/src/Microsoft.Graph/Generated/Models/GroupAssignmentTarget.cs +++ b/src/Microsoft.Graph/Generated/Models/GroupAssignmentTarget.cs @@ -8,7 +8,7 @@ namespace Microsoft.Graph.Beta.Models { /// - /// The AAD Group we are deploying firmware updates to + /// Represents an assignment to a group. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GroupAssignmentTarget : global::Microsoft.Graph.Beta.Models.DeviceAndAppManagementAssignmentTarget, IParsable diff --git a/src/Microsoft.Graph/Generated/Models/Identity.cs b/src/Microsoft.Graph/Generated/Models/Identity.cs index d2a8006cfeb4..d5ab81c5ba7a 100644 --- a/src/Microsoft.Graph/Generated/Models/Identity.cs +++ b/src/Microsoft.Graph/Generated/Models/Identity.cs @@ -108,6 +108,7 @@ public Identity() "#microsoft.graph.provisioningSystem" => new global::Microsoft.Graph.Beta.Models.ProvisioningSystem(), "#microsoft.graph.security.submissionUserIdentity" => new global::Microsoft.Graph.Beta.Models.Security.SubmissionUserIdentity(), "#microsoft.graph.servicePrincipalIdentity" => new global::Microsoft.Graph.Beta.Models.ServicePrincipalIdentity(), + "#microsoft.graph.sharePointGroupIdentity" => new global::Microsoft.Graph.Beta.Models.SharePointGroupIdentity(), "#microsoft.graph.sharePointIdentity" => new global::Microsoft.Graph.Beta.Models.SharePointIdentity(), "#microsoft.graph.sourceProvisionedIdentity" => new global::Microsoft.Graph.Beta.Models.SourceProvisionedIdentity(), "#microsoft.graph.targetProvisionedIdentity" => new global::Microsoft.Graph.Beta.Models.TargetProvisionedIdentity(), diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/PreviewFailedTask.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/PreviewFailedTask.cs new file mode 100644 index 000000000000..1a900eb82703 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/PreviewFailedTask.cs @@ -0,0 +1,153 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PreviewFailedTask : 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 definitionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DefinitionId + { + get { return BackingStore?.Get("definitionId"); } + set { BackingStore?.Set("definitionId", value); } + } +#nullable restore +#else + public string DefinitionId + { + get { return BackingStore?.Get("definitionId"); } + set { BackingStore?.Set("definitionId", value); } + } +#endif + /// The failureReason property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? FailureReason + { + get { return BackingStore?.Get("failureReason"); } + set { BackingStore?.Set("failureReason", value); } + } +#nullable restore +#else + public string FailureReason + { + get { return BackingStore?.Get("failureReason"); } + set { BackingStore?.Set("failureReason", value); } + } +#endif + /// The name property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#nullable restore +#else + public string Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The taskId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TaskId + { + get { return BackingStore?.Get("taskId"); } + set { BackingStore?.Set("taskId", value); } + } +#nullable restore +#else + public string TaskId + { + get { return BackingStore?.Get("taskId"); } + set { BackingStore?.Set("taskId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public PreviewFailedTask() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.IdentityGovernance.PreviewFailedTask CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.PreviewFailedTask(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "definitionId", n => { DefinitionId = n.GetStringValue(); } }, + { "failureReason", n => { FailureReason = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "taskId", n => { TaskId = 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("definitionId", DefinitionId); + writer.WriteStringValue("failureReason", FailureReason); + writer.WriteStringValue("name", Name); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("taskId", TaskId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/Workflow.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/Workflow.cs index 42ca95da7774..a9c68b67d263 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/Workflow.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/Workflow.cs @@ -56,6 +56,22 @@ public DateTimeOffset? NextScheduleRunDateTime get { return BackingStore?.Get("nextScheduleRunDateTime"); } set { BackingStore?.Set("nextScheduleRunDateTime", value); } } + /// The previewScope property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? PreviewScope + { + get { return BackingStore?.Get?>("previewScope"); } + set { BackingStore?.Set("previewScope", value); } + } +#nullable restore +#else + public List PreviewScope + { + get { return BackingStore?.Get>("previewScope"); } + set { BackingStore?.Set("previewScope", value); } + } +#endif /// Workflow runs. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -155,6 +171,7 @@ public override IDictionary> GetFieldDeserializers() { "executionScope", n => { ExecutionScope = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserProcessingResult.CreateFromDiscriminatorValue)?.AsList(); } }, { "id", n => { Id = n.GetStringValue(); } }, { "nextScheduleRunDateTime", n => { NextScheduleRunDateTime = n.GetDateTimeOffsetValue(); } }, + { "previewScope", n => { PreviewScope = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, { "runs", n => { Runs = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.Run.CreateFromDiscriminatorValue)?.AsList(); } }, { "taskReports", n => { TaskReports = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.TaskReport.CreateFromDiscriminatorValue)?.AsList(); } }, { "userProcessingResults", n => { UserProcessingResults = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserProcessingResult.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -174,6 +191,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("executionScope", ExecutionScope); writer.WriteStringValue("id", Id); writer.WriteDateTimeOffsetValue("nextScheduleRunDateTime", NextScheduleRunDateTime); + writer.WriteCollectionOfObjectValues("previewScope", PreviewScope); writer.WriteCollectionOfObjectValues("runs", Runs); writer.WriteCollectionOfObjectValues("taskReports", TaskReports); writer.WriteCollectionOfObjectValues("userProcessingResults", UserProcessingResults); diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowExecutionType.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowExecutionType.cs index 02e1ba9768f2..2def75a7b8f9 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowExecutionType.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowExecutionType.cs @@ -24,5 +24,9 @@ public enum WorkflowExecutionType #pragma warning disable CS1591 ActivatedWithScope, #pragma warning restore CS1591 + [EnumMember(Value = "preview")] + #pragma warning disable CS1591 + Preview, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/ImpactedResource.cs b/src/Microsoft.Graph/Generated/Models/ImpactedResource.cs index 4fd192cd7e6c..57e3aff754a5 100644 --- a/src/Microsoft.Graph/Generated/Models/ImpactedResource.cs +++ b/src/Microsoft.Graph/Generated/Models/ImpactedResource.cs @@ -83,21 +83,11 @@ public string LastModifiedBy } #endif /// The date and time when the status was last updated. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? LastModifiedDateTime - { - get { return BackingStore?.Get("lastModifiedDateTime"); } - set { BackingStore?.Set("lastModifiedDateTime", value); } - } -#nullable restore -#else - public string LastModifiedDateTime + public DateTimeOffset? LastModifiedDateTime { - get { return BackingStore?.Get("lastModifiedDateTime"); } + get { return BackingStore?.Get("lastModifiedDateTime"); } set { BackingStore?.Set("lastModifiedDateTime", value); } } -#endif /// The user responsible for maintaining the resource. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -219,7 +209,7 @@ public override IDictionary> GetFieldDeserializers() { "apiUrl", n => { ApiUrl = n.GetStringValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "lastModifiedBy", n => { LastModifiedBy = n.GetStringValue(); } }, - { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetStringValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, { "owner", n => { Owner = n.GetStringValue(); } }, { "portalUrl", n => { PortalUrl = n.GetStringValue(); } }, { "postponeUntilDateTime", n => { PostponeUntilDateTime = n.GetDateTimeOffsetValue(); } }, @@ -243,7 +233,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("apiUrl", ApiUrl); writer.WriteStringValue("displayName", DisplayName); writer.WriteStringValue("lastModifiedBy", LastModifiedBy); - writer.WriteStringValue("lastModifiedDateTime", LastModifiedDateTime); + writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); writer.WriteStringValue("owner", Owner); writer.WriteStringValue("portalUrl", PortalUrl); writer.WriteDateTimeOffsetValue("postponeUntilDateTime", PostponeUntilDateTime); diff --git a/src/Microsoft.Graph/Generated/Models/IntuneBrand.cs b/src/Microsoft.Graph/Generated/Models/IntuneBrand.cs index 804842d233e9..bd6ac74f0f40 100644 --- a/src/Microsoft.Graph/Generated/Models/IntuneBrand.cs +++ b/src/Microsoft.Graph/Generated/Models/IntuneBrand.cs @@ -324,12 +324,6 @@ public List RoleScopeTagIds set { BackingStore?.Set("roleScopeTagIds", value); } } #endif - /// Boolean that indicates if a push notification is sent to users when their device ownership type changes from personal to corporate - public bool? SendDeviceOwnershipChangePushNotification - { - get { return BackingStore?.Get("sendDeviceOwnershipChangePushNotification"); } - set { BackingStore?.Set("sendDeviceOwnershipChangePushNotification", value); } - } /// Boolean that indicates if AzureAD Enterprise Apps will be shown in Company Portal public bool? ShowAzureADEnterpriseApps { @@ -430,7 +424,6 @@ public virtual IDictionary> GetFieldDeserializers() { "onlineSupportSiteUrl", n => { OnlineSupportSiteUrl = n.GetStringValue(); } }, { "privacyUrl", n => { PrivacyUrl = n.GetStringValue(); } }, { "roleScopeTagIds", n => { RoleScopeTagIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - { "sendDeviceOwnershipChangePushNotification", n => { SendDeviceOwnershipChangePushNotification = n.GetBoolValue(); } }, { "showAzureADEnterpriseApps", n => { ShowAzureADEnterpriseApps = n.GetBoolValue(); } }, { "showConfigurationManagerApps", n => { ShowConfigurationManagerApps = n.GetBoolValue(); } }, { "showDisplayNameNextToLogo", n => { ShowDisplayNameNextToLogo = n.GetBoolValue(); } }, @@ -469,7 +462,6 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteStringValue("onlineSupportSiteUrl", OnlineSupportSiteUrl); writer.WriteStringValue("privacyUrl", PrivacyUrl); writer.WriteCollectionOfPrimitiveValues("roleScopeTagIds", RoleScopeTagIds); - writer.WriteBoolValue("sendDeviceOwnershipChangePushNotification", SendDeviceOwnershipChangePushNotification); writer.WriteBoolValue("showAzureADEnterpriseApps", ShowAzureADEnterpriseApps); writer.WriteBoolValue("showConfigurationManagerApps", ShowConfigurationManagerApps); writer.WriteBoolValue("showDisplayNameNextToLogo", ShowDisplayNameNextToLogo); diff --git a/src/Microsoft.Graph/Generated/Models/IntuneBrandingProfile.cs b/src/Microsoft.Graph/Generated/Models/IntuneBrandingProfile.cs index 6a37e594e950..989d82e089b7 100644 --- a/src/Microsoft.Graph/Generated/Models/IntuneBrandingProfile.cs +++ b/src/Microsoft.Graph/Generated/Models/IntuneBrandingProfile.cs @@ -349,12 +349,6 @@ public List RoleScopeTagIds set { BackingStore?.Set("roleScopeTagIds", value); } } #endif - /// Boolean that indicates if a push notification is sent to users when their device ownership type changes from personal to corporate - public bool? SendDeviceOwnershipChangePushNotification - { - get { return BackingStore?.Get("sendDeviceOwnershipChangePushNotification"); } - set { BackingStore?.Set("sendDeviceOwnershipChangePushNotification", value); } - } /// Boolean that indicates if AzureAD Enterprise Apps will be shown in Company Portal public bool? ShowAzureADEnterpriseApps { @@ -461,7 +455,6 @@ public override IDictionary> GetFieldDeserializers() { "profileDescription", n => { ProfileDescription = n.GetStringValue(); } }, { "profileName", n => { ProfileName = n.GetStringValue(); } }, { "roleScopeTagIds", n => { RoleScopeTagIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - { "sendDeviceOwnershipChangePushNotification", n => { SendDeviceOwnershipChangePushNotification = n.GetBoolValue(); } }, { "showAzureADEnterpriseApps", n => { ShowAzureADEnterpriseApps = n.GetBoolValue(); } }, { "showConfigurationManagerApps", n => { ShowConfigurationManagerApps = n.GetBoolValue(); } }, { "showDisplayNameNextToLogo", n => { ShowDisplayNameNextToLogo = n.GetBoolValue(); } }, @@ -505,7 +498,6 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("profileDescription", ProfileDescription); writer.WriteStringValue("profileName", ProfileName); writer.WriteCollectionOfPrimitiveValues("roleScopeTagIds", RoleScopeTagIds); - writer.WriteBoolValue("sendDeviceOwnershipChangePushNotification", SendDeviceOwnershipChangePushNotification); writer.WriteBoolValue("showAzureADEnterpriseApps", ShowAzureADEnterpriseApps); writer.WriteBoolValue("showConfigurationManagerApps", ShowConfigurationManagerApps); writer.WriteBoolValue("showDisplayNameNextToLogo", ShowDisplayNameNextToLogo); diff --git a/src/Microsoft.Graph/Generated/Models/IosCompliancePolicy.cs b/src/Microsoft.Graph/Generated/Models/IosCompliancePolicy.cs index 828cf3cee34b..b8fb2374faec 100644 --- a/src/Microsoft.Graph/Generated/Models/IosCompliancePolicy.cs +++ b/src/Microsoft.Graph/Generated/Models/IosCompliancePolicy.cs @@ -107,7 +107,7 @@ public bool? PasscodeBlockSimple get { return BackingStore?.Get("passcodeBlockSimple"); } set { BackingStore?.Set("passcodeBlockSimple", value); } } - /// Number of days before the passcode expires. Valid values 1 to 65535 + /// Number of days before the passcode expires. Starting January 2026 (Intune release version: 2601), the maximum expiration days will be limited to 730 days. Any setting above 730 days will be default to 730 days. Valid values 1 to 65535 public int? PasscodeExpirationDays { get { return BackingStore?.Get("passcodeExpirationDays"); } diff --git a/src/Microsoft.Graph/Generated/Models/List.cs b/src/Microsoft.Graph/Generated/Models/List.cs index 75b4169bb953..950b5e3badcf 100644 --- a/src/Microsoft.Graph/Generated/Models/List.cs +++ b/src/Microsoft.Graph/Generated/Models/List.cs @@ -92,6 +92,12 @@ public string DisplayName set { BackingStore?.Set("drive", value); } } #endif + /// The itemCount property + public int? ItemCount + { + get { return BackingStore?.Get("itemCount"); } + set { BackingStore?.Set("itemCount", value); } + } /// All items contained in the list. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -234,6 +240,7 @@ public override IDictionary> GetFieldDeserializers() { "contentTypes", n => { ContentTypes = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ContentType.CreateFromDiscriminatorValue)?.AsList(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "drive", n => { Drive = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Drive.CreateFromDiscriminatorValue); } }, + { "itemCount", n => { ItemCount = n.GetIntValue(); } }, { "items", n => { Items = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ListItem.CreateFromDiscriminatorValue)?.AsList(); } }, { "list", n => { ListProp = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ListInfo.CreateFromDiscriminatorValue); } }, { "operations", n => { Operations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.RichLongRunningOperation.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -256,6 +263,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("contentTypes", ContentTypes); writer.WriteStringValue("displayName", DisplayName); writer.WriteObjectValue("drive", Drive); + writer.WriteIntValue("itemCount", ItemCount); writer.WriteCollectionOfObjectValues("items", Items); writer.WriteObjectValue("list", ListProp); writer.WriteCollectionOfObjectValues("operations", Operations); diff --git a/src/Microsoft.Graph/Generated/Models/MacOSDeviceLocalAdminAccountDetail.cs b/src/Microsoft.Graph/Generated/Models/MacOSDeviceLocalAdminAccountDetail.cs new file mode 100644 index 000000000000..89222cb1c41d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MacOSDeviceLocalAdminAccountDetail.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// Properties related to macOS-specific configured and Intune-managed local administrator account + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MacOSDeviceLocalAdminAccountDetail : global::Microsoft.Graph.Beta.Models.DeviceLocalAdminAccountDetail, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public MacOSDeviceLocalAdminAccountDetail() : base() + { + OdataType = "#microsoft.graph.macOSDeviceLocalAdminAccountDetail"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.MacOSDeviceLocalAdminAccountDetail CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.MacOSDeviceLocalAdminAccountDetail(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/MacOSWiFiConfiguration.cs b/src/Microsoft.Graph/Generated/Models/MacOSWiFiConfiguration.cs index 662e9aad6ea1..43516eddbc8d 100644 --- a/src/Microsoft.Graph/Generated/Models/MacOSWiFiConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/MacOSWiFiConfiguration.cs @@ -13,25 +13,25 @@ namespace Microsoft.Graph.Beta.Models [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MacOSWiFiConfiguration : global::Microsoft.Graph.Beta.Models.DeviceConfiguration, IParsable { - /// Connect automatically when this network is in range. Setting this to true will skip the user prompt and automatically connect the device to Wi-Fi network. + /// Indicates whether to automatically connect to this network when it is in range of the device. When TRUE will skip the user prompt and automatically connect the device to Wi-Fi network. Default is false. public bool? ConnectAutomatically { get { return BackingStore?.Get("connectAutomatically"); } set { BackingStore?.Set("connectAutomatically", value); } } - /// Connect when the network is not broadcasting its name (SSID). When set to true, this profile forces the device to connect to a network that doesn't broadcast its SSID to all devices. + /// Indicates whether the device should connect to the network when it is not broadcasting its name (SSID). When TRUE, this profile forces the device to connect to a network that doesn't broadcast its SSID to all devices. Default is false. public bool? ConnectWhenNetworkNameIsHidden { get { return BackingStore?.Get("connectWhenNetworkNameIsHidden"); } set { BackingStore?.Set("connectWhenNetworkNameIsHidden", value); } } - /// Indicates the deployment channel type used to deploy the configuration profile. Possible values are deviceChannel, userChannel. Possible values are: deviceChannel, userChannel, unknownFutureValue. + /// Indicates the deployment channel type used to deploy the configuration profile. Once set, cannot be changed. Possible values are deviceChannel, and userChannel. Possible values are: deviceChannel, userChannel, unknownFutureValue. public global::Microsoft.Graph.Beta.Models.AppleDeploymentChannel? DeploymentChannel { get { return BackingStore?.Get("deploymentChannel"); } set { BackingStore?.Set("deploymentChannel", value); } } - /// Network Name + /// Indicates the Wi-Fi configuration profile name. Used to identify the configuration profile. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? NetworkName @@ -63,7 +63,7 @@ public string PreSharedKey set { BackingStore?.Set("preSharedKey", value); } } #endif - /// URL of the proxy server automatic configuration script when automatic configuration is selected. This URL is typically the location of PAC (Proxy Auto Configuration) file. + /// Indicates URL of the proxy server automatic configuration (PAC) script when proxySettings is automatic. Used to find the location of PAC (Proxy Auto Configuration) file. Example: itproxy.contoso.com #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ProxyAutomaticConfigurationUrl @@ -79,7 +79,7 @@ public string ProxyAutomaticConfigurationUrl set { BackingStore?.Set("proxyAutomaticConfigurationUrl", value); } } #endif - /// IP Address or DNS hostname of the proxy server when manual configuration is selected. + /// Indicates IP Address or DNS hostname of the proxy server when manual configuration is selected. Used for proxy settings. Example: 10.0.0.2 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ProxyManualAddress @@ -95,7 +95,7 @@ public string ProxyManualAddress set { BackingStore?.Set("proxyManualAddress", value); } } #endif - /// Port of the proxy server when manual configuration is selected. + /// Indicates the proxy server TCP port to use when proxySettings is manual. Used for proxy settings. Example: 8080 public int? ProxyManualPort { get { return BackingStore?.Get("proxyManualPort"); } diff --git a/src/Microsoft.Graph/Generated/Models/MobileApp.cs b/src/Microsoft.Graph/Generated/Models/MobileApp.cs index ee548967fdfb..67231d773da9 100644 --- a/src/Microsoft.Graph/Generated/Models/MobileApp.cs +++ b/src/Microsoft.Graph/Generated/Models/MobileApp.cs @@ -316,6 +316,7 @@ public int? UploadState "#microsoft.graph.win32CatalogApp" => new global::Microsoft.Graph.Beta.Models.Win32CatalogApp(), "#microsoft.graph.win32LobApp" => new global::Microsoft.Graph.Beta.Models.Win32LobApp(), "#microsoft.graph.windowsAppX" => new global::Microsoft.Graph.Beta.Models.WindowsAppX(), + "#microsoft.graph.windowsAutoUpdateCatalogApp" => new global::Microsoft.Graph.Beta.Models.WindowsAutoUpdateCatalogApp(), "#microsoft.graph.windowsMicrosoftEdgeApp" => new global::Microsoft.Graph.Beta.Models.WindowsMicrosoftEdgeApp(), "#microsoft.graph.windowsMobileMSI" => new global::Microsoft.Graph.Beta.Models.WindowsMobileMSI(), "#microsoft.graph.windowsPhone81AppX" => new global::Microsoft.Graph.Beta.Models.WindowsPhone81AppX(), diff --git a/src/Microsoft.Graph/Generated/Models/MobileAppCatalogPackage.cs b/src/Microsoft.Graph/Generated/Models/MobileAppCatalogPackage.cs index 9c3399c17029..946acca1506f 100644 --- a/src/Microsoft.Graph/Generated/Models/MobileAppCatalogPackage.cs +++ b/src/Microsoft.Graph/Generated/Models/MobileAppCatalogPackage.cs @@ -13,6 +13,22 @@ namespace Microsoft.Graph.Beta.Models [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppCatalogPackage : global::Microsoft.Graph.Beta.Models.Entity, IParsable { + /// The description of the product (example: "Fabrikam for Business is a productivity app."). Returned by default. Read-only. Supports: $filter, $search, $select. This property is read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ProductDescription + { + get { return BackingStore?.Get("productDescription"); } + set { BackingStore?.Set("productDescription", value); } + } +#nullable restore +#else + public string ProductDescription + { + get { return BackingStore?.Get("productDescription"); } + set { BackingStore?.Set("productDescription", value); } + } +#endif /// The name of the product (example: "Fabrikam for Business"). Returned by default. Read-only. Supports: $filter, $search, $select. This property is read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -100,6 +116,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "productDescription", n => { ProductDescription = n.GetStringValue(); } }, { "productDisplayName", n => { ProductDisplayName = n.GetStringValue(); } }, { "productId", n => { ProductId = n.GetStringValue(); } }, { "publisherDisplayName", n => { PublisherDisplayName = n.GetStringValue(); } }, diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallAction.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallAction.cs new file mode 100644 index 000000000000..c32304c313c7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallAction.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Networkaccess +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum CloudFirewallAction + #pragma warning restore CS1591 + { + [EnumMember(Value = "allow")] + #pragma warning disable CS1591 + Allow, + #pragma warning restore CS1591 + [EnumMember(Value = "block")] + #pragma warning disable CS1591 + Block, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallDestinationAddress.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallDestinationAddress.cs new file mode 100644 index 000000000000..383aaabc1630 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallDestinationAddress.cs @@ -0,0 +1,87 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Networkaccess +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudFirewallDestinationAddress : 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 OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CloudFirewallDestinationAddress() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallDestinationAddress CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.networkaccess.cloudFirewallDestinationFqdnAddress" => new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallDestinationFqdnAddress(), + "#microsoft.graph.networkaccess.cloudFirewallDestinationIpAddress" => new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallDestinationIpAddress(), + _ => new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallDestinationAddress(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallDestinationFqdnAddress.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallDestinationFqdnAddress.cs new file mode 100644 index 000000000000..b38edf0633c7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallDestinationFqdnAddress.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Networkaccess +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudFirewallDestinationFqdnAddress : global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallDestinationAddress, IParsable + #pragma warning restore CS1591 + { + /// A collection of FQDNs for destination address matching (for example, example.com, api.contoso.com). Empty collections are not allowed. Required. +#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 CloudFirewallDestinationFqdnAddress() : base() + { + OdataType = "#microsoft.graph.networkaccess.cloudFirewallDestinationFqdnAddress"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallDestinationFqdnAddress CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallDestinationFqdnAddress(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "values", n => { Values = 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("values", Values); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallDestinationIpAddress.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallDestinationIpAddress.cs new file mode 100644 index 000000000000..468a6762d33c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallDestinationIpAddress.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Networkaccess +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudFirewallDestinationIpAddress : global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallDestinationAddress, IParsable + #pragma warning restore CS1591 + { + /// A collection of IP addresses. Supports IPv4, IPv6, CIDR notation (for example, 192.168.0.0/16), and IP ranges (for example, 172.16.0.0-172.16.255.255). The collection must not be empty. Required. +#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 CloudFirewallDestinationIpAddress() : base() + { + OdataType = "#microsoft.graph.networkaccess.cloudFirewallDestinationIpAddress"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallDestinationIpAddress CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallDestinationIpAddress(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "values", n => { Values = 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("values", Values); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallDestinationMatching.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallDestinationMatching.cs new file mode 100644 index 000000000000..c9e74cefabd9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallDestinationMatching.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Networkaccess +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudFirewallDestinationMatching : 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 destination addresses to match. An empty collection means don't filter by destination addresses (match all). Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Addresses + { + get { return BackingStore?.Get?>("addresses"); } + set { BackingStore?.Set("addresses", value); } + } +#nullable restore +#else + public List Addresses + { + get { return BackingStore?.Get>("addresses"); } + set { BackingStore?.Set("addresses", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The destination ports to match, for example, 80, 443, 1024-2048. An empty collection means don't filter by destination ports (match all). Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Ports + { + get { return BackingStore?.Get?>("ports"); } + set { BackingStore?.Set("ports", value); } + } +#nullable restore +#else + public List Ports + { + get { return BackingStore?.Get>("ports"); } + set { BackingStore?.Set("ports", value); } + } +#endif + /// The protocols property + public global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallProtocol? Protocols + { + get { return BackingStore?.Get("protocols"); } + set { BackingStore?.Set("protocols", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public CloudFirewallDestinationMatching() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallDestinationMatching CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallDestinationMatching(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "addresses", n => { Addresses = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallDestinationAddress.CreateFromDiscriminatorValue)?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "ports", n => { Ports = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "protocols", n => { Protocols = 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("addresses", Addresses); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteCollectionOfPrimitiveValues("ports", Ports); + writer.WriteEnumValue("protocols", Protocols); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallMatchingConditions.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallMatchingConditions.cs new file mode 100644 index 000000000000..9045ca886c5b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallMatchingConditions.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Networkaccess +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudFirewallMatchingConditions : 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; } + /// Destination address, port, and protocol matching criteria. null means don't match on destination. Optional. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallDestinationMatching? Destinations + { + get { return BackingStore?.Get("destinations"); } + set { BackingStore?.Set("destinations", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallDestinationMatching Destinations + { + get { return BackingStore?.Get("destinations"); } + set { BackingStore?.Set("destinations", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Source address and port matching criteria. null means don't match on source. Optional. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallSourceMatching? Sources + { + get { return BackingStore?.Get("sources"); } + set { BackingStore?.Set("sources", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallSourceMatching Sources + { + get { return BackingStore?.Get("sources"); } + set { BackingStore?.Set("sources", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CloudFirewallMatchingConditions() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallMatchingConditions CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallMatchingConditions(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "destinations", n => { Destinations = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallDestinationMatching.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "sources", n => { Sources = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallSourceMatching.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("destinations", Destinations); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("sources", Sources); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallPolicy.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallPolicy.cs new file mode 100644 index 000000000000..46b9e76f4178 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallPolicy.cs @@ -0,0 +1,79 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Networkaccess +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudFirewallPolicy : global::Microsoft.Graph.Beta.Models.Networkaccess.Policy, IParsable + #pragma warning restore CS1591 + { + /// The date and time when the policy was last modified. Read-only. + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } + /// The settings property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicySettings? Settings + { + get { return BackingStore?.Get("settings"); } + set { BackingStore?.Set("settings", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicySettings Settings + { + get { return BackingStore?.Get("settings"); } + set { BackingStore?.Set("settings", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CloudFirewallPolicy() : base() + { + OdataType = "#microsoft.graph.networkaccess.cloudFirewallPolicy"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicy CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicy(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "settings", n => { Settings = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicySettings.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// 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.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + writer.WriteObjectValue("settings", Settings); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallPolicyCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallPolicyCollectionResponse.cs new file mode 100644 index 000000000000..6115be82f172 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallPolicyCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Networkaccess +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudFirewallPolicyCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicyCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicyCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicy.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/Models/Networkaccess/CloudFirewallPolicyLink.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallPolicyLink.cs new file mode 100644 index 000000000000..568544982a45 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallPolicyLink.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Networkaccess +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudFirewallPolicyLink : global::Microsoft.Graph.Beta.Models.Networkaccess.PolicyLink, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public CloudFirewallPolicyLink() : base() + { + OdataType = "#microsoft.graph.networkaccess.cloudFirewallPolicyLink"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicyLink CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicyLink(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallPolicySettings.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallPolicySettings.cs new file mode 100644 index 000000000000..095ceab32e6c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallPolicySettings.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Networkaccess +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudFirewallPolicySettings : 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 defaultAction property + public global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallAction? DefaultAction + { + get { return BackingStore?.Get("defaultAction"); } + set { BackingStore?.Set("defaultAction", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CloudFirewallPolicySettings() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicySettings CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicySettings(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "defaultAction", n => { DefaultAction = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("defaultAction", DefaultAction); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallProtocol.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallProtocol.cs new file mode 100644 index 000000000000..a438a0ce5b8e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallProtocol.cs @@ -0,0 +1,25 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Networkaccess +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum CloudFirewallProtocol + #pragma warning restore CS1591 + { + [EnumMember(Value = "tcp")] + #pragma warning disable CS1591 + Tcp = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "udp")] + #pragma warning disable CS1591 + Udp = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 4, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallRule.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallRule.cs new file mode 100644 index 000000000000..1680726415cb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallRule.cs @@ -0,0 +1,123 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Networkaccess +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudFirewallRule : global::Microsoft.Graph.Beta.Models.Networkaccess.PolicyRule, IParsable + #pragma warning restore CS1591 + { + /// The action property + public global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallAction? Action + { + get { return BackingStore?.Get("action"); } + set { BackingStore?.Set("action", value); } + } + /// A human-readable description of the rule's purpose. Optional. +#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 matchingConditions property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallMatchingConditions? MatchingConditions + { + get { return BackingStore?.Get("matchingConditions"); } + set { BackingStore?.Set("matchingConditions", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallMatchingConditions MatchingConditions + { + get { return BackingStore?.Get("matchingConditions"); } + set { BackingStore?.Set("matchingConditions", value); } + } +#endif + /// A unique priority value that determines the rule evaluation order; lower values are evaluated first. Required. + public long? Priority + { + get { return BackingStore?.Get("priority"); } + set { BackingStore?.Set("priority", value); } + } + /// The settings property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallRuleSettings? Settings + { + get { return BackingStore?.Get("settings"); } + set { BackingStore?.Set("settings", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallRuleSettings Settings + { + get { return BackingStore?.Get("settings"); } + set { BackingStore?.Set("settings", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CloudFirewallRule() : base() + { + OdataType = "#microsoft.graph.networkaccess.cloudFirewallRule"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallRule CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallRule(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "action", n => { Action = n.GetEnumValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "matchingConditions", n => { MatchingConditions = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallMatchingConditions.CreateFromDiscriminatorValue); } }, + { "priority", n => { Priority = n.GetLongValue(); } }, + { "settings", n => { Settings = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallRuleSettings.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// 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.WriteEnumValue("action", Action); + writer.WriteStringValue("description", Description); + writer.WriteObjectValue("matchingConditions", MatchingConditions); + writer.WriteLongValue("priority", Priority); + writer.WriteObjectValue("settings", Settings); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallRuleSettings.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallRuleSettings.cs new file mode 100644 index 000000000000..b9269298cc6b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallRuleSettings.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Networkaccess +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudFirewallRuleSettings : 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 OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The status property + public global::Microsoft.Graph.Beta.Models.Networkaccess.SecurityRuleStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public CloudFirewallRuleSettings() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallRuleSettings CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallRuleSettings(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "status", n => { Status = 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("@odata.type", OdataType); + writer.WriteEnumValue("status", Status); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallSourceAddress.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallSourceAddress.cs new file mode 100644 index 000000000000..d982229ffbba --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallSourceAddress.cs @@ -0,0 +1,86 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Networkaccess +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudFirewallSourceAddress : 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 OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CloudFirewallSourceAddress() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallSourceAddress CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.networkaccess.cloudFirewallSourceIpAddress" => new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallSourceIpAddress(), + _ => new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallSourceAddress(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallSourceIpAddress.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallSourceIpAddress.cs new file mode 100644 index 000000000000..9cda929aa3e6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallSourceIpAddress.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Networkaccess +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudFirewallSourceIpAddress : global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallSourceAddress, IParsable + #pragma warning restore CS1591 + { + /// A collection of IP addresses. Supports IPv4, IPv6, CIDR notation (for example, 192.168.0.0/16), and IP ranges (for example, 172.16.0.0-172.16.255.255). The collection must not be empty. Required. +#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 CloudFirewallSourceIpAddress() : base() + { + OdataType = "#microsoft.graph.networkaccess.cloudFirewallSourceIpAddress"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallSourceIpAddress CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallSourceIpAddress(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "values", n => { Values = 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("values", Values); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallSourceMatching.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallSourceMatching.cs new file mode 100644 index 000000000000..51f5bc2f5514 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/CloudFirewallSourceMatching.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Networkaccess +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudFirewallSourceMatching : 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 source addresses to match. An empty collection means don't filter by source addresses (match all). Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Addresses + { + get { return BackingStore?.Get?>("addresses"); } + set { BackingStore?.Set("addresses", value); } + } +#nullable restore +#else + public List Addresses + { + get { return BackingStore?.Get>("addresses"); } + set { BackingStore?.Set("addresses", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The source ports to match, for example, 80, 443, 1024-2048. An empty collection means don't filter by source ports (match all). Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Ports + { + get { return BackingStore?.Get?>("ports"); } + set { BackingStore?.Set("ports", value); } + } +#nullable restore +#else + public List Ports + { + get { return BackingStore?.Get>("ports"); } + set { BackingStore?.Set("ports", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CloudFirewallSourceMatching() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallSourceMatching CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallSourceMatching(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "addresses", n => { Addresses = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallSourceAddress.CreateFromDiscriminatorValue)?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "ports", n => { Ports = 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("addresses", Addresses); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteCollectionOfPrimitiveValues("ports", Ports); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/Connection.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/Connection.cs index b645b55a8766..a13f338a86ed 100644 --- a/src/Microsoft.Graph/Generated/Models/Networkaccess/Connection.cs +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/Connection.cs @@ -50,6 +50,12 @@ public DateTimeOffset? CreatedDateTime get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } + /// Cross tenant access details, for B2B scenarios. The possible values are: none, b2bCollaboration, unknownFutureValue. + public global::Microsoft.Graph.Beta.Models.Networkaccess.CrossTenantAccessType? CrossTenantAccessType + { + get { return BackingStore?.Get("crossTenantAccessType"); } + set { BackingStore?.Set("crossTenantAccessType", value); } + } /// The destination FQDN of the connection. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -110,6 +116,12 @@ public string DeviceId set { BackingStore?.Set("deviceId", value); } } #endif + /// Device registration type, for BYOD scenarios. The possible values are: none, microsoftEntraJoined, microsoftEntraRegistered, unknownFutureValue. + public global::Microsoft.Graph.Beta.Models.Networkaccess.DeviceJoinType? DeviceJoinType + { + get { return BackingStore?.Get("deviceJoinType"); } + set { BackingStore?.Set("deviceJoinType", value); } + } /// The device operating system type. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -148,6 +160,22 @@ public DateTimeOffset? EndDateTime get { return BackingStore?.Get("endDateTime"); } set { BackingStore?.Set("endDateTime", value); } } + /// The identifier of the home tenant, for Entra B2B scenarios. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? HomeTenantId + { + get { return BackingStore?.Get("homeTenantId"); } + set { BackingStore?.Set("homeTenantId", value); } + } +#nullable restore +#else + public string HomeTenantId + { + get { return BackingStore?.Get("homeTenantId"); } + set { BackingStore?.Set("homeTenantId", value); } + } +#endif /// The process initiating the traffic connection. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -341,14 +369,17 @@ public override IDictionary> GetFieldDeserializers() { "agentVersion", n => { AgentVersion = n.GetStringValue(); } }, { "applicationSnapshot", n => { ApplicationSnapshot = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Networkaccess.ApplicationSnapshot.CreateFromDiscriminatorValue); } }, { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "crossTenantAccessType", n => { CrossTenantAccessType = n.GetEnumValue(); } }, { "destinationFqdn", n => { DestinationFqdn = n.GetStringValue(); } }, { "destinationIp", n => { DestinationIp = n.GetStringValue(); } }, { "destinationPort", n => { DestinationPort = n.GetIntValue(); } }, { "deviceCategory", n => { DeviceCategory = n.GetEnumValue(); } }, { "deviceId", n => { DeviceId = n.GetStringValue(); } }, + { "deviceJoinType", n => { DeviceJoinType = n.GetEnumValue(); } }, { "deviceOperatingSystem", n => { DeviceOperatingSystem = n.GetStringValue(); } }, { "deviceOperatingSystemVersion", n => { DeviceOperatingSystemVersion = n.GetStringValue(); } }, { "endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } }, + { "homeTenantId", n => { HomeTenantId = n.GetStringValue(); } }, { "initiatingProcessName", n => { InitiatingProcessName = n.GetStringValue(); } }, { "lastUpdateDateTime", n => { LastUpdateDateTime = n.GetDateTimeOffsetValue(); } }, { "networkProtocol", n => { NetworkProtocol = n.GetEnumValue(); } }, @@ -379,14 +410,17 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("agentVersion", AgentVersion); writer.WriteObjectValue("applicationSnapshot", ApplicationSnapshot); writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteEnumValue("crossTenantAccessType", CrossTenantAccessType); writer.WriteStringValue("destinationFqdn", DestinationFqdn); writer.WriteStringValue("destinationIp", DestinationIp); writer.WriteIntValue("destinationPort", DestinationPort); writer.WriteEnumValue("deviceCategory", DeviceCategory); writer.WriteStringValue("deviceId", DeviceId); + writer.WriteEnumValue("deviceJoinType", DeviceJoinType); writer.WriteStringValue("deviceOperatingSystem", DeviceOperatingSystem); writer.WriteStringValue("deviceOperatingSystemVersion", DeviceOperatingSystemVersion); writer.WriteDateTimeOffsetValue("endDateTime", EndDateTime); + writer.WriteStringValue("homeTenantId", HomeTenantId); writer.WriteStringValue("initiatingProcessName", InitiatingProcessName); writer.WriteDateTimeOffsetValue("lastUpdateDateTime", LastUpdateDateTime); writer.WriteEnumValue("networkProtocol", NetworkProtocol); diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/CrossTenantAccessType.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/CrossTenantAccessType.cs new file mode 100644 index 000000000000..b57c8fbc71a4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/CrossTenantAccessType.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Networkaccess +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum CrossTenantAccessType + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "b2bCollaboration")] + #pragma warning disable CS1591 + B2bCollaboration, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/DeviceJoinType.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/DeviceJoinType.cs new file mode 100644 index 000000000000..9df1002ff4fe --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/DeviceJoinType.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Networkaccess +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum DeviceJoinType + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "microsoftEntraJoined")] + #pragma warning disable CS1591 + MicrosoftEntraJoined, + #pragma warning restore CS1591 + [EnumMember(Value = "microsoftEntraRegistered")] + #pragma warning disable CS1591 + MicrosoftEntraRegistered, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/DeviceVendor.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/DeviceVendor.cs index 947f1570e7df..24d49d174060 100644 --- a/src/Microsoft.Graph/Generated/Models/Networkaccess/DeviceVendor.cs +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/DeviceVendor.cs @@ -76,5 +76,29 @@ public enum DeviceVendor #pragma warning disable CS1591 UnknownFutureValue, #pragma warning restore CS1591 + [EnumMember(Value = "aviatrix")] + #pragma warning disable CS1591 + Aviatrix, + #pragma warning restore CS1591 + [EnumMember(Value = "netskope")] + #pragma warning disable CS1591 + Netskope, + #pragma warning restore CS1591 + [EnumMember(Value = "teridion")] + #pragma warning disable CS1591 + Teridion, + #pragma warning restore CS1591 + [EnumMember(Value = "aristaNetworks")] + #pragma warning disable CS1591 + AristaNetworks, + #pragma warning restore CS1591 + [EnumMember(Value = "aristaVeloCloud")] + #pragma warning disable CS1591 + AristaVeloCloud, + #pragma warning restore CS1591 + [EnumMember(Value = "juniperNetworks")] + #pragma warning disable CS1591 + JuniperNetworks, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/NetworkAccessRoot.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/NetworkAccessRoot.cs index d54f8ad33240..048ee52a954d 100644 --- a/src/Microsoft.Graph/Generated/Models/Networkaccess/NetworkAccessRoot.cs +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/NetworkAccessRoot.cs @@ -27,6 +27,22 @@ public partial class NetworkAccessRoot : global::Microsoft.Graph.Beta.Models.Ent get { return BackingStore?.Get>("alerts"); } set { BackingStore?.Set("alerts", value); } } +#endif + /// A collection of cloud firewall policies that define rules for managing network traffic through the Global Secure Access services. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? CloudFirewallPolicies + { + get { return BackingStore?.Get?>("cloudFirewallPolicies"); } + set { BackingStore?.Set("cloudFirewallPolicies", value); } + } +#nullable restore +#else + public List CloudFirewallPolicies + { + get { return BackingStore?.Get>("cloudFirewallPolicies"); } + set { BackingStore?.Set("cloudFirewallPolicies", value); } + } #endif /// Connectivity represents all the connectivity components in Global Secure Access. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -239,6 +255,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "alerts", n => { Alerts = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Networkaccess.Alert.CreateFromDiscriminatorValue)?.AsList(); } }, + { "cloudFirewallPolicies", n => { CloudFirewallPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "connectivity", n => { Connectivity = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Networkaccess.Connectivity.CreateFromDiscriminatorValue); } }, { "filteringPolicies", n => { FilteringPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Networkaccess.FilteringPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "filteringProfiles", n => { FilteringProfiles = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Networkaccess.FilteringProfile.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -262,6 +279,7 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteCollectionOfObjectValues("alerts", Alerts); + writer.WriteCollectionOfObjectValues("cloudFirewallPolicies", CloudFirewallPolicies); writer.WriteObjectValue("connectivity", Connectivity); writer.WriteCollectionOfObjectValues("filteringPolicies", FilteringPolicies); writer.WriteCollectionOfObjectValues("filteringProfiles", FilteringProfiles); diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/Policy.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/Policy.cs index 8f22eedba77d..e40283c4a8a2 100644 --- a/src/Microsoft.Graph/Generated/Models/Networkaccess/Policy.cs +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/Policy.cs @@ -87,6 +87,7 @@ public string Version var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); return mappingValue switch { + "#microsoft.graph.networkaccess.cloudFirewallPolicy" => new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicy(), "#microsoft.graph.networkaccess.filteringPolicy" => new global::Microsoft.Graph.Beta.Models.Networkaccess.FilteringPolicy(), "#microsoft.graph.networkaccess.forwardingPolicy" => new global::Microsoft.Graph.Beta.Models.Networkaccess.ForwardingPolicy(), "#microsoft.graph.networkaccess.threatIntelligencePolicy" => new global::Microsoft.Graph.Beta.Models.Networkaccess.ThreatIntelligencePolicy(), diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/PolicyLink.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/PolicyLink.cs index 431e1be708af..ff3e75d05de1 100644 --- a/src/Microsoft.Graph/Generated/Models/Networkaccess/PolicyLink.cs +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/PolicyLink.cs @@ -61,6 +61,7 @@ public string Version var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); return mappingValue switch { + "#microsoft.graph.networkaccess.cloudFirewallPolicyLink" => new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicyLink(), "#microsoft.graph.networkaccess.filteringPolicyLink" => new global::Microsoft.Graph.Beta.Models.Networkaccess.FilteringPolicyLink(), "#microsoft.graph.networkaccess.forwardingPolicyLink" => new global::Microsoft.Graph.Beta.Models.Networkaccess.ForwardingPolicyLink(), "#microsoft.graph.networkaccess.threatIntelligencePolicyLink" => new global::Microsoft.Graph.Beta.Models.Networkaccess.ThreatIntelligencePolicyLink(), diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/PolicyRule.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/PolicyRule.cs index 90ffe8267ac2..a69387a747cf 100644 --- a/src/Microsoft.Graph/Generated/Models/Networkaccess/PolicyRule.cs +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/PolicyRule.cs @@ -39,6 +39,7 @@ public string Name var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); return mappingValue switch { + "#microsoft.graph.networkaccess.cloudFirewallRule" => new global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallRule(), "#microsoft.graph.networkaccess.filteringRule" => new global::Microsoft.Graph.Beta.Models.Networkaccess.FilteringRule(), "#microsoft.graph.networkaccess.forwardingRule" => new global::Microsoft.Graph.Beta.Models.Networkaccess.ForwardingRule(), "#microsoft.graph.networkaccess.fqdnFilteringRule" => new global::Microsoft.Graph.Beta.Models.Networkaccess.FqdnFilteringRule(), diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/Region.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/Region.cs index f44ca70ffd37..2840397878c9 100644 --- a/src/Microsoft.Graph/Generated/Models/Networkaccess/Region.cs +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/Region.cs @@ -152,5 +152,25 @@ public enum Region #pragma warning disable CS1591 UnknownFutureValue, #pragma warning restore CS1591 + [EnumMember(Value = "taiwanNorth")] + #pragma warning disable CS1591 + TaiwanNorth, + #pragma warning restore CS1591 + [EnumMember(Value = "mexicoCentral")] + #pragma warning disable CS1591 + MexicoCentral, + #pragma warning restore CS1591 + [EnumMember(Value = "spainCentral")] + #pragma warning disable CS1591 + SpainCentral, + #pragma warning restore CS1591 + [EnumMember(Value = "jioIndiaCentral")] + #pragma warning disable CS1591 + JioIndiaCentral, + #pragma warning restore CS1591 + [EnumMember(Value = "brazilSouthEast")] + #pragma warning disable CS1591 + BrazilSouthEast, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/NotifyMembers.cs b/src/Microsoft.Graph/Generated/Models/NotifyMembers.cs new file mode 100644 index 000000000000..d4633cdbe266 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/NotifyMembers.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum NotifyMembers + #pragma warning restore CS1591 + { + [EnumMember(Value = "all")] + #pragma warning disable CS1591 + All, + #pragma warning restore CS1591 + [EnumMember(Value = "allowSelected")] + #pragma warning disable CS1591 + AllowSelected, + #pragma warning restore CS1591 + [EnumMember(Value = "blockSelected")] + #pragma warning disable CS1591 + BlockSelected, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/OffboardingActivityLog.cs b/src/Microsoft.Graph/Generated/Models/OffboardingActivityLog.cs new file mode 100644 index 000000000000..e7df1f024a67 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OffboardingActivityLog.cs @@ -0,0 +1,115 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OffboardingActivityLog : global::Microsoft.Graph.Beta.Models.ActivityLogBase, IParsable + #pragma warning restore CS1591 + { + /// The offboardingDetails property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.OffboardingDetails? OffboardingDetails + { + get { return BackingStore?.Get("offboardingDetails"); } + set { BackingStore?.Set("offboardingDetails", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.OffboardingDetails OffboardingDetails + { + get { return BackingStore?.Get("offboardingDetails"); } + set { BackingStore?.Set("offboardingDetails", value); } + } +#endif + /// The policyId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PolicyId + { + get { return BackingStore?.Get("policyId"); } + set { BackingStore?.Set("policyId", value); } + } +#nullable restore +#else + public string PolicyId + { + get { return BackingStore?.Get("policyId"); } + set { BackingStore?.Set("policyId", value); } + } +#endif + /// The policyName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PolicyName + { + get { return BackingStore?.Get("policyName"); } + set { BackingStore?.Set("policyName", value); } + } +#nullable restore +#else + public string PolicyName + { + get { return BackingStore?.Get("policyName"); } + set { BackingStore?.Set("policyName", value); } + } +#endif + /// The policyStatus property + public global::Microsoft.Graph.Beta.Models.ProtectionPolicyStatus? PolicyStatus + { + get { return BackingStore?.Get("policyStatus"); } + set { BackingStore?.Set("policyStatus", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public OffboardingActivityLog() : base() + { + OdataType = "#microsoft.graph.offboardingActivityLog"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.OffboardingActivityLog CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.OffboardingActivityLog(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "offboardingDetails", n => { OffboardingDetails = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.OffboardingDetails.CreateFromDiscriminatorValue); } }, + { "policyId", n => { PolicyId = n.GetStringValue(); } }, + { "policyName", n => { PolicyName = n.GetStringValue(); } }, + { "policyStatus", n => { PolicyStatus = n.GetEnumValue(); } }, + }; + } + /// + /// 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.WriteObjectValue("offboardingDetails", OffboardingDetails); + writer.WriteStringValue("policyId", PolicyId); + writer.WriteStringValue("policyName", PolicyName); + writer.WriteEnumValue("policyStatus", PolicyStatus); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OffboardingDetails.cs b/src/Microsoft.Graph/Generated/Models/OffboardingDetails.cs new file mode 100644 index 000000000000..eb0699060ead --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OffboardingDetails.cs @@ -0,0 +1,147 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OffboardingDetails : 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 cancelledCount property + public int? CancelledCount + { + get { return BackingStore?.Get("cancelledCount"); } + set { BackingStore?.Set("cancelledCount", value); } + } + /// The failedCount property + public int? FailedCount + { + get { return BackingStore?.Get("failedCount"); } + set { BackingStore?.Set("failedCount", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The offboardedCount property + public int? OffboardedCount + { + get { return BackingStore?.Get("offboardedCount"); } + set { BackingStore?.Set("offboardedCount", value); } + } + /// The offboardEndDateTime property + public DateTimeOffset? OffboardEndDateTime + { + get { return BackingStore?.Get("offboardEndDateTime"); } + set { BackingStore?.Set("offboardEndDateTime", value); } + } + /// The offboardingStatus property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OffboardingStatus + { + get { return BackingStore?.Get("offboardingStatus"); } + set { BackingStore?.Set("offboardingStatus", value); } + } +#nullable restore +#else + public string OffboardingStatus + { + get { return BackingStore?.Get("offboardingStatus"); } + set { BackingStore?.Set("offboardingStatus", value); } + } +#endif + /// The offboardStartDateTime property + public DateTimeOffset? OffboardStartDateTime + { + get { return BackingStore?.Get("offboardStartDateTime"); } + set { BackingStore?.Set("offboardStartDateTime", value); } + } + /// The totalRequestedCount property + public int? TotalRequestedCount + { + get { return BackingStore?.Get("totalRequestedCount"); } + set { BackingStore?.Set("totalRequestedCount", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public OffboardingDetails() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.OffboardingDetails CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.OffboardingDetails(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "cancelledCount", n => { CancelledCount = n.GetIntValue(); } }, + { "failedCount", n => { FailedCount = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "offboardEndDateTime", n => { OffboardEndDateTime = n.GetDateTimeOffsetValue(); } }, + { "offboardStartDateTime", n => { OffboardStartDateTime = n.GetDateTimeOffsetValue(); } }, + { "offboardedCount", n => { OffboardedCount = n.GetIntValue(); } }, + { "offboardingStatus", n => { OffboardingStatus = n.GetStringValue(); } }, + { "totalRequestedCount", n => { TotalRequestedCount = n.GetIntValue(); } }, + }; + } + /// + /// 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("cancelledCount", CancelledCount); + writer.WriteIntValue("failedCount", FailedCount); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteIntValue("offboardedCount", OffboardedCount); + writer.WriteDateTimeOffsetValue("offboardEndDateTime", OffboardEndDateTime); + writer.WriteStringValue("offboardingStatus", OffboardingStatus); + writer.WriteDateTimeOffsetValue("offboardStartDateTime", OffboardStartDateTime); + writer.WriteIntValue("totalRequestedCount", TotalRequestedCount); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OnPremisesPublishing.cs b/src/Microsoft.Graph/Generated/Models/OnPremisesPublishing.cs index 3a16384f3bde..ff282c0bb4fd 100644 --- a/src/Microsoft.Graph/Generated/Models/OnPremisesPublishing.cs +++ b/src/Microsoft.Graph/Generated/Models/OnPremisesPublishing.cs @@ -237,6 +237,12 @@ public string OdataType set { BackingStore?.Set("singleSignOnSettings", value); } } #endif + /// The trafficRoutingMethod property + public global::Microsoft.Graph.Beta.Models.TrafficRoutingMethod? TrafficRoutingMethod + { + get { return BackingStore?.Get("trafficRoutingMethod"); } + set { BackingStore?.Set("trafficRoutingMethod", value); } + } /// Indicates whether the application should use alternateUrl instead of externalUrl. public bool? UseAlternateUrlForTranslationAndRedirect { @@ -386,6 +392,7 @@ public virtual IDictionary> GetFieldDeserializers() { "onPremisesApplicationSegments", n => { OnPremisesApplicationSegments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.OnPremisesApplicationSegment.CreateFromDiscriminatorValue)?.AsList(); } }, { "segmentsConfiguration", n => { SegmentsConfiguration = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.SegmentConfiguration.CreateFromDiscriminatorValue); } }, { "singleSignOnSettings", n => { SingleSignOnSettings = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.OnPremisesPublishingSingleSignOn.CreateFromDiscriminatorValue); } }, + { "trafficRoutingMethod", n => { TrafficRoutingMethod = n.GetEnumValue(); } }, { "useAlternateUrlForTranslationAndRedirect", n => { UseAlternateUrlForTranslationAndRedirect = n.GetBoolValue(); } }, { "verifiedCustomDomainCertificatesMetadata", n => { VerifiedCustomDomainCertificatesMetadata = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.VerifiedCustomDomainCertificatesMetadata.CreateFromDiscriminatorValue); } }, { "verifiedCustomDomainKeyCredential", n => { VerifiedCustomDomainKeyCredential = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.KeyCredential.CreateFromDiscriminatorValue); } }, @@ -423,6 +430,7 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("onPremisesApplicationSegments", OnPremisesApplicationSegments); writer.WriteObjectValue("segmentsConfiguration", SegmentsConfiguration); writer.WriteObjectValue("singleSignOnSettings", SingleSignOnSettings); + writer.WriteEnumValue("trafficRoutingMethod", TrafficRoutingMethod); writer.WriteBoolValue("useAlternateUrlForTranslationAndRedirect", UseAlternateUrlForTranslationAndRedirect); writer.WriteObjectValue("verifiedCustomDomainCertificatesMetadata", VerifiedCustomDomainCertificatesMetadata); writer.WriteObjectValue("verifiedCustomDomainKeyCredential", VerifiedCustomDomainKeyCredential); diff --git a/src/Microsoft.Graph/Generated/Models/OperationApprovalPolicyType.cs b/src/Microsoft.Graph/Generated/Models/OperationApprovalPolicyType.cs index 6dccb2564372..ea8616655d58 100644 --- a/src/Microsoft.Graph/Generated/Models/OperationApprovalPolicyType.cs +++ b/src/Microsoft.Graph/Generated/Models/OperationApprovalPolicyType.cs @@ -10,6 +10,15 @@ public enum OperationApprovalPolicyType /// Default. Indicates that the configured policy type is unknown. Not a valid policy type in an OperationApprovalPolicy. [EnumMember(Value = "unknown")] Unknown, + /// Indicates that the configured policy type is for a Device Wipe Action. + [EnumMember(Value = "deviceWipe")] + DeviceWipe, + /// Indicates that the configured policy type is for a Device Retire Action + [EnumMember(Value = "deviceRetire")] + DeviceRetire, + /// Indicates that the configured policy type is for a Device Delete Action. + [EnumMember(Value = "deviceDelete")] + DeviceDelete, /// Indicates that the configured policy type is an application type, such as mobile apps or built-in apps. [EnumMember(Value = "app")] App, @@ -22,5 +31,8 @@ public enum OperationApprovalPolicyType /// Evolvable enumeration sentinel value. Do not use. [EnumMember(Value = "unknownFutureValue")] UnknownFutureValue, + /// Indicates that the configured policy type is for Tenant Configuration operations. + [EnumMember(Value = "tenantConfiguration")] + TenantConfiguration, } } diff --git a/src/Microsoft.Graph/Generated/Models/OwnerlessGroupPolicy.cs b/src/Microsoft.Graph/Generated/Models/OwnerlessGroupPolicy.cs new file mode 100644 index 000000000000..c96b46fa19bd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OwnerlessGroupPolicy.cs @@ -0,0 +1,142 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OwnerlessGroupPolicy : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The emailInfo property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.EmailDetails? EmailInfo + { + get { return BackingStore?.Get("emailInfo"); } + set { BackingStore?.Set("emailInfo", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.EmailDetails EmailInfo + { + get { return BackingStore?.Get("emailInfo"); } + set { BackingStore?.Set("emailInfo", value); } + } +#endif + /// The enabledGroupIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? EnabledGroupIds + { + get { return BackingStore?.Get?>("enabledGroupIds"); } + set { BackingStore?.Set("enabledGroupIds", value); } + } +#nullable restore +#else + public List EnabledGroupIds + { + get { return BackingStore?.Get>("enabledGroupIds"); } + set { BackingStore?.Set("enabledGroupIds", value); } + } +#endif + /// The isEnabled property + public bool? IsEnabled + { + get { return BackingStore?.Get("isEnabled"); } + set { BackingStore?.Set("isEnabled", value); } + } + /// The maxMembersToNotify property + public long? MaxMembersToNotify + { + get { return BackingStore?.Get("maxMembersToNotify"); } + set { BackingStore?.Set("maxMembersToNotify", value); } + } + /// The notificationDurationInWeeks property + public long? NotificationDurationInWeeks + { + get { return BackingStore?.Get("notificationDurationInWeeks"); } + set { BackingStore?.Set("notificationDurationInWeeks", value); } + } + /// The policyWebUrl property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PolicyWebUrl + { + get { return BackingStore?.Get("policyWebUrl"); } + set { BackingStore?.Set("policyWebUrl", value); } + } +#nullable restore +#else + public string PolicyWebUrl + { + get { return BackingStore?.Get("policyWebUrl"); } + set { BackingStore?.Set("policyWebUrl", value); } + } +#endif + /// The targetOwners property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.TargetOwners? TargetOwners + { + get { return BackingStore?.Get("targetOwners"); } + set { BackingStore?.Set("targetOwners", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.TargetOwners TargetOwners + { + get { return BackingStore?.Get("targetOwners"); } + set { BackingStore?.Set("targetOwners", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.OwnerlessGroupPolicy CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.OwnerlessGroupPolicy(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "emailInfo", n => { EmailInfo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.EmailDetails.CreateFromDiscriminatorValue); } }, + { "enabledGroupIds", n => { EnabledGroupIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, + { "maxMembersToNotify", n => { MaxMembersToNotify = n.GetLongValue(); } }, + { "notificationDurationInWeeks", n => { NotificationDurationInWeeks = n.GetLongValue(); } }, + { "policyWebUrl", n => { PolicyWebUrl = n.GetStringValue(); } }, + { "targetOwners", n => { TargetOwners = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.TargetOwners.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// 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.WriteObjectValue("emailInfo", EmailInfo); + writer.WriteCollectionOfPrimitiveValues("enabledGroupIds", EnabledGroupIds); + writer.WriteBoolValue("isEnabled", IsEnabled); + writer.WriteLongValue("maxMembersToNotify", MaxMembersToNotify); + writer.WriteLongValue("notificationDurationInWeeks", NotificationDurationInWeeks); + writer.WriteStringValue("policyWebUrl", PolicyWebUrl); + writer.WriteObjectValue("targetOwners", TargetOwners); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PlannerTask.cs b/src/Microsoft.Graph/Generated/Models/PlannerTask.cs index 16c2ca46fb07..72d699613477 100644 --- a/src/Microsoft.Graph/Generated/Models/PlannerTask.cs +++ b/src/Microsoft.Graph/Generated/Models/PlannerTask.cs @@ -235,13 +235,13 @@ public DateTimeOffset? DueDateTime get { return BackingStore?.Get("dueDateTime"); } set { BackingStore?.Set("dueDateTime", value); } } - /// The hasChat property + /// Read-only. This value is true if the task has chat messages associated with it. Otherwise, false. public bool? HasChat { get { return BackingStore?.Get("hasChat"); } set { BackingStore?.Set("hasChat", value); } } - /// Read-only. This value is true if the details object of the task has a nonempty description. Otherwise,false. + /// Read-only. This value is true if the details object of the task has a nonempty description. Otherwise, false. public bool? HasDescription { get { return BackingStore?.Get("hasDescription"); } @@ -287,7 +287,23 @@ public DateTimeOffset? LastModifiedDateTime get { return BackingStore?.Get("lastModifiedDateTime"); } set { BackingStore?.Set("lastModifiedDateTime", value); } } - /// The hint used to order items of this type in a list view. For more information, see Using order hints in plannern. + /// Read-only. Nullable. Chat messages associated with the task. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Messages + { + get { return BackingStore?.Get?>("messages"); } + set { BackingStore?.Set("messages", value); } + } +#nullable restore +#else + public List Messages + { + get { return BackingStore?.Get>("messages"); } + set { BackingStore?.Set("messages", value); } + } +#endif + /// The hint used to order items of this type in a list view. For more information, see Using order hints in planner. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? OrderHint @@ -450,6 +466,7 @@ public override IDictionary> GetFieldDeserializers() { "isOnMyDayLastModifiedDate", n => { IsOnMyDayLastModifiedDate = n.GetDateValue(); } }, { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "messages", n => { Messages = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, { "orderHint", n => { OrderHint = n.GetStringValue(); } }, { "percentComplete", n => { PercentComplete = n.GetIntValue(); } }, { "planId", n => { PlanId = n.GetStringValue(); } }, @@ -495,6 +512,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteDateValue("isOnMyDayLastModifiedDate", IsOnMyDayLastModifiedDate); writer.WriteObjectValue("lastModifiedBy", LastModifiedBy); writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + writer.WriteCollectionOfObjectValues("messages", Messages); writer.WriteStringValue("orderHint", OrderHint); writer.WriteIntValue("percentComplete", PercentComplete); writer.WriteStringValue("planId", PlanId); diff --git a/src/Microsoft.Graph/Generated/Models/PlannerTaskChatMention.cs b/src/Microsoft.Graph/Generated/Models/PlannerTaskChatMention.cs new file mode 100644 index 000000000000..a62be3880c90 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PlannerTaskChatMention.cs @@ -0,0 +1,115 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PlannerTaskChatMention : 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 ID of the mentioned user. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Mentioned + { + get { return BackingStore?.Get("mentioned"); } + set { BackingStore?.Set("mentioned", value); } + } +#nullable restore +#else + public string Mentioned + { + get { return BackingStore?.Get("mentioned"); } + set { BackingStore?.Set("mentioned", value); } + } +#endif + /// The mentionType property + public global::Microsoft.Graph.Beta.Models.PlannerTaskChatMentionType? MentionType + { + get { return BackingStore?.Get("mentionType"); } + set { BackingStore?.Set("mentionType", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The zero-based position of the mention in the message content. + public int? Position + { + get { return BackingStore?.Get("position"); } + set { BackingStore?.Set("position", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public PlannerTaskChatMention() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.PlannerTaskChatMention CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.PlannerTaskChatMention(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "mentionType", n => { MentionType = n.GetEnumValue(); } }, + { "mentioned", n => { Mentioned = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "position", n => { Position = n.GetIntValue(); } }, + }; + } + /// + /// 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("mentioned", Mentioned); + writer.WriteEnumValue("mentionType", MentionType); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteIntValue("position", Position); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PlannerTaskChatMentionType.cs b/src/Microsoft.Graph/Generated/Models/PlannerTaskChatMentionType.cs new file mode 100644 index 000000000000..738e50089d2b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PlannerTaskChatMentionType.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum PlannerTaskChatMentionType + #pragma warning restore CS1591 + { + [EnumMember(Value = "user")] + #pragma warning disable CS1591 + User, + #pragma warning restore CS1591 + [EnumMember(Value = "application")] + #pragma warning disable CS1591 + Application, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/PlannerTaskChatMessage.cs b/src/Microsoft.Graph/Generated/Models/PlannerTaskChatMessage.cs new file mode 100644 index 000000000000..00cf6537eea9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PlannerTaskChatMessage.cs @@ -0,0 +1,168 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PlannerTaskChatMessage : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The content of the chat message. Supports plain text and sanitized HTML. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Content + { + get { return BackingStore?.Get("content"); } + set { BackingStore?.Set("content", value); } + } +#nullable restore +#else + public string Content + { + get { return BackingStore?.Get("content"); } + set { BackingStore?.Set("content", value); } + } +#endif + /// The identity of the user who created the message. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#endif + /// The date and time when the message was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// The deletedDateTime property + public DateTimeOffset? DeletedDateTime + { + get { return BackingStore?.Get("deletedDateTime"); } + set { BackingStore?.Set("deletedDateTime", value); } + } + /// The editedDateTime property + public DateTimeOffset? EditedDateTime + { + get { return BackingStore?.Get("editedDateTime"); } + set { BackingStore?.Set("editedDateTime", value); } + } + /// The list of mentions in the message. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Mentions + { + get { return BackingStore?.Get?>("mentions"); } + set { BackingStore?.Set("mentions", value); } + } +#nullable restore +#else + public List Mentions + { + get { return BackingStore?.Get>("mentions"); } + set { BackingStore?.Set("mentions", value); } + } +#endif + /// The messageType property + public global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageType? MessageType + { + get { return BackingStore?.Get("messageType"); } + set { BackingStore?.Set("messageType", value); } + } + /// The ID of the parent plannerTask that this message belongs to. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ParentEntityId + { + get { return BackingStore?.Get("parentEntityId"); } + set { BackingStore?.Set("parentEntityId", value); } + } +#nullable restore +#else + public string ParentEntityId + { + get { return BackingStore?.Get("parentEntityId"); } + set { BackingStore?.Set("parentEntityId", value); } + } +#endif + /// The reactions on the message. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Reactions + { + get { return BackingStore?.Get?>("reactions"); } + set { BackingStore?.Set("reactions", value); } + } +#nullable restore +#else + public List Reactions + { + get { return BackingStore?.Get>("reactions"); } + set { BackingStore?.Set("reactions", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "content", n => { Content = n.GetStringValue(); } }, + { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "deletedDateTime", n => { DeletedDateTime = n.GetDateTimeOffsetValue(); } }, + { "editedDateTime", n => { EditedDateTime = n.GetDateTimeOffsetValue(); } }, + { "mentions", n => { Mentions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMention.CreateFromDiscriminatorValue)?.AsList(); } }, + { "messageType", n => { MessageType = n.GetEnumValue(); } }, + { "parentEntityId", n => { ParentEntityId = n.GetStringValue(); } }, + { "reactions", n => { Reactions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlannerTaskChatReaction.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.WriteStringValue("content", Content); + writer.WriteObjectValue("createdBy", CreatedBy); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteDateTimeOffsetValue("deletedDateTime", DeletedDateTime); + writer.WriteDateTimeOffsetValue("editedDateTime", EditedDateTime); + writer.WriteCollectionOfObjectValues("mentions", Mentions); + writer.WriteEnumValue("messageType", MessageType); + writer.WriteStringValue("parentEntityId", ParentEntityId); + writer.WriteCollectionOfObjectValues("reactions", Reactions); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PlannerTaskChatMessageCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/PlannerTaskChatMessageCollectionResponse.cs new file mode 100644 index 000000000000..596f01f69ede --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PlannerTaskChatMessageCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PlannerTaskChatMessageCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.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/Models/PlannerTaskChatMessageType.cs b/src/Microsoft.Graph/Generated/Models/PlannerTaskChatMessageType.cs new file mode 100644 index 000000000000..6be9b852ec97 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PlannerTaskChatMessageType.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum PlannerTaskChatMessageType + #pragma warning restore CS1591 + { + [EnumMember(Value = "richTextHtml")] + #pragma warning disable CS1591 + RichTextHtml, + #pragma warning restore CS1591 + [EnumMember(Value = "plainText")] + #pragma warning disable CS1591 + PlainText, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/PlannerTaskChatReaction.cs b/src/Microsoft.Graph/Generated/Models/PlannerTaskChatReaction.cs new file mode 100644 index 000000000000..b07a4460f5a0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PlannerTaskChatReaction.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PlannerTaskChatReaction : 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 OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The reactionEvents property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ReactionEvents + { + get { return BackingStore?.Get?>("reactionEvents"); } + set { BackingStore?.Set("reactionEvents", value); } + } +#nullable restore +#else + public List ReactionEvents + { + get { return BackingStore?.Get>("reactionEvents"); } + set { BackingStore?.Set("reactionEvents", value); } + } +#endif + /// The type of reaction, such as like, heart, or emoji characters. +#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 PlannerTaskChatReaction() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.PlannerTaskChatReaction CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.PlannerTaskChatReaction(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "reactionEvents", n => { ReactionEvents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlannerTaskChatReactionEvent.CreateFromDiscriminatorValue)?.AsList(); } }, + { "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("@odata.type", OdataType); + writer.WriteCollectionOfObjectValues("reactionEvents", ReactionEvents); + writer.WriteStringValue("reactionType", ReactionType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PlannerTaskChatReactionEvent.cs b/src/Microsoft.Graph/Generated/Models/PlannerTaskChatReactionEvent.cs new file mode 100644 index 000000000000..f41f790ebd16 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PlannerTaskChatReactionEvent.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PlannerTaskChatReactionEvent : 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 createdBy property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#endif + /// The date and time when the reaction was added. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public PlannerTaskChatReactionEvent() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.PlannerTaskChatReactionEvent CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.PlannerTaskChatReactionEvent(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("createdBy", CreatedBy); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PolicyRoot.cs b/src/Microsoft.Graph/Generated/Models/PolicyRoot.cs index ef8a0b6c663f..a897ce807b5f 100644 --- a/src/Microsoft.Graph/Generated/Models/PolicyRoot.cs +++ b/src/Microsoft.Graph/Generated/Models/PolicyRoot.cs @@ -411,6 +411,22 @@ public partial class PolicyRoot : global::Microsoft.Graph.Beta.Models.Entity, IP get { return BackingStore?.Get>("onPremAuthenticationPolicies"); } set { BackingStore?.Set("onPremAuthenticationPolicies", value); } } +#endif + /// The ownerlessGroupPolicy property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.OwnerlessGroupPolicy? OwnerlessGroupPolicy + { + get { return BackingStore?.Get("ownerlessGroupPolicy"); } + set { BackingStore?.Set("ownerlessGroupPolicy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.OwnerlessGroupPolicy OwnerlessGroupPolicy + { + get { return BackingStore?.Get("ownerlessGroupPolicy"); } + set { BackingStore?.Set("ownerlessGroupPolicy", value); } + } #endif /// The policy that specifies the conditions under which consent can be granted. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -567,6 +583,7 @@ public override IDictionary> GetFieldDeserializers() { "mobileAppManagementPolicies", n => { MobileAppManagementPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.MobileAppManagementPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "mobileDeviceManagementPolicies", n => { MobileDeviceManagementPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.MobileDeviceManagementPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "onPremAuthenticationPolicies", n => { OnPremAuthenticationPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.OnPremAuthenticationPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, + { "ownerlessGroupPolicy", n => { OwnerlessGroupPolicy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.OwnerlessGroupPolicy.CreateFromDiscriminatorValue); } }, { "permissionGrantPolicies", n => { PermissionGrantPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PermissionGrantPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "permissionGrantPreApprovalPolicies", n => { PermissionGrantPreApprovalPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PermissionGrantPreApprovalPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "roleManagementPolicies", n => { RoleManagementPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.UnifiedRoleManagementPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -609,6 +626,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("mobileAppManagementPolicies", MobileAppManagementPolicies); writer.WriteCollectionOfObjectValues("mobileDeviceManagementPolicies", MobileDeviceManagementPolicies); writer.WriteCollectionOfObjectValues("onPremAuthenticationPolicies", OnPremAuthenticationPolicies); + writer.WriteObjectValue("ownerlessGroupPolicy", OwnerlessGroupPolicy); writer.WriteCollectionOfObjectValues("permissionGrantPolicies", PermissionGrantPolicies); writer.WriteCollectionOfObjectValues("permissionGrantPreApprovalPolicies", PermissionGrantPreApprovalPolicies); writer.WriteCollectionOfObjectValues("roleManagementPolicies", RoleManagementPolicies); diff --git a/src/Microsoft.Graph/Generated/Models/PrivilegeLevel.cs b/src/Microsoft.Graph/Generated/Models/PrivilegeLevel.cs new file mode 100644 index 000000000000..d23b0a8b961c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PrivilegeLevel.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum PrivilegeLevel + #pragma warning restore CS1591 + { + [EnumMember(Value = "standard")] + #pragma warning disable CS1591 + Standard, + #pragma warning restore CS1591 + [EnumMember(Value = "privileged")] + #pragma warning disable CS1591 + Privileged, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ProcessContentMetadataBase.cs b/src/Microsoft.Graph/Generated/Models/ProcessContentMetadataBase.cs index 440fddd78806..11867a7b7ebf 100644 --- a/src/Microsoft.Graph/Generated/Models/ProcessContentMetadataBase.cs +++ b/src/Microsoft.Graph/Generated/Models/ProcessContentMetadataBase.cs @@ -37,6 +37,12 @@ public IDictionary AdditionalData set { BackingStore?.Set("content", value); } } #endif + /// The type of content. The possible values are: none, ai, unknownFutureValue. The default value is ai, which refers to AI generated content. + public global::Microsoft.Graph.Beta.Models.ContentCategory? ContentCategory + { + get { return BackingStore?.Get("contentCategory"); } + set { BackingStore?.Set("contentCategory", value); } + } /// An identifier used to group multiple related content entries (for example, different parts of the same file upload, messages in a conversation). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -165,6 +171,7 @@ public virtual IDictionary> GetFieldDeserializers() return new Dictionary> { { "content", n => { Content = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ContentBase.CreateFromDiscriminatorValue); } }, + { "contentCategory", n => { ContentCategory = n.GetEnumValue(); } }, { "correlationId", n => { CorrelationId = n.GetStringValue(); } }, { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, { "identifier", n => { Identifier = n.GetStringValue(); } }, @@ -184,6 +191,7 @@ public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); writer.WriteObjectValue("content", Content); + writer.WriteEnumValue("contentCategory", ContentCategory); writer.WriteStringValue("correlationId", CorrelationId); writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); writer.WriteStringValue("identifier", Identifier); diff --git a/src/Microsoft.Graph/Generated/Models/ProfileCardProperty.cs b/src/Microsoft.Graph/Generated/Models/ProfileCardProperty.cs index 544001256f3a..89dc7c785d87 100644 --- a/src/Microsoft.Graph/Generated/Models/ProfileCardProperty.cs +++ b/src/Microsoft.Graph/Generated/Models/ProfileCardProperty.cs @@ -44,6 +44,12 @@ public string DirectoryPropertyName set { BackingStore?.Set("directoryPropertyName", value); } } #endif + /// The isVisible property + public bool? IsVisible + { + get { return BackingStore?.Get("isVisible"); } + set { BackingStore?.Set("isVisible", value); } + } /// /// Creates a new instance of the appropriate class based on discriminator value /// @@ -64,6 +70,7 @@ public override IDictionary> GetFieldDeserializers() { { "annotations", n => { Annotations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProfileCardAnnotation.CreateFromDiscriminatorValue)?.AsList(); } }, { "directoryPropertyName", n => { DirectoryPropertyName = n.GetStringValue(); } }, + { "isVisible", n => { IsVisible = n.GetBoolValue(); } }, }; } /// @@ -76,6 +83,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteCollectionOfObjectValues("annotations", Annotations); writer.WriteStringValue("directoryPropertyName", DirectoryPropertyName); + writer.WriteBoolValue("isVisible", IsVisible); } } } diff --git a/src/Microsoft.Graph/Generated/Models/ProfilePropertySetting.cs b/src/Microsoft.Graph/Generated/Models/ProfilePropertySetting.cs index 01ccca6d816d..f380d8057f70 100644 --- a/src/Microsoft.Graph/Generated/Models/ProfilePropertySetting.cs +++ b/src/Microsoft.Graph/Generated/Models/ProfilePropertySetting.cs @@ -12,19 +12,23 @@ namespace Microsoft.Graph.Beta.Models public partial class ProfilePropertySetting : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// A privacy setting that reflects the allowed audience for the configured property. The possible values are: me, organization, federatedOrganizations, everyone, unknownFutureValue. - public global::Microsoft.Graph.Beta.Models.OrganizationAllowedAudiences? AllowedAudiences + /// Name of the property-level setting. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName { - get { return BackingStore?.Get("allowedAudiences"); } - set { BackingStore?.Set("allowedAudiences", value); } + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } } - /// Defines whether a user is allowed to override the tenant admin privacy setting. - public bool? IsUserOverrideForAudienceEnabled +#nullable restore +#else + public string DisplayName { - get { return BackingStore?.Get("isUserOverrideForAudienceEnabled"); } - set { BackingStore?.Set("isUserOverrideForAudienceEnabled", value); } + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } } - /// Name of the property-level setting. +#endif + /// Other name of the property-level setting. For backward compatibility. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Name @@ -74,8 +78,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - { "allowedAudiences", n => { AllowedAudiences = n.GetEnumValue(); } }, - { "isUserOverrideForAudienceEnabled", n => { IsUserOverrideForAudienceEnabled = n.GetBoolValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "name", n => { Name = n.GetStringValue(); } }, { "prioritizedSourceUrls", n => { PrioritizedSourceUrls = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, }; @@ -88,8 +91,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); - writer.WriteEnumValue("allowedAudiences", AllowedAudiences); - writer.WriteBoolValue("isUserOverrideForAudienceEnabled", IsUserOverrideForAudienceEnabled); + writer.WriteStringValue("displayName", DisplayName); writer.WriteStringValue("name", Name); writer.WriteCollectionOfPrimitiveValues("prioritizedSourceUrls", PrioritizedSourceUrls); } diff --git a/src/Microsoft.Graph/Generated/Models/ProfileSource.cs b/src/Microsoft.Graph/Generated/Models/ProfileSource.cs index 115bfd828b24..83cb0046d5e8 100644 --- a/src/Microsoft.Graph/Generated/Models/ProfileSource.cs +++ b/src/Microsoft.Graph/Generated/Models/ProfileSource.cs @@ -76,7 +76,7 @@ public string SourceId set { BackingStore?.Set("sourceId", value); } } #endif - /// Web URL of the profile source that directs users to the page view of profile data. + /// Web URL of the profile source that directs users to the page view of the profile data. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? WebUrl diff --git a/src/Microsoft.Graph/Generated/Models/ProtectionPolicyBase.cs b/src/Microsoft.Graph/Generated/Models/ProtectionPolicyBase.cs index 2e9c2149f735..07a9c331453e 100644 --- a/src/Microsoft.Graph/Generated/Models/ProtectionPolicyBase.cs +++ b/src/Microsoft.Graph/Generated/Models/ProtectionPolicyBase.cs @@ -28,7 +28,7 @@ public string BillingPolicyId set { BackingStore?.Set("billingPolicyId", value); } } #endif - /// The identity of person who created the policy. + /// The identity of the person who created the policy. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.IdentitySet? CreatedBy @@ -50,7 +50,7 @@ public DateTimeOffset? CreatedDateTime get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// The name of the policy to be created. + /// The name of the policy. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -94,7 +94,7 @@ public DateTimeOffset? LastModifiedDateTime get { return BackingStore?.Get("lastModifiedDateTime"); } set { BackingStore?.Set("lastModifiedDateTime", value); } } - /// The offboardRequestedDateTime property + /// The date and time when offboarding was requested for the protection policy. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? OffboardRequestedDateTime { get { return BackingStore?.Get("offboardRequestedDateTime"); } @@ -138,7 +138,7 @@ public DateTimeOffset? OffboardRequestedDateTime set { BackingStore?.Set("retentionSettings", value); } } #endif - /// The aggregated status of the protection units associated with the policy. The possible values are: inactive, activeWithErrors, updating, active, unknownFutureValue. + /// The aggregated status of the protection units associated with the policy. The possible values are: inactive, activeWithErrors, updating, active, unknownFutureValue, offboardRequested, offboarded. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: offboardRequested, offboarded. public global::Microsoft.Graph.Beta.Models.ProtectionPolicyStatus? Status { get { return BackingStore?.Get("status"); } diff --git a/src/Microsoft.Graph/Generated/Models/ProtectionUnitBase.cs b/src/Microsoft.Graph/Generated/Models/ProtectionUnitBase.cs index e8a48f673db3..e09351108164 100644 --- a/src/Microsoft.Graph/Generated/Models/ProtectionUnitBase.cs +++ b/src/Microsoft.Graph/Generated/Models/ProtectionUnitBase.cs @@ -12,6 +12,12 @@ namespace Microsoft.Graph.Beta.Models public partial class ProtectionUnitBase : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { + /// The retention period of the backup, in days. + public int? BackupRetentionPeriodInDays + { + get { return BackingStore?.Get("backupRetentionPeriodInDays"); } + set { BackingStore?.Set("backupRetentionPeriodInDays", value); } + } /// The identity of person who created the protection unit. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -131,6 +137,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "backupRetentionPeriodInDays", n => { BackupRetentionPeriodInDays = n.GetIntValue(); } }, { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, { "error", n => { Error = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.PublicError.CreateFromDiscriminatorValue); } }, @@ -150,6 +157,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteIntValue("backupRetentionPeriodInDays", BackupRetentionPeriodInDays); writer.WriteObjectValue("createdBy", CreatedBy); writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); writer.WriteObjectValue("error", Error); diff --git a/src/Microsoft.Graph/Generated/Models/ProtectionUnitDetails.cs b/src/Microsoft.Graph/Generated/Models/ProtectionUnitDetails.cs new file mode 100644 index 000000000000..0514ff5098fd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ProtectionUnitDetails.cs @@ -0,0 +1,139 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ProtectionUnitDetails : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The addedCount property + public int? AddedCount + { + get { return BackingStore?.Get("addedCount"); } + set { BackingStore?.Set("addedCount", 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 backupConfigurationType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? BackupConfigurationType + { + get { return BackingStore?.Get("backupConfigurationType"); } + set { BackingStore?.Set("backupConfigurationType", value); } + } +#nullable restore +#else + public string BackupConfigurationType + { + get { return BackingStore?.Get("backupConfigurationType"); } + set { BackingStore?.Set("backupConfigurationType", value); } + } +#endif + /// The failedCount property + public int? FailedCount + { + get { return BackingStore?.Get("failedCount"); } + set { BackingStore?.Set("failedCount", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The removedCount property + public int? RemovedCount + { + get { return BackingStore?.Get("removedCount"); } + set { BackingStore?.Set("removedCount", value); } + } + /// The requestedToAddCount property + public int? RequestedToAddCount + { + get { return BackingStore?.Get("requestedToAddCount"); } + set { BackingStore?.Set("requestedToAddCount", value); } + } + /// The requestedToRemoveCount property + public int? RequestedToRemoveCount + { + get { return BackingStore?.Get("requestedToRemoveCount"); } + set { BackingStore?.Set("requestedToRemoveCount", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ProtectionUnitDetails() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.ProtectionUnitDetails CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ProtectionUnitDetails(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "addedCount", n => { AddedCount = n.GetIntValue(); } }, + { "backupConfigurationType", n => { BackupConfigurationType = n.GetStringValue(); } }, + { "failedCount", n => { FailedCount = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "removedCount", n => { RemovedCount = n.GetIntValue(); } }, + { "requestedToAddCount", n => { RequestedToAddCount = n.GetIntValue(); } }, + { "requestedToRemoveCount", n => { RequestedToRemoveCount = n.GetIntValue(); } }, + }; + } + /// + /// 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("addedCount", AddedCount); + writer.WriteStringValue("backupConfigurationType", BackupConfigurationType); + writer.WriteIntValue("failedCount", FailedCount); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteIntValue("removedCount", RemovedCount); + writer.WriteIntValue("requestedToAddCount", RequestedToAddCount); + writer.WriteIntValue("requestedToRemoveCount", RequestedToRemoveCount); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/RemoteAction.cs b/src/Microsoft.Graph/Generated/Models/RemoteAction.cs index 09f23677ea2f..bff92130ab45 100644 --- a/src/Microsoft.Graph/Generated/Models/RemoteAction.cs +++ b/src/Microsoft.Graph/Generated/Models/RemoteAction.cs @@ -124,5 +124,11 @@ public enum RemoteAction /// Indicates remote device action to delete a device from Intune portal. [EnumMember(Value = "delete")] Delete, + /// Indicates remote device action to temporarily suspend the Managed Home Screen kiosk app. + [EnumMember(Value = "suspendManagedHomeScreen")] + SuspendManagedHomeScreen, + /// Indicates remote device action to restore the Managed Home Screen kiosk app. + [EnumMember(Value = "restoreManagedHomeScreen")] + RestoreManagedHomeScreen, } } diff --git a/src/Microsoft.Graph/Generated/Models/RestoreArtifactDetails.cs b/src/Microsoft.Graph/Generated/Models/RestoreArtifactDetails.cs new file mode 100644 index 000000000000..420faad39272 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RestoreArtifactDetails.cs @@ -0,0 +1,105 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RestoreArtifactDetails : 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 failedCount property + public int? FailedCount + { + get { return BackingStore?.Get("failedCount"); } + set { BackingStore?.Set("failedCount", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The restoredCount property + public int? RestoredCount + { + get { return BackingStore?.Get("restoredCount"); } + set { BackingStore?.Set("restoredCount", value); } + } + /// The totalArtifactsCount property + public int? TotalArtifactsCount + { + get { return BackingStore?.Get("totalArtifactsCount"); } + set { BackingStore?.Set("totalArtifactsCount", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public RestoreArtifactDetails() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.RestoreArtifactDetails CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.RestoreArtifactDetails(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "failedCount", n => { FailedCount = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "restoredCount", n => { RestoredCount = n.GetIntValue(); } }, + { "totalArtifactsCount", n => { TotalArtifactsCount = n.GetIntValue(); } }, + }; + } + /// + /// 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("failedCount", FailedCount); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteIntValue("restoredCount", RestoredCount); + writer.WriteIntValue("totalArtifactsCount", TotalArtifactsCount); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/RestorePoint.cs b/src/Microsoft.Graph/Generated/Models/RestorePoint.cs index b0a263c8047a..fe613ac7f975 100644 --- a/src/Microsoft.Graph/Generated/Models/RestorePoint.cs +++ b/src/Microsoft.Graph/Generated/Models/RestorePoint.cs @@ -40,7 +40,7 @@ public DateTimeOffset? ProtectionDateTime set { BackingStore?.Set("protectionUnit", value); } } #endif - /// The type of the restore point. The possible values are: none, fastRestore, unknownFutureValue. + /// The type of the restore point. The possible values are: none, fastRestore, unknownFutureValue, includeNewerItems. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: includeNewerItems. public global::Microsoft.Graph.Beta.Models.RestorePointTags? Tags { get { return BackingStore?.Get("tags"); } diff --git a/src/Microsoft.Graph/Generated/Models/RestorePointTags.cs b/src/Microsoft.Graph/Generated/Models/RestorePointTags.cs index a87f46812ad9..6dc8cd39ae49 100644 --- a/src/Microsoft.Graph/Generated/Models/RestorePointTags.cs +++ b/src/Microsoft.Graph/Generated/Models/RestorePointTags.cs @@ -21,5 +21,9 @@ public enum RestorePointTags #pragma warning disable CS1591 UnknownFutureValue = 4, #pragma warning restore CS1591 + [EnumMember(Value = "includeNewerItems")] + #pragma warning disable CS1591 + IncludeNewerItems = 8, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/RestoreTaskActivityLog.cs b/src/Microsoft.Graph/Generated/Models/RestoreTaskActivityLog.cs new file mode 100644 index 000000000000..3468d9d7e44b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RestoreTaskActivityLog.cs @@ -0,0 +1,121 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RestoreTaskActivityLog : global::Microsoft.Graph.Beta.Models.ActivityLogBase, IParsable + #pragma warning restore CS1591 + { + /// The destinationType property + public global::Microsoft.Graph.Beta.Models.DestinationType? DestinationType + { + get { return BackingStore?.Get("destinationType"); } + set { BackingStore?.Set("destinationType", value); } + } + /// The restoreArtifactDetails property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.RestoreArtifactDetails? RestoreArtifactDetails + { + get { return BackingStore?.Get("restoreArtifactDetails"); } + set { BackingStore?.Set("restoreArtifactDetails", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.RestoreArtifactDetails RestoreArtifactDetails + { + get { return BackingStore?.Get("restoreArtifactDetails"); } + set { BackingStore?.Set("restoreArtifactDetails", value); } + } +#endif + /// The restoreCompletionDateTime property + public DateTimeOffset? RestoreCompletionDateTime + { + get { return BackingStore?.Get("restoreCompletionDateTime"); } + set { BackingStore?.Set("restoreCompletionDateTime", value); } + } + /// The restoreSessionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RestoreSessionId + { + get { return BackingStore?.Get("restoreSessionId"); } + set { BackingStore?.Set("restoreSessionId", value); } + } +#nullable restore +#else + public string RestoreSessionId + { + get { return BackingStore?.Get("restoreSessionId"); } + set { BackingStore?.Set("restoreSessionId", value); } + } +#endif + /// The restoreSessionStatus property + public global::Microsoft.Graph.Beta.Models.RestoreSessionStatus? RestoreSessionStatus + { + get { return BackingStore?.Get("restoreSessionStatus"); } + set { BackingStore?.Set("restoreSessionStatus", value); } + } + /// The tags property + public global::Microsoft.Graph.Beta.Models.RestorePointTags? Tags + { + get { return BackingStore?.Get("tags"); } + set { BackingStore?.Set("tags", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public RestoreTaskActivityLog() : base() + { + OdataType = "#microsoft.graph.restoreTaskActivityLog"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.RestoreTaskActivityLog CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.RestoreTaskActivityLog(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "destinationType", n => { DestinationType = n.GetEnumValue(); } }, + { "restoreArtifactDetails", n => { RestoreArtifactDetails = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.RestoreArtifactDetails.CreateFromDiscriminatorValue); } }, + { "restoreCompletionDateTime", n => { RestoreCompletionDateTime = n.GetDateTimeOffsetValue(); } }, + { "restoreSessionId", n => { RestoreSessionId = n.GetStringValue(); } }, + { "restoreSessionStatus", n => { RestoreSessionStatus = n.GetEnumValue(); } }, + { "tags", n => { Tags = n.GetEnumValue(); } }, + }; + } + /// + /// 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.WriteEnumValue("destinationType", DestinationType); + writer.WriteObjectValue("restoreArtifactDetails", RestoreArtifactDetails); + writer.WriteDateTimeOffsetValue("restoreCompletionDateTime", RestoreCompletionDateTime); + writer.WriteStringValue("restoreSessionId", RestoreSessionId); + writer.WriteEnumValue("restoreSessionStatus", RestoreSessionStatus); + writer.WriteEnumValue("tags", Tags); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SamsungEFotaFirmwareVersion.cs b/src/Microsoft.Graph/Generated/Models/SamsungEFotaFirmwareVersion.cs new file mode 100644 index 000000000000..3db0e8a8ac82 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SamsungEFotaFirmwareVersion.cs @@ -0,0 +1,270 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// The firmware version from Samsung for a specific device model, sales code, and CSC (Consumer Software Customization). Used to create Samsung E-FOTA deployments. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SamsungEFotaFirmwareVersion : IAdditionalDataHolder, IBackedModel, IParsable + { + /// 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 Android Processor version name. This property is populated by Samsung. Eg. 'G960U1UES9FVD1'. Default value: null. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AndroidProcessorVersionName + { + get { return BackingStore?.Get("androidProcessorVersionName"); } + set { BackingStore?.Set("androidProcessorVersionName", value); } + } +#nullable restore +#else + public string AndroidProcessorVersionName + { + get { return BackingStore?.Get("androidProcessorVersionName"); } + set { BackingStore?.Set("androidProcessorVersionName", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The Consumer Software Customization which is a specific code associated with the region or carrier customization of a Samsung device. This property is populated by Samsung. Eg. 'OYM'. Read-only. Returned by default. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ConsumerSoftwareCustomizationCode + { + get { return BackingStore?.Get("consumerSoftwareCustomizationCode"); } + set { BackingStore?.Set("consumerSoftwareCustomizationCode", value); } + } +#nullable restore +#else + public string ConsumerSoftwareCustomizationCode + { + get { return BackingStore?.Get("consumerSoftwareCustomizationCode"); } + set { BackingStore?.Set("consumerSoftwareCustomizationCode", value); } + } +#endif + /// The firmware description. This property is populated by Samsung. Default value: null. Read-only. +#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 + /// Samsung device model. This property is populated by Samsung. Eg. 'SM-960F'. Read-only. Returned by default. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DeviceModelName + { + get { return BackingStore?.Get("deviceModelName"); } + set { BackingStore?.Set("deviceModelName", value); } + } +#nullable restore +#else + public string DeviceModelName + { + get { return BackingStore?.Get("deviceModelName"); } + set { BackingStore?.Set("deviceModelName", value); } + } +#endif + /// The firmware version. This property is populated by Samsung Eg. 'T575XXU4EAAA/T575OXM4EAAA/T575XXU4EAAA'. Default value: null. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? FirmwareVersion + { + get { return BackingStore?.Get("firmwareVersion"); } + set { BackingStore?.Set("firmwareVersion", value); } + } +#nullable restore +#else + public string FirmwareVersion + { + get { return BackingStore?.Get("firmwareVersion"); } + set { BackingStore?.Set("firmwareVersion", value); } + } +#endif + /// Firmware ID from Samsung. This property is populated by Samsung. Eg. 'FW2022033111797487'. Read-only. Returned by default. +#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 OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The OS version name. This property is populated by Samsung. Eg. 'Pie(Android 9)'. Default value: null. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OsVersionName + { + get { return BackingStore?.Get("osVersionName"); } + set { BackingStore?.Set("osVersionName", value); } + } +#nullable restore +#else + public string OsVersionName + { + get { return BackingStore?.Get("osVersionName"); } + set { BackingStore?.Set("osVersionName", value); } + } +#endif + /// Firmware release date. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. This property is populated by Samsung. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Default value: null. Read-only. + public DateTimeOffset? ReleaseDateTime + { + get { return BackingStore?.Get("releaseDateTime"); } + set { BackingStore?.Set("releaseDateTime", value); } + } + /// The firmware request type. This property is populated by Samsung Eg. 'NORMAL'. Default value: null. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RequestFirmwareTypeName + { + get { return BackingStore?.Get("requestFirmwareTypeName"); } + set { BackingStore?.Set("requestFirmwareTypeName", value); } + } +#nullable restore +#else + public string RequestFirmwareTypeName + { + get { return BackingStore?.Get("requestFirmwareTypeName"); } + set { BackingStore?.Set("requestFirmwareTypeName", value); } + } +#endif + /// Sales code of a Samsung device that corresponds to its georgraphic area or carrier network. This property is populated by Samsung. Eg. 'TMB'. Read-only. Returned by default. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SalesCode + { + get { return BackingStore?.Get("salesCode"); } + set { BackingStore?.Set("salesCode", value); } + } +#nullable restore +#else + public string SalesCode + { + get { return BackingStore?.Get("salesCode"); } + set { BackingStore?.Set("salesCode", value); } + } +#endif + /// The firmware security patch. This property is populated by Samsung Eg. '2023-09-07 07:50:57'. Default value: null. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SecurityPatchVersion + { + get { return BackingStore?.Get("securityPatchVersion"); } + set { BackingStore?.Set("securityPatchVersion", value); } + } +#nullable restore +#else + public string SecurityPatchVersion + { + get { return BackingStore?.Get("securityPatchVersion"); } + set { BackingStore?.Set("securityPatchVersion", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SamsungEFotaFirmwareVersion() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.SamsungEFotaFirmwareVersion CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.SamsungEFotaFirmwareVersion(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "androidProcessorVersionName", n => { AndroidProcessorVersionName = n.GetStringValue(); } }, + { "consumerSoftwareCustomizationCode", n => { ConsumerSoftwareCustomizationCode = n.GetStringValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "deviceModelName", n => { DeviceModelName = n.GetStringValue(); } }, + { "firmwareVersion", n => { FirmwareVersion = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "osVersionName", n => { OsVersionName = n.GetStringValue(); } }, + { "releaseDateTime", n => { ReleaseDateTime = n.GetDateTimeOffsetValue(); } }, + { "requestFirmwareTypeName", n => { RequestFirmwareTypeName = n.GetStringValue(); } }, + { "salesCode", n => { SalesCode = n.GetStringValue(); } }, + { "securityPatchVersion", n => { SecurityPatchVersion = 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("androidProcessorVersionName", AndroidProcessorVersionName); + writer.WriteStringValue("consumerSoftwareCustomizationCode", ConsumerSoftwareCustomizationCode); + writer.WriteStringValue("description", Description); + writer.WriteStringValue("deviceModelName", DeviceModelName); + writer.WriteStringValue("firmwareVersion", FirmwareVersion); + writer.WriteStringValue("id", Id); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("osVersionName", OsVersionName); + writer.WriteDateTimeOffsetValue("releaseDateTime", ReleaseDateTime); + writer.WriteStringValue("requestFirmwareTypeName", RequestFirmwareTypeName); + writer.WriteStringValue("salesCode", SalesCode); + writer.WriteStringValue("securityPatchVersion", SecurityPatchVersion); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CorrelationReason.cs b/src/Microsoft.Graph/Generated/Models/Security/CorrelationReason.cs new file mode 100644 index 000000000000..012c0f2dcf7b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CorrelationReason.cs @@ -0,0 +1,85 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum CorrelationReason + #pragma warning restore CS1591 + { + [EnumMember(Value = "repeatedAlertOccurrence")] + #pragma warning disable CS1591 + RepeatedAlertOccurrence = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "sameGeography")] + #pragma warning disable CS1591 + SameGeography = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "similarArtifacts")] + #pragma warning disable CS1591 + SimilarArtifacts = 4, + #pragma warning restore CS1591 + [EnumMember(Value = "sameTargetedAsset")] + #pragma warning disable CS1591 + SameTargetedAsset = 8, + #pragma warning restore CS1591 + [EnumMember(Value = "sameNetworkSegment")] + #pragma warning disable CS1591 + SameNetworkSegment = 16, + #pragma warning restore CS1591 + [EnumMember(Value = "eventSequence")] + #pragma warning disable CS1591 + EventSequence = 32, + #pragma warning restore CS1591 + [EnumMember(Value = "timeFrame")] + #pragma warning disable CS1591 + TimeFrame = 64, + #pragma warning restore CS1591 + [EnumMember(Value = "sameThreatSource")] + #pragma warning disable CS1591 + SameThreatSource = 128, + #pragma warning restore CS1591 + [EnumMember(Value = "similarTTPsOrBehavior")] + #pragma warning disable CS1591 + SimilarTTPsOrBehavior = 256, + #pragma warning restore CS1591 + [EnumMember(Value = "sameActor")] + #pragma warning disable CS1591 + SameActor = 512, + #pragma warning restore CS1591 + [EnumMember(Value = "sameCampaign")] + #pragma warning disable CS1591 + SameCampaign = 1024, + #pragma warning restore CS1591 + [EnumMember(Value = "sharedIndicators")] + #pragma warning disable CS1591 + SharedIndicators = 2048, + #pragma warning restore CS1591 + [EnumMember(Value = "sameAsset")] + #pragma warning disable CS1591 + SameAsset = 4096, + #pragma warning restore CS1591 + [EnumMember(Value = "networkProximity")] + #pragma warning disable CS1591 + NetworkProximity = 8192, + #pragma warning restore CS1591 + [EnumMember(Value = "eventCasualSequence")] + #pragma warning disable CS1591 + EventCasualSequence = 16384, + #pragma warning restore CS1591 + [EnumMember(Value = "temporalProximity")] + #pragma warning disable CS1591 + TemporalProximity = 32768, + #pragma warning restore CS1591 + [EnumMember(Value = "lateralMovementPath")] + #pragma warning disable CS1591 + LateralMovementPath = 65536, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 131072, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/Dlp/AppAccessContext.cs b/src/Microsoft.Graph/Generated/Models/Security/Dlp/AppAccessContext.cs new file mode 100644 index 000000000000..0da8a6a9400c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/Dlp/AppAccessContext.cs @@ -0,0 +1,198 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security.Dlp +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AppAccessContext : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The aadSessionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AadSessionId + { + get { return BackingStore?.Get("aadSessionId"); } + set { BackingStore?.Set("aadSessionId", value); } + } +#nullable restore +#else + public string AadSessionId + { + get { return BackingStore?.Get("aadSessionId"); } + set { BackingStore?.Set("aadSessionId", 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 apiId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ApiId + { + get { return BackingStore?.Get("apiId"); } + set { BackingStore?.Set("apiId", value); } + } +#nullable restore +#else + public string ApiId + { + get { return BackingStore?.Get("apiId"); } + set { BackingStore?.Set("apiId", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The clientAppId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ClientAppId + { + get { return BackingStore?.Get("clientAppId"); } + set { BackingStore?.Set("clientAppId", value); } + } +#nullable restore +#else + public string ClientAppId + { + get { return BackingStore?.Get("clientAppId"); } + set { BackingStore?.Set("clientAppId", value); } + } +#endif + /// The clientAppName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ClientAppName + { + get { return BackingStore?.Get("clientAppName"); } + set { BackingStore?.Set("clientAppName", value); } + } +#nullable restore +#else + public string ClientAppName + { + get { return BackingStore?.Get("clientAppName"); } + set { BackingStore?.Set("clientAppName", value); } + } +#endif + /// The correlationId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CorrelationId + { + get { return BackingStore?.Get("correlationId"); } + set { BackingStore?.Set("correlationId", value); } + } +#nullable restore +#else + public string CorrelationId + { + get { return BackingStore?.Get("correlationId"); } + set { BackingStore?.Set("correlationId", value); } + } +#endif + /// The issuedAtDate property + public Date? IssuedAtDate + { + get { return BackingStore?.Get("issuedAtDate"); } + set { BackingStore?.Set("issuedAtDate", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The uniqueTokenId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UniqueTokenId + { + get { return BackingStore?.Get("uniqueTokenId"); } + set { BackingStore?.Set("uniqueTokenId", value); } + } +#nullable restore +#else + public string UniqueTokenId + { + get { return BackingStore?.Get("uniqueTokenId"); } + set { BackingStore?.Set("uniqueTokenId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AppAccessContext() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Security.Dlp.AppAccessContext CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.Dlp.AppAccessContext(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "aadSessionId", n => { AadSessionId = n.GetStringValue(); } }, + { "apiId", n => { ApiId = n.GetStringValue(); } }, + { "clientAppId", n => { ClientAppId = n.GetStringValue(); } }, + { "clientAppName", n => { ClientAppName = n.GetStringValue(); } }, + { "correlationId", n => { CorrelationId = n.GetStringValue(); } }, + { "issuedAtDate", n => { IssuedAtDate = n.GetDateValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "uniqueTokenId", n => { UniqueTokenId = 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("aadSessionId", AadSessionId); + writer.WriteStringValue("apiId", ApiId); + writer.WriteStringValue("clientAppId", ClientAppId); + writer.WriteStringValue("clientAppName", ClientAppName); + writer.WriteStringValue("correlationId", CorrelationId); + writer.WriteDateValue("issuedAtDate", IssuedAtDate); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("uniqueTokenId", UniqueTokenId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/Dlp/AttachmentInfo.cs b/src/Microsoft.Graph/Generated/Models/Security/Dlp/AttachmentInfo.cs new file mode 100644 index 000000000000..959b2840a6f1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/Dlp/AttachmentInfo.cs @@ -0,0 +1,169 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security.Dlp +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AttachmentInfo : 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 checksum property + public long? Checksum + { + get { return BackingStore?.Get("checksum"); } + set { BackingStore?.Set("checksum", value); } + } + /// The labelNames property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? LabelNames + { + get { return BackingStore?.Get?>("labelNames"); } + set { BackingStore?.Set("labelNames", value); } + } +#nullable restore +#else + public List LabelNames + { + get { return BackingStore?.Get>("labelNames"); } + set { BackingStore?.Set("labelNames", value); } + } +#endif + /// The labels property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Labels + { + get { return BackingStore?.Get?>("labels"); } + set { BackingStore?.Set("labels", value); } + } +#nullable restore +#else + public List Labels + { + get { return BackingStore?.Get>("labels"); } + set { BackingStore?.Set("labels", value); } + } +#endif + /// The name property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#nullable restore +#else + public string Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The sensitiveInformationDetails property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SensitiveInformationDetails + { + get { return BackingStore?.Get?>("sensitiveInformationDetails"); } + set { BackingStore?.Set("sensitiveInformationDetails", value); } + } +#nullable restore +#else + public List SensitiveInformationDetails + { + get { return BackingStore?.Get>("sensitiveInformationDetails"); } + set { BackingStore?.Set("sensitiveInformationDetails", value); } + } +#endif + /// The size property + public long? Size + { + get { return BackingStore?.Get("size"); } + set { BackingStore?.Set("size", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public AttachmentInfo() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Security.Dlp.AttachmentInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.Dlp.AttachmentInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "checksum", n => { Checksum = n.GetLongValue(); } }, + { "labelNames", n => { LabelNames = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "labels", n => { Labels = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "sensitiveInformationDetails", n => { SensitiveInformationDetails = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.Dlp.AttachmentSensitiveInformationDetails.CreateFromDiscriminatorValue)?.AsList(); } }, + { "size", n => { Size = n.GetLongValue(); } }, + }; + } + /// + /// 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.WriteLongValue("checksum", Checksum); + writer.WriteCollectionOfPrimitiveValues("labelNames", LabelNames); + writer.WriteCollectionOfPrimitiveValues("labels", Labels); + writer.WriteStringValue("name", Name); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteCollectionOfObjectValues("sensitiveInformationDetails", SensitiveInformationDetails); + writer.WriteLongValue("size", Size); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/Dlp/AttachmentSensitiveInformationDetails.cs b/src/Microsoft.Graph/Generated/Models/Security/Dlp/AttachmentSensitiveInformationDetails.cs new file mode 100644 index 000000000000..690c9243ea8c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/Dlp/AttachmentSensitiveInformationDetails.cs @@ -0,0 +1,135 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security.Dlp +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AttachmentSensitiveInformationDetails : 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 OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The sensitiveInformationDetailedClassificationAttributes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SensitiveInformationDetailedClassificationAttributes + { + get { return BackingStore?.Get?>("sensitiveInformationDetailedClassificationAttributes"); } + set { BackingStore?.Set("sensitiveInformationDetailedClassificationAttributes", value); } + } +#nullable restore +#else + public List SensitiveInformationDetailedClassificationAttributes + { + get { return BackingStore?.Get>("sensitiveInformationDetailedClassificationAttributes"); } + set { BackingStore?.Set("sensitiveInformationDetailedClassificationAttributes", value); } + } +#endif + /// The sensitiveInformationDetectionIndices property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SensitiveInformationDetectionIndices + { + get { return BackingStore?.Get?>("sensitiveInformationDetectionIndices"); } + set { BackingStore?.Set("sensitiveInformationDetectionIndices", value); } + } +#nullable restore +#else + public List SensitiveInformationDetectionIndices + { + get { return BackingStore?.Get>("sensitiveInformationDetectionIndices"); } + set { BackingStore?.Set("sensitiveInformationDetectionIndices", value); } + } +#endif + /// The sensitiveType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SensitiveType + { + get { return BackingStore?.Get("sensitiveType"); } + set { BackingStore?.Set("sensitiveType", value); } + } +#nullable restore +#else + public string SensitiveType + { + get { return BackingStore?.Get("sensitiveType"); } + set { BackingStore?.Set("sensitiveType", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AttachmentSensitiveInformationDetails() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Security.Dlp.AttachmentSensitiveInformationDetails CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.Dlp.AttachmentSensitiveInformationDetails(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "sensitiveInformationDetailedClassificationAttributes", n => { SensitiveInformationDetailedClassificationAttributes = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.Dlp.SensitiveInformationDetailedConfidenceLevelResult.CreateFromDiscriminatorValue)?.AsList(); } }, + { "sensitiveInformationDetectionIndices", n => { SensitiveInformationDetectionIndices = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "sensitiveType", n => { SensitiveType = 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("@odata.type", OdataType); + writer.WriteCollectionOfObjectValues("sensitiveInformationDetailedClassificationAttributes", SensitiveInformationDetailedClassificationAttributes); + writer.WriteCollectionOfPrimitiveValues("sensitiveInformationDetectionIndices", SensitiveInformationDetectionIndices); + writer.WriteStringValue("sensitiveType", SensitiveType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/Dlp/AuditRecordType.cs b/src/Microsoft.Graph/Generated/Models/Security/Dlp/AuditRecordType.cs new file mode 100644 index 000000000000..f28c4acb1b7f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/Dlp/AuditRecordType.cs @@ -0,0 +1,48 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Security.Dlp +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AuditRecordType + #pragma warning restore CS1591 + { + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "sharePointFileOperation")] + #pragma warning disable CS1591 + SharePointFileOperation, + #pragma warning restore CS1591 + [EnumMember(Value = "complianceDlpSharePoint")] + #pragma warning disable CS1591 + ComplianceDlpSharePoint, + #pragma warning restore CS1591 + [EnumMember(Value = "complianceDlpExchange")] + #pragma warning disable CS1591 + ComplianceDlpExchange, + #pragma warning restore CS1591 + [EnumMember(Value = "dlpEndpoint")] + #pragma warning disable CS1591 + DlpEndpoint, + #pragma warning restore CS1591 + [EnumMember(Value = "complianceDlpEndpoint")] + #pragma warning disable CS1591 + ComplianceDlpEndpoint, + #pragma warning restore CS1591 + [EnumMember(Value = "powerBiDlp")] + #pragma warning disable CS1591 + PowerBiDlp, + #pragma warning restore CS1591 + [EnumMember(Value = "complianceDlpApplications")] + #pragma warning disable CS1591 + ComplianceDlpApplications, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/Dlp/BaseAuditRecord.cs b/src/Microsoft.Graph/Generated/Models/Security/Dlp/BaseAuditRecord.cs new file mode 100644 index 000000000000..d3a1cc6d75c5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/Dlp/BaseAuditRecord.cs @@ -0,0 +1,508 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security.Dlp +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BaseAuditRecord : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The agentBlueprintId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AgentBlueprintId + { + get { return BackingStore?.Get("agentBlueprintId"); } + set { BackingStore?.Set("agentBlueprintId", value); } + } +#nullable restore +#else + public string AgentBlueprintId + { + get { return BackingStore?.Get("agentBlueprintId"); } + set { BackingStore?.Set("agentBlueprintId", value); } + } +#endif + /// The agentBlueprintName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AgentBlueprintName + { + get { return BackingStore?.Get("agentBlueprintName"); } + set { BackingStore?.Set("agentBlueprintName", value); } + } +#nullable restore +#else + public string AgentBlueprintName + { + get { return BackingStore?.Get("agentBlueprintName"); } + set { BackingStore?.Set("agentBlueprintName", value); } + } +#endif + /// The agentId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AgentId + { + get { return BackingStore?.Get("agentId"); } + set { BackingStore?.Set("agentId", value); } + } +#nullable restore +#else + public string AgentId + { + get { return BackingStore?.Get("agentId"); } + set { BackingStore?.Set("agentId", value); } + } +#endif + /// The agentName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AgentName + { + get { return BackingStore?.Get("agentName"); } + set { BackingStore?.Set("agentName", value); } + } +#nullable restore +#else + public string AgentName + { + get { return BackingStore?.Get("agentName"); } + set { BackingStore?.Set("agentName", value); } + } +#endif + /// The agentPlatform property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AgentPlatform + { + get { return BackingStore?.Get("agentPlatform"); } + set { BackingStore?.Set("agentPlatform", value); } + } +#nullable restore +#else + public string AgentPlatform + { + get { return BackingStore?.Get("agentPlatform"); } + set { BackingStore?.Set("agentPlatform", value); } + } +#endif + /// The agentVersion property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AgentVersion + { + get { return BackingStore?.Get("agentVersion"); } + set { BackingStore?.Set("agentVersion", value); } + } +#nullable restore +#else + public string AgentVersion + { + get { return BackingStore?.Get("agentVersion"); } + set { BackingStore?.Set("agentVersion", value); } + } +#endif + /// The appAccessContext property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.Dlp.AppAccessContext? AppAccessContext + { + get { return BackingStore?.Get("appAccessContext"); } + set { BackingStore?.Set("appAccessContext", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.Dlp.AppAccessContext AppAccessContext + { + get { return BackingStore?.Get("appAccessContext"); } + set { BackingStore?.Set("appAccessContext", value); } + } +#endif + /// The appIdentity property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AppIdentity + { + get { return BackingStore?.Get("appIdentity"); } + set { BackingStore?.Set("appIdentity", value); } + } +#nullable restore +#else + public string AppIdentity + { + get { return BackingStore?.Get("appIdentity"); } + set { BackingStore?.Set("appIdentity", value); } + } +#endif + /// The applicationName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ApplicationName + { + get { return BackingStore?.Get("applicationName"); } + set { BackingStore?.Set("applicationName", value); } + } +#nullable restore +#else + public string ApplicationName + { + get { return BackingStore?.Get("applicationName"); } + set { BackingStore?.Set("applicationName", value); } + } +#endif + /// The associatedAdminUnitIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AssociatedAdminUnitIds + { + get { return BackingStore?.Get?>("associatedAdminUnitIds"); } + set { BackingStore?.Set("associatedAdminUnitIds", value); } + } +#nullable restore +#else + public List AssociatedAdminUnitIds + { + get { return BackingStore?.Get>("associatedAdminUnitIds"); } + set { BackingStore?.Set("associatedAdminUnitIds", value); } + } +#endif + /// The correlationIdentity property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CorrelationIdentity + { + get { return BackingStore?.Get("correlationIdentity"); } + set { BackingStore?.Set("correlationIdentity", value); } + } +#nullable restore +#else + public string CorrelationIdentity + { + get { return BackingStore?.Get("correlationIdentity"); } + set { BackingStore?.Set("correlationIdentity", value); } + } +#endif + /// The createdDateTime property + public Date? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// The isRequiresCustomerKeyEncryption property + public bool? IsRequiresCustomerKeyEncryption + { + get { return BackingStore?.Get("isRequiresCustomerKeyEncryption"); } + set { BackingStore?.Set("isRequiresCustomerKeyEncryption", value); } + } + /// The operation property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Operation + { + get { return BackingStore?.Get("operation"); } + set { BackingStore?.Set("operation", value); } + } +#nullable restore +#else + public string Operation + { + get { return BackingStore?.Get("operation"); } + set { BackingStore?.Set("operation", value); } + } +#endif + /// The opId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OpId + { + get { return BackingStore?.Get("opId"); } + set { BackingStore?.Set("opId", value); } + } +#nullable restore +#else + public string OpId + { + get { return BackingStore?.Get("opId"); } + set { BackingStore?.Set("opId", value); } + } +#endif + /// The organizationId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OrganizationId + { + get { return BackingStore?.Get("organizationId"); } + set { BackingStore?.Set("organizationId", value); } + } +#nullable restore +#else + public string OrganizationId + { + get { return BackingStore?.Get("organizationId"); } + set { BackingStore?.Set("organizationId", value); } + } +#endif + /// The parentId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ParentId + { + get { return BackingStore?.Get("parentId"); } + set { BackingStore?.Set("parentId", value); } + } +#nullable restore +#else + public string ParentId + { + get { return BackingStore?.Get("parentId"); } + set { BackingStore?.Set("parentId", value); } + } +#endif + /// The purpose property + public global::Microsoft.Graph.Beta.Models.Security.Dlp.PurposeType? Purpose + { + get { return BackingStore?.Get("purpose"); } + set { BackingStore?.Set("purpose", value); } + } + /// The recordType property + public global::Microsoft.Graph.Beta.Models.Security.Dlp.AuditRecordType? RecordType + { + get { return BackingStore?.Get("recordType"); } + set { BackingStore?.Set("recordType", value); } + } + /// The resultStatus property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResultStatus + { + get { return BackingStore?.Get("resultStatus"); } + set { BackingStore?.Set("resultStatus", value); } + } +#nullable restore +#else + public string ResultStatus + { + get { return BackingStore?.Get("resultStatus"); } + set { BackingStore?.Set("resultStatus", value); } + } +#endif + /// The scopingEntityIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ScopingEntityIds + { + get { return BackingStore?.Get?>("scopingEntityIds"); } + set { BackingStore?.Set("scopingEntityIds", value); } + } +#nullable restore +#else + public List ScopingEntityIds + { + get { return BackingStore?.Get>("scopingEntityIds"); } + set { BackingStore?.Set("scopingEntityIds", value); } + } +#endif + /// The scopingEntityType property + public int? ScopingEntityType + { + get { return BackingStore?.Get("scopingEntityType"); } + set { BackingStore?.Set("scopingEntityType", value); } + } + /// The sessionIdentity property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SessionIdentity + { + get { return BackingStore?.Get("sessionIdentity"); } + set { BackingStore?.Set("sessionIdentity", value); } + } +#nullable restore +#else + public string SessionIdentity + { + get { return BackingStore?.Get("sessionIdentity"); } + set { BackingStore?.Set("sessionIdentity", value); } + } +#endif + /// The subjectType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SubjectType + { + get { return BackingStore?.Get("subjectType"); } + set { BackingStore?.Set("subjectType", value); } + } +#nullable restore +#else + public string SubjectType + { + get { return BackingStore?.Get("subjectType"); } + set { BackingStore?.Set("subjectType", value); } + } +#endif + /// The subscription property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.Dlp.SubscriptionInfo? Subscription + { + get { return BackingStore?.Get("subscription"); } + set { BackingStore?.Set("subscription", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.Dlp.SubscriptionInfo Subscription + { + get { return BackingStore?.Get("subscription"); } + set { BackingStore?.Set("subscription", value); } + } +#endif + /// The userKey property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UserKey + { + get { return BackingStore?.Get("userKey"); } + set { BackingStore?.Set("userKey", value); } + } +#nullable restore +#else + public string UserKey + { + get { return BackingStore?.Get("userKey"); } + set { BackingStore?.Set("userKey", value); } + } +#endif + /// The userType property + public global::Microsoft.Graph.Beta.Models.Security.Dlp.UserType? UserType + { + get { return BackingStore?.Get("userType"); } + set { BackingStore?.Set("userType", value); } + } + /// The version property + public int? Version + { + get { return BackingStore?.Get("version"); } + set { BackingStore?.Set("version", value); } + } + /// The workload property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Workload + { + get { return BackingStore?.Get("workload"); } + set { BackingStore?.Set("workload", value); } + } +#nullable restore +#else + public string Workload + { + get { return BackingStore?.Get("workload"); } + set { BackingStore?.Set("workload", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.Dlp.BaseAuditRecord CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.security.dlp.complianceBaseAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceBaseAuditRecord(), + "#microsoft.graph.security.dlp.complianceDLPBaseAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDLPBaseAuditRecord(), + "#microsoft.graph.security.dlp.complianceDlpEndpointAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDlpEndpointAuditRecord(), + "#microsoft.graph.security.dlp.complianceDlpExchangeAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDlpExchangeAuditRecord(), + "#microsoft.graph.security.dlp.complianceDlpSharePointAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDlpSharePointAuditRecord(), + _ => new global::Microsoft.Graph.Beta.Models.Security.Dlp.BaseAuditRecord(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "agentBlueprintId", n => { AgentBlueprintId = n.GetStringValue(); } }, + { "agentBlueprintName", n => { AgentBlueprintName = n.GetStringValue(); } }, + { "agentId", n => { AgentId = n.GetStringValue(); } }, + { "agentName", n => { AgentName = n.GetStringValue(); } }, + { "agentPlatform", n => { AgentPlatform = n.GetStringValue(); } }, + { "agentVersion", n => { AgentVersion = n.GetStringValue(); } }, + { "appAccessContext", n => { AppAccessContext = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.Dlp.AppAccessContext.CreateFromDiscriminatorValue); } }, + { "appIdentity", n => { AppIdentity = n.GetStringValue(); } }, + { "applicationName", n => { ApplicationName = n.GetStringValue(); } }, + { "associatedAdminUnitIds", n => { AssociatedAdminUnitIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "correlationIdentity", n => { CorrelationIdentity = n.GetStringValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateValue(); } }, + { "isRequiresCustomerKeyEncryption", n => { IsRequiresCustomerKeyEncryption = n.GetBoolValue(); } }, + { "opId", n => { OpId = n.GetStringValue(); } }, + { "operation", n => { Operation = n.GetStringValue(); } }, + { "organizationId", n => { OrganizationId = n.GetStringValue(); } }, + { "parentId", n => { ParentId = n.GetStringValue(); } }, + { "purpose", n => { Purpose = n.GetEnumValue(); } }, + { "recordType", n => { RecordType = n.GetEnumValue(); } }, + { "resultStatus", n => { ResultStatus = n.GetStringValue(); } }, + { "scopingEntityIds", n => { ScopingEntityIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "scopingEntityType", n => { ScopingEntityType = n.GetIntValue(); } }, + { "sessionIdentity", n => { SessionIdentity = n.GetStringValue(); } }, + { "subjectType", n => { SubjectType = n.GetStringValue(); } }, + { "subscription", n => { Subscription = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.Dlp.SubscriptionInfo.CreateFromDiscriminatorValue); } }, + { "userKey", n => { UserKey = n.GetStringValue(); } }, + { "userType", n => { UserType = n.GetEnumValue(); } }, + { "version", n => { Version = n.GetIntValue(); } }, + { "workload", n => { Workload = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("agentBlueprintId", AgentBlueprintId); + writer.WriteStringValue("agentBlueprintName", AgentBlueprintName); + writer.WriteStringValue("agentId", AgentId); + writer.WriteStringValue("agentName", AgentName); + writer.WriteStringValue("agentPlatform", AgentPlatform); + writer.WriteStringValue("agentVersion", AgentVersion); + writer.WriteObjectValue("appAccessContext", AppAccessContext); + writer.WriteStringValue("appIdentity", AppIdentity); + writer.WriteStringValue("applicationName", ApplicationName); + writer.WriteCollectionOfPrimitiveValues("associatedAdminUnitIds", AssociatedAdminUnitIds); + writer.WriteStringValue("correlationIdentity", CorrelationIdentity); + writer.WriteDateValue("createdDateTime", CreatedDateTime); + writer.WriteBoolValue("isRequiresCustomerKeyEncryption", IsRequiresCustomerKeyEncryption); + writer.WriteStringValue("operation", Operation); + writer.WriteStringValue("opId", OpId); + writer.WriteStringValue("organizationId", OrganizationId); + writer.WriteStringValue("parentId", ParentId); + writer.WriteEnumValue("purpose", Purpose); + writer.WriteEnumValue("recordType", RecordType); + writer.WriteStringValue("resultStatus", ResultStatus); + writer.WriteCollectionOfPrimitiveValues("scopingEntityIds", ScopingEntityIds); + writer.WriteIntValue("scopingEntityType", ScopingEntityType); + writer.WriteStringValue("sessionIdentity", SessionIdentity); + writer.WriteStringValue("subjectType", SubjectType); + writer.WriteObjectValue("subscription", Subscription); + writer.WriteStringValue("userKey", UserKey); + writer.WriteEnumValue("userType", UserType); + writer.WriteIntValue("version", Version); + writer.WriteStringValue("workload", Workload); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/Dlp/ComplianceBaseAuditRecord.cs b/src/Microsoft.Graph/Generated/Models/Security/Dlp/ComplianceBaseAuditRecord.cs new file mode 100644 index 000000000000..c4999fd635e6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/Dlp/ComplianceBaseAuditRecord.cs @@ -0,0 +1,61 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security.Dlp +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComplianceBaseAuditRecord : global::Microsoft.Graph.Beta.Models.Security.Dlp.BaseAuditRecord, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public ComplianceBaseAuditRecord() : base() + { + OdataType = "#microsoft.graph.security.dlp.complianceBaseAuditRecord"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceBaseAuditRecord CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.security.dlp.complianceDLPBaseAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDLPBaseAuditRecord(), + "#microsoft.graph.security.dlp.complianceDlpEndpointAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDlpEndpointAuditRecord(), + "#microsoft.graph.security.dlp.complianceDlpExchangeAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDlpExchangeAuditRecord(), + "#microsoft.graph.security.dlp.complianceDlpSharePointAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDlpSharePointAuditRecord(), + _ => new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceBaseAuditRecord(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/Dlp/ComplianceDLPBaseAuditRecord.cs b/src/Microsoft.Graph/Generated/Models/Security/Dlp/ComplianceDLPBaseAuditRecord.cs new file mode 100644 index 000000000000..1e031e328907 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/Dlp/ComplianceDLPBaseAuditRecord.cs @@ -0,0 +1,192 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security.Dlp +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComplianceDLPBaseAuditRecord : global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceBaseAuditRecord, IParsable + #pragma warning restore CS1591 + { + /// The enforcementType property + public global::Microsoft.Graph.Beta.Models.Security.Dlp.EnforcementType? EnforcementType + { + get { return BackingStore?.Get("enforcementType"); } + set { BackingStore?.Set("enforcementType", value); } + } + /// The evaluationSource property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? EvaluationSource + { + get { return BackingStore?.Get("evaluationSource"); } + set { BackingStore?.Set("evaluationSource", value); } + } +#nullable restore +#else + public string EvaluationSource + { + get { return BackingStore?.Get("evaluationSource"); } + set { BackingStore?.Set("evaluationSource", value); } + } +#endif + /// The exceptionInfo property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.Dlp.ExceptionInfo? ExceptionInfo + { + get { return BackingStore?.Get("exceptionInfo"); } + set { BackingStore?.Set("exceptionInfo", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.Dlp.ExceptionInfo ExceptionInfo + { + get { return BackingStore?.Get("exceptionInfo"); } + set { BackingStore?.Set("exceptionInfo", value); } + } +#endif + /// The incidentId property + public Guid? IncidentId + { + get { return BackingStore?.Get("incidentId"); } + set { BackingStore?.Set("incidentId", value); } + } + /// The isSensitiveInfoDetectionIsIncluded property + public bool? IsSensitiveInfoDetectionIsIncluded + { + get { return BackingStore?.Get("isSensitiveInfoDetectionIsIncluded"); } + set { BackingStore?.Set("isSensitiveInfoDetectionIsIncluded", value); } + } + /// The location property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Location + { + get { return BackingStore?.Get("location"); } + set { BackingStore?.Set("location", value); } + } +#nullable restore +#else + public string Location + { + get { return BackingStore?.Get("location"); } + set { BackingStore?.Set("location", value); } + } +#endif + /// The policyDetails property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? PolicyDetails + { + get { return BackingStore?.Get?>("policyDetails"); } + set { BackingStore?.Set("policyDetails", value); } + } +#nullable restore +#else + public List PolicyDetails + { + get { return BackingStore?.Get>("policyDetails"); } + set { BackingStore?.Set("policyDetails", value); } + } +#endif + /// The remediationDetails property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.Dlp.RemediationInfo? RemediationDetails + { + get { return BackingStore?.Get("remediationDetails"); } + set { BackingStore?.Set("remediationDetails", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.Dlp.RemediationInfo RemediationDetails + { + get { return BackingStore?.Get("remediationDetails"); } + set { BackingStore?.Set("remediationDetails", value); } + } +#endif + /// The sessionMetadata property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.Dlp.SessionMetadataInfo? SessionMetadata + { + get { return BackingStore?.Get("sessionMetadata"); } + set { BackingStore?.Set("sessionMetadata", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.Dlp.SessionMetadataInfo SessionMetadata + { + get { return BackingStore?.Get("sessionMetadata"); } + set { BackingStore?.Set("sessionMetadata", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ComplianceDLPBaseAuditRecord() : base() + { + OdataType = "#microsoft.graph.security.dlp.complianceDLPBaseAuditRecord"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDLPBaseAuditRecord CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.security.dlp.complianceDlpEndpointAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDlpEndpointAuditRecord(), + "#microsoft.graph.security.dlp.complianceDlpExchangeAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDlpExchangeAuditRecord(), + "#microsoft.graph.security.dlp.complianceDlpSharePointAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDlpSharePointAuditRecord(), + _ => new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDLPBaseAuditRecord(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "enforcementType", n => { EnforcementType = n.GetEnumValue(); } }, + { "evaluationSource", n => { EvaluationSource = n.GetStringValue(); } }, + { "exceptionInfo", n => { ExceptionInfo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.Dlp.ExceptionInfo.CreateFromDiscriminatorValue); } }, + { "incidentId", n => { IncidentId = n.GetGuidValue(); } }, + { "isSensitiveInfoDetectionIsIncluded", n => { IsSensitiveInfoDetectionIsIncluded = n.GetBoolValue(); } }, + { "location", n => { Location = n.GetStringValue(); } }, + { "policyDetails", n => { PolicyDetails = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "remediationDetails", n => { RemediationDetails = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.Dlp.RemediationInfo.CreateFromDiscriminatorValue); } }, + { "sessionMetadata", n => { SessionMetadata = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.Dlp.SessionMetadataInfo.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// 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.WriteEnumValue("enforcementType", EnforcementType); + writer.WriteStringValue("evaluationSource", EvaluationSource); + writer.WriteObjectValue("exceptionInfo", ExceptionInfo); + writer.WriteGuidValue("incidentId", IncidentId); + writer.WriteBoolValue("isSensitiveInfoDetectionIsIncluded", IsSensitiveInfoDetectionIsIncluded); + writer.WriteStringValue("location", Location); + writer.WriteCollectionOfPrimitiveValues("policyDetails", PolicyDetails); + writer.WriteObjectValue("remediationDetails", RemediationDetails); + writer.WriteObjectValue("sessionMetadata", SessionMetadata); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/Dlp/ComplianceDlpEndpointAuditRecord.cs b/src/Microsoft.Graph/Generated/Models/Security/Dlp/ComplianceDlpEndpointAuditRecord.cs new file mode 100644 index 000000000000..929d9bb9eba9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/Dlp/ComplianceDlpEndpointAuditRecord.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security.Dlp +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComplianceDlpEndpointAuditRecord : global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDLPBaseAuditRecord, IParsable + #pragma warning restore CS1591 + { + /// The authorizedGroup property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AuthorizedGroup + { + get { return BackingStore?.Get("authorizedGroup"); } + set { BackingStore?.Set("authorizedGroup", value); } + } +#nullable restore +#else + public string AuthorizedGroup + { + get { return BackingStore?.Get("authorizedGroup"); } + set { BackingStore?.Set("authorizedGroup", value); } + } +#endif + /// The endpointMetaData property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.Dlp.EndpointMetaDataInfo? EndpointMetaData + { + get { return BackingStore?.Get("endpointMetaData"); } + set { BackingStore?.Set("endpointMetaData", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.Dlp.EndpointMetaDataInfo EndpointMetaData + { + get { return BackingStore?.Get("endpointMetaData"); } + set { BackingStore?.Set("endpointMetaData", value); } + } +#endif + /// The evidenceFile property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? EvidenceFile + { + get { return BackingStore?.Get("evidenceFile"); } + set { BackingStore?.Set("evidenceFile", value); } + } +#nullable restore +#else + public string EvidenceFile + { + get { return BackingStore?.Get("evidenceFile"); } + set { BackingStore?.Set("evidenceFile", value); } + } +#endif + /// The networkLocationContextInAction property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? NetworkLocationContextInAction + { + get { return BackingStore?.Get("networkLocationContextInAction"); } + set { BackingStore?.Set("networkLocationContextInAction", value); } + } +#nullable restore +#else + public string NetworkLocationContextInAction + { + get { return BackingStore?.Get("networkLocationContextInAction"); } + set { BackingStore?.Set("networkLocationContextInAction", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ComplianceDlpEndpointAuditRecord() : base() + { + OdataType = "#microsoft.graph.security.dlp.complianceDlpEndpointAuditRecord"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDlpEndpointAuditRecord CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDlpEndpointAuditRecord(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "authorizedGroup", n => { AuthorizedGroup = n.GetStringValue(); } }, + { "endpointMetaData", n => { EndpointMetaData = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.Dlp.EndpointMetaDataInfo.CreateFromDiscriminatorValue); } }, + { "evidenceFile", n => { EvidenceFile = n.GetStringValue(); } }, + { "networkLocationContextInAction", n => { NetworkLocationContextInAction = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("authorizedGroup", AuthorizedGroup); + writer.WriteObjectValue("endpointMetaData", EndpointMetaData); + writer.WriteStringValue("evidenceFile", EvidenceFile); + writer.WriteStringValue("networkLocationContextInAction", NetworkLocationContextInAction); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/Dlp/ComplianceDlpExchangeAuditRecord.cs b/src/Microsoft.Graph/Generated/Models/Security/Dlp/ComplianceDlpExchangeAuditRecord.cs new file mode 100644 index 000000000000..22daf1a4d8a8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/Dlp/ComplianceDlpExchangeAuditRecord.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security.Dlp +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComplianceDlpExchangeAuditRecord : global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDLPBaseAuditRecord, IParsable + #pragma warning restore CS1591 + { + /// The exchangeMetaData property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.Dlp.ExchangeMetaDataInfo? ExchangeMetaData + { + get { return BackingStore?.Get("exchangeMetaData"); } + set { BackingStore?.Set("exchangeMetaData", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.Dlp.ExchangeMetaDataInfo ExchangeMetaData + { + get { return BackingStore?.Get("exchangeMetaData"); } + set { BackingStore?.Set("exchangeMetaData", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ComplianceDlpExchangeAuditRecord() : base() + { + OdataType = "#microsoft.graph.security.dlp.complianceDlpExchangeAuditRecord"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDlpExchangeAuditRecord CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDlpExchangeAuditRecord(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "exchangeMetaData", n => { ExchangeMetaData = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.Dlp.ExchangeMetaDataInfo.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// 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.WriteObjectValue("exchangeMetaData", ExchangeMetaData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/Dlp/ComplianceDlpSharePointAuditRecord.cs b/src/Microsoft.Graph/Generated/Models/Security/Dlp/ComplianceDlpSharePointAuditRecord.cs new file mode 100644 index 000000000000..804562f4662f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/Dlp/ComplianceDlpSharePointAuditRecord.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security.Dlp +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComplianceDlpSharePointAuditRecord : global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDLPBaseAuditRecord, IParsable + #pragma warning restore CS1591 + { + /// The sharePointMetaData property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.Dlp.SharePointMetaDataInfo? SharePointMetaData + { + get { return BackingStore?.Get("sharePointMetaData"); } + set { BackingStore?.Set("sharePointMetaData", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.Dlp.SharePointMetaDataInfo SharePointMetaData + { + get { return BackingStore?.Get("sharePointMetaData"); } + set { BackingStore?.Set("sharePointMetaData", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ComplianceDlpSharePointAuditRecord() : base() + { + OdataType = "#microsoft.graph.security.dlp.complianceDlpSharePointAuditRecord"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDlpSharePointAuditRecord CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDlpSharePointAuditRecord(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "sharePointMetaData", n => { SharePointMetaData = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.Dlp.SharePointMetaDataInfo.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// 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.WriteObjectValue("sharePointMetaData", SharePointMetaData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/Dlp/EndpointMetaDataInfo.cs b/src/Microsoft.Graph/Generated/Models/Security/Dlp/EndpointMetaDataInfo.cs new file mode 100644 index 000000000000..9fb22c3d5d45 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/Dlp/EndpointMetaDataInfo.cs @@ -0,0 +1,705 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security.Dlp +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EndpointMetaDataInfo : 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 application property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Application + { + get { return BackingStore?.Get("application"); } + set { BackingStore?.Set("application", value); } + } +#nullable restore +#else + public string Application + { + get { return BackingStore?.Get("application"); } + set { BackingStore?.Set("application", value); } + } +#endif + /// The applicationSourceExecutableName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ApplicationSourceExecutableName + { + get { return BackingStore?.Get("applicationSourceExecutableName"); } + set { BackingStore?.Set("applicationSourceExecutableName", value); } + } +#nullable restore +#else + public string ApplicationSourceExecutableName + { + get { return BackingStore?.Get("applicationSourceExecutableName"); } + set { BackingStore?.Set("applicationSourceExecutableName", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The destinationLocationType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DestinationLocationType + { + get { return BackingStore?.Get("destinationLocationType"); } + set { BackingStore?.Set("destinationLocationType", value); } + } +#nullable restore +#else + public string DestinationLocationType + { + get { return BackingStore?.Get("destinationLocationType"); } + set { BackingStore?.Set("destinationLocationType", value); } + } +#endif + /// The deviceName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DeviceName + { + get { return BackingStore?.Get("deviceName"); } + set { BackingStore?.Set("deviceName", value); } + } +#nullable restore +#else + public string DeviceName + { + get { return BackingStore?.Get("deviceName"); } + set { BackingStore?.Set("deviceName", value); } + } +#endif + /// The dlpAuditEventMetadata property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DlpAuditEventMetadata + { + get { return BackingStore?.Get("dlpAuditEventMetadata"); } + set { BackingStore?.Set("dlpAuditEventMetadata", value); } + } +#nullable restore +#else + public string DlpAuditEventMetadata + { + get { return BackingStore?.Get("dlpAuditEventMetadata"); } + set { BackingStore?.Set("dlpAuditEventMetadata", value); } + } +#endif + /// The endpointOperation property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? EndpointOperation + { + get { return BackingStore?.Get("endpointOperation"); } + set { BackingStore?.Set("endpointOperation", value); } + } +#nullable restore +#else + public string EndpointOperation + { + get { return BackingStore?.Get("endpointOperation"); } + set { BackingStore?.Set("endpointOperation", value); } + } +#endif + /// The enforcementMode property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? EnforcementMode + { + get { return BackingStore?.Get("enforcementMode"); } + set { BackingStore?.Set("enforcementMode", value); } + } +#nullable restore +#else + public string EnforcementMode + { + get { return BackingStore?.Get("enforcementMode"); } + set { BackingStore?.Set("enforcementMode", value); } + } +#endif + /// The fileExtension property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? FileExtension + { + get { return BackingStore?.Get("fileExtension"); } + set { BackingStore?.Set("fileExtension", value); } + } +#nullable restore +#else + public string FileExtension + { + get { return BackingStore?.Get("fileExtension"); } + set { BackingStore?.Set("fileExtension", value); } + } +#endif + /// The fileSize property + public long? FileSize + { + get { return BackingStore?.Get("fileSize"); } + set { BackingStore?.Set("fileSize", value); } + } + /// The fileType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? FileType + { + get { return BackingStore?.Get("fileType"); } + set { BackingStore?.Set("fileType", value); } + } +#nullable restore +#else + public string FileType + { + get { return BackingStore?.Get("fileType"); } + set { BackingStore?.Set("fileType", value); } + } +#endif + /// 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 groupName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? GroupName + { + get { return BackingStore?.Get("groupName"); } + set { BackingStore?.Set("groupName", value); } + } +#nullable restore +#else + public string GroupName + { + get { return BackingStore?.Get("groupName"); } + set { BackingStore?.Set("groupName", value); } + } +#endif + /// The isEaV2Enriched property + public bool? IsEaV2Enriched + { + get { return BackingStore?.Get("isEaV2Enriched"); } + set { BackingStore?.Set("isEaV2Enriched", value); } + } + /// The isHidden property + public bool? IsHidden + { + get { return BackingStore?.Get("isHidden"); } + set { BackingStore?.Set("isHidden", value); } + } + /// The isJitTriggered property + public bool? IsJitTriggered + { + get { return BackingStore?.Get("isJitTriggered"); } + set { BackingStore?.Set("isJitTriggered", value); } + } + /// The isRmseEncrypted property + public bool? IsRmseEncrypted + { + get { return BackingStore?.Get("isRmseEncrypted"); } + set { BackingStore?.Set("isRmseEncrypted", value); } + } + /// The isViewableByExternalUsers property + public bool? IsViewableByExternalUsers + { + get { return BackingStore?.Get("isViewableByExternalUsers"); } + set { BackingStore?.Set("isViewableByExternalUsers", value); } + } + /// The justification property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Justification + { + get { return BackingStore?.Get("justification"); } + set { BackingStore?.Set("justification", value); } + } +#nullable restore +#else + public string Justification + { + get { return BackingStore?.Get("justification"); } + set { BackingStore?.Set("justification", value); } + } +#endif + /// The markOfTheWebData property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MarkOfTheWebData + { + get { return BackingStore?.Get("markOfTheWebData"); } + set { BackingStore?.Set("markOfTheWebData", value); } + } +#nullable restore +#else + public string MarkOfTheWebData + { + get { return BackingStore?.Get("markOfTheWebData"); } + set { BackingStore?.Set("markOfTheWebData", value); } + } +#endif + /// The mdatpDeviceId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MdatpDeviceId + { + get { return BackingStore?.Get("mdatpDeviceId"); } + set { BackingStore?.Set("mdatpDeviceId", value); } + } +#nullable restore +#else + public string MdatpDeviceId + { + get { return BackingStore?.Get("mdatpDeviceId"); } + set { BackingStore?.Set("mdatpDeviceId", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The originatingDomain property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OriginatingDomain + { + get { return BackingStore?.Get("originatingDomain"); } + set { BackingStore?.Set("originatingDomain", value); } + } +#nullable restore +#else + public string OriginatingDomain + { + get { return BackingStore?.Get("originatingDomain"); } + set { BackingStore?.Set("originatingDomain", value); } + } +#endif + /// The parentArchiveHash property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ParentArchiveHash + { + get { return BackingStore?.Get("parentArchiveHash"); } + set { BackingStore?.Set("parentArchiveHash", value); } + } +#nullable restore +#else + public string ParentArchiveHash + { + get { return BackingStore?.Get("parentArchiveHash"); } + set { BackingStore?.Set("parentArchiveHash", value); } + } +#endif + /// The platform property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Platform + { + get { return BackingStore?.Get("platform"); } + set { BackingStore?.Set("platform", value); } + } +#nullable restore +#else + public string Platform + { + get { return BackingStore?.Get("platform"); } + set { BackingStore?.Set("platform", value); } + } +#endif + /// The policyMatchDetails property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? PolicyMatchDetails + { + get { return BackingStore?.Get?>("policyMatchDetails"); } + set { BackingStore?.Set("policyMatchDetails", value); } + } +#nullable restore +#else + public List PolicyMatchDetails + { + get { return BackingStore?.Get>("policyMatchDetails"); } + set { BackingStore?.Set("policyMatchDetails", value); } + } +#endif + /// The policyMatchInfo property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PolicyMatchInfo + { + get { return BackingStore?.Get("policyMatchInfo"); } + set { BackingStore?.Set("policyMatchInfo", value); } + } +#nullable restore +#else + public string PolicyMatchInfo + { + get { return BackingStore?.Get("policyMatchInfo"); } + set { BackingStore?.Set("policyMatchInfo", value); } + } +#endif + /// The previousFileName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PreviousFileName + { + get { return BackingStore?.Get("previousFileName"); } + set { BackingStore?.Set("previousFileName", value); } + } +#nullable restore +#else + public string PreviousFileName + { + get { return BackingStore?.Get("previousFileName"); } + set { BackingStore?.Set("previousFileName", value); } + } +#endif + /// The removableMediaDeviceAttributes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RemovableMediaDeviceAttributes + { + get { return BackingStore?.Get("removableMediaDeviceAttributes"); } + set { BackingStore?.Set("removableMediaDeviceAttributes", value); } + } +#nullable restore +#else + public string RemovableMediaDeviceAttributes + { + get { return BackingStore?.Get("removableMediaDeviceAttributes"); } + set { BackingStore?.Set("removableMediaDeviceAttributes", value); } + } +#endif + /// The sensitiveInfoTypeData property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SensitiveInfoTypeData + { + get { return BackingStore?.Get?>("sensitiveInfoTypeData"); } + set { BackingStore?.Set("sensitiveInfoTypeData", value); } + } +#nullable restore +#else + public List SensitiveInfoTypeData + { + get { return BackingStore?.Get>("sensitiveInfoTypeData"); } + set { BackingStore?.Set("sensitiveInfoTypeData", value); } + } +#endif + /// The sensitivityLabelEventData property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SensitivityLabelEventData + { + get { return BackingStore?.Get("sensitivityLabelEventData"); } + set { BackingStore?.Set("sensitivityLabelEventData", value); } + } +#nullable restore +#else + public string SensitivityLabelEventData + { + get { return BackingStore?.Get("sensitivityLabelEventData"); } + set { BackingStore?.Set("sensitivityLabelEventData", value); } + } +#endif + /// The sensitivityLabelIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SensitivityLabelIds + { + get { return BackingStore?.Get?>("sensitivityLabelIds"); } + set { BackingStore?.Set("sensitivityLabelIds", value); } + } +#nullable restore +#else + public List SensitivityLabelIds + { + get { return BackingStore?.Get>("sensitivityLabelIds"); } + set { BackingStore?.Set("sensitivityLabelIds", value); } + } +#endif + /// The sensitivityLabelNames property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SensitivityLabelNames + { + get { return BackingStore?.Get?>("sensitivityLabelNames"); } + set { BackingStore?.Set("sensitivityLabelNames", value); } + } +#nullable restore +#else + public List SensitivityLabelNames + { + get { return BackingStore?.Get>("sensitivityLabelNames"); } + set { BackingStore?.Set("sensitivityLabelNames", value); } + } +#endif + /// The sha1 property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Sha1 + { + get { return BackingStore?.Get("sha1"); } + set { BackingStore?.Set("sha1", value); } + } +#nullable restore +#else + public string Sha1 + { + get { return BackingStore?.Get("sha1"); } + set { BackingStore?.Set("sha1", value); } + } +#endif + /// The sha256 property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Sha256 + { + get { return BackingStore?.Get("sha256"); } + set { BackingStore?.Set("sha256", value); } + } +#nullable restore +#else + public string Sha256 + { + get { return BackingStore?.Get("sha256"); } + set { BackingStore?.Set("sha256", value); } + } +#endif + /// The sourceLocationType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SourceLocationType + { + get { return BackingStore?.Get("sourceLocationType"); } + set { BackingStore?.Set("sourceLocationType", value); } + } +#nullable restore +#else + public string SourceLocationType + { + get { return BackingStore?.Get("sourceLocationType"); } + set { BackingStore?.Set("sourceLocationType", value); } + } +#endif + /// The targetDomain property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TargetDomain + { + get { return BackingStore?.Get("targetDomain"); } + set { BackingStore?.Set("targetDomain", value); } + } +#nullable restore +#else + public string TargetDomain + { + get { return BackingStore?.Get("targetDomain"); } + set { BackingStore?.Set("targetDomain", value); } + } +#endif + /// The targetFilePath property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TargetFilePath + { + get { return BackingStore?.Get("targetFilePath"); } + set { BackingStore?.Set("targetFilePath", value); } + } +#nullable restore +#else + public string TargetFilePath + { + get { return BackingStore?.Get("targetFilePath"); } + set { BackingStore?.Set("targetFilePath", value); } + } +#endif + /// The targetPrinterName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TargetPrinterName + { + get { return BackingStore?.Get("targetPrinterName"); } + set { BackingStore?.Set("targetPrinterName", value); } + } +#nullable restore +#else + public string TargetPrinterName + { + get { return BackingStore?.Get("targetPrinterName"); } + set { BackingStore?.Set("targetPrinterName", value); } + } +#endif + /// The targetUrl property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TargetUrl + { + get { return BackingStore?.Get("targetUrl"); } + set { BackingStore?.Set("targetUrl", value); } + } +#nullable restore +#else + public string TargetUrl + { + get { return BackingStore?.Get("targetUrl"); } + set { BackingStore?.Set("targetUrl", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public EndpointMetaDataInfo() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Security.Dlp.EndpointMetaDataInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.Dlp.EndpointMetaDataInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "application", n => { Application = n.GetStringValue(); } }, + { "applicationSourceExecutableName", n => { ApplicationSourceExecutableName = n.GetStringValue(); } }, + { "destinationLocationType", n => { DestinationLocationType = n.GetStringValue(); } }, + { "deviceName", n => { DeviceName = n.GetStringValue(); } }, + { "dlpAuditEventMetadata", n => { DlpAuditEventMetadata = n.GetStringValue(); } }, + { "endpointOperation", n => { EndpointOperation = n.GetStringValue(); } }, + { "enforcementMode", n => { EnforcementMode = n.GetStringValue(); } }, + { "fileExtension", n => { FileExtension = n.GetStringValue(); } }, + { "fileSize", n => { FileSize = n.GetLongValue(); } }, + { "fileType", n => { FileType = n.GetStringValue(); } }, + { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "groupName", n => { GroupName = n.GetStringValue(); } }, + { "isEaV2Enriched", n => { IsEaV2Enriched = n.GetBoolValue(); } }, + { "isHidden", n => { IsHidden = n.GetBoolValue(); } }, + { "isJitTriggered", n => { IsJitTriggered = n.GetBoolValue(); } }, + { "isRmseEncrypted", n => { IsRmseEncrypted = n.GetBoolValue(); } }, + { "isViewableByExternalUsers", n => { IsViewableByExternalUsers = n.GetBoolValue(); } }, + { "justification", n => { Justification = n.GetStringValue(); } }, + { "markOfTheWebData", n => { MarkOfTheWebData = n.GetStringValue(); } }, + { "mdatpDeviceId", n => { MdatpDeviceId = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "originatingDomain", n => { OriginatingDomain = n.GetStringValue(); } }, + { "parentArchiveHash", n => { ParentArchiveHash = n.GetStringValue(); } }, + { "platform", n => { Platform = n.GetStringValue(); } }, + { "policyMatchDetails", n => { PolicyMatchDetails = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "policyMatchInfo", n => { PolicyMatchInfo = n.GetStringValue(); } }, + { "previousFileName", n => { PreviousFileName = n.GetStringValue(); } }, + { "removableMediaDeviceAttributes", n => { RemovableMediaDeviceAttributes = n.GetStringValue(); } }, + { "sensitiveInfoTypeData", n => { SensitiveInfoTypeData = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "sensitivityLabelEventData", n => { SensitivityLabelEventData = n.GetStringValue(); } }, + { "sensitivityLabelIds", n => { SensitivityLabelIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "sensitivityLabelNames", n => { SensitivityLabelNames = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "sha1", n => { Sha1 = n.GetStringValue(); } }, + { "sha256", n => { Sha256 = n.GetStringValue(); } }, + { "sourceLocationType", n => { SourceLocationType = n.GetStringValue(); } }, + { "targetDomain", n => { TargetDomain = n.GetStringValue(); } }, + { "targetFilePath", n => { TargetFilePath = n.GetStringValue(); } }, + { "targetPrinterName", n => { TargetPrinterName = n.GetStringValue(); } }, + { "targetUrl", n => { TargetUrl = 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("application", Application); + writer.WriteStringValue("applicationSourceExecutableName", ApplicationSourceExecutableName); + writer.WriteStringValue("destinationLocationType", DestinationLocationType); + writer.WriteStringValue("deviceName", DeviceName); + writer.WriteStringValue("dlpAuditEventMetadata", DlpAuditEventMetadata); + writer.WriteStringValue("endpointOperation", EndpointOperation); + writer.WriteStringValue("enforcementMode", EnforcementMode); + writer.WriteStringValue("fileExtension", FileExtension); + writer.WriteLongValue("fileSize", FileSize); + writer.WriteStringValue("fileType", FileType); + writer.WriteStringValue("groupId", GroupId); + writer.WriteStringValue("groupName", GroupName); + writer.WriteBoolValue("isEaV2Enriched", IsEaV2Enriched); + writer.WriteBoolValue("isHidden", IsHidden); + writer.WriteBoolValue("isJitTriggered", IsJitTriggered); + writer.WriteBoolValue("isRmseEncrypted", IsRmseEncrypted); + writer.WriteBoolValue("isViewableByExternalUsers", IsViewableByExternalUsers); + writer.WriteStringValue("justification", Justification); + writer.WriteStringValue("markOfTheWebData", MarkOfTheWebData); + writer.WriteStringValue("mdatpDeviceId", MdatpDeviceId); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("originatingDomain", OriginatingDomain); + writer.WriteStringValue("parentArchiveHash", ParentArchiveHash); + writer.WriteStringValue("platform", Platform); + writer.WriteCollectionOfPrimitiveValues("policyMatchDetails", PolicyMatchDetails); + writer.WriteStringValue("policyMatchInfo", PolicyMatchInfo); + writer.WriteStringValue("previousFileName", PreviousFileName); + writer.WriteStringValue("removableMediaDeviceAttributes", RemovableMediaDeviceAttributes); + writer.WriteCollectionOfPrimitiveValues("sensitiveInfoTypeData", SensitiveInfoTypeData); + writer.WriteStringValue("sensitivityLabelEventData", SensitivityLabelEventData); + writer.WriteCollectionOfPrimitiveValues("sensitivityLabelIds", SensitivityLabelIds); + writer.WriteCollectionOfPrimitiveValues("sensitivityLabelNames", SensitivityLabelNames); + writer.WriteStringValue("sha1", Sha1); + writer.WriteStringValue("sha256", Sha256); + writer.WriteStringValue("sourceLocationType", SourceLocationType); + writer.WriteStringValue("targetDomain", TargetDomain); + writer.WriteStringValue("targetFilePath", TargetFilePath); + writer.WriteStringValue("targetPrinterName", TargetPrinterName); + writer.WriteStringValue("targetUrl", TargetUrl); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/Dlp/EnforcementType.cs b/src/Microsoft.Graph/Generated/Models/Security/Dlp/EnforcementType.cs new file mode 100644 index 000000000000..7a5beb97285c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/Dlp/EnforcementType.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Security.Dlp +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum EnforcementType + #pragma warning restore CS1591 + { + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "combined")] + #pragma warning disable CS1591 + Combined, + #pragma warning restore CS1591 + [EnumMember(Value = "separate")] + #pragma warning disable CS1591 + Separate, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/Dlp/ExceptionInfo.cs b/src/Microsoft.Graph/Generated/Models/Security/Dlp/ExceptionInfo.cs new file mode 100644 index 000000000000..9a9f60bb4b49 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/Dlp/ExceptionInfo.cs @@ -0,0 +1,143 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security.Dlp +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ExceptionInfo : 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 isFalsePositive property + public bool? IsFalsePositive + { + get { return BackingStore?.Get("isFalsePositive"); } + set { BackingStore?.Set("isFalsePositive", value); } + } + /// The justification property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Justification + { + get { return BackingStore?.Get("justification"); } + set { BackingStore?.Set("justification", value); } + } +#nullable restore +#else + public string Justification + { + get { return BackingStore?.Get("justification"); } + set { BackingStore?.Set("justification", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The reason property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Reason + { + get { return BackingStore?.Get("reason"); } + set { BackingStore?.Set("reason", value); } + } +#nullable restore +#else + public string Reason + { + get { return BackingStore?.Get("reason"); } + set { BackingStore?.Set("reason", value); } + } +#endif + /// The ruleIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? RuleIds + { + get { return BackingStore?.Get?>("ruleIds"); } + set { BackingStore?.Set("ruleIds", value); } + } +#nullable restore +#else + public List RuleIds + { + get { return BackingStore?.Get>("ruleIds"); } + set { BackingStore?.Set("ruleIds", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ExceptionInfo() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Security.Dlp.ExceptionInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.Dlp.ExceptionInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isFalsePositive", n => { IsFalsePositive = n.GetBoolValue(); } }, + { "justification", n => { Justification = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "reason", n => { Reason = n.GetStringValue(); } }, + { "ruleIds", n => { RuleIds = 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.WriteBoolValue("isFalsePositive", IsFalsePositive); + writer.WriteStringValue("justification", Justification); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("reason", Reason); + writer.WriteCollectionOfPrimitiveValues("ruleIds", RuleIds); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/Dlp/ExchangeMetaDataInfo.cs b/src/Microsoft.Graph/Generated/Models/Security/Dlp/ExchangeMetaDataInfo.cs new file mode 100644 index 000000000000..b7559c15e2f4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/Dlp/ExchangeMetaDataInfo.cs @@ -0,0 +1,330 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security.Dlp +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ExchangeMetaDataInfo : 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 attachmentDetails property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AttachmentDetails + { + get { return BackingStore?.Get?>("attachmentDetails"); } + set { BackingStore?.Set("attachmentDetails", value); } + } +#nullable restore +#else + public List AttachmentDetails + { + get { return BackingStore?.Get>("attachmentDetails"); } + set { BackingStore?.Set("attachmentDetails", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The bccRecipients property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? BccRecipients + { + get { return BackingStore?.Get?>("bccRecipients"); } + set { BackingStore?.Set("bccRecipients", value); } + } +#nullable restore +#else + public List BccRecipients + { + get { return BackingStore?.Get>("bccRecipients"); } + set { BackingStore?.Set("bccRecipients", value); } + } +#endif + /// The ccRecipients property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? CcRecipients + { + get { return BackingStore?.Get?>("ccRecipients"); } + set { BackingStore?.Set("ccRecipients", value); } + } +#nullable restore +#else + public List CcRecipients + { + get { return BackingStore?.Get>("ccRecipients"); } + set { BackingStore?.Set("ccRecipients", value); } + } +#endif + /// The docId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DocId + { + get { return BackingStore?.Get("docId"); } + set { BackingStore?.Set("docId", value); } + } +#nullable restore +#else + public string DocId + { + get { return BackingStore?.Get("docId"); } + set { BackingStore?.Set("docId", value); } + } +#endif + /// The fileSize property + public long? FileSize + { + get { return BackingStore?.Get("fileSize"); } + set { BackingStore?.Set("fileSize", value); } + } + /// The from property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? From + { + get { return BackingStore?.Get("from"); } + set { BackingStore?.Set("from", value); } + } +#nullable restore +#else + public string From + { + get { return BackingStore?.Get("from"); } + set { BackingStore?.Set("from", value); } + } +#endif + /// The immutableEntryId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ImmutableEntryId + { + get { return BackingStore?.Get("immutableEntryId"); } + set { BackingStore?.Set("immutableEntryId", value); } + } +#nullable restore +#else + public string ImmutableEntryId + { + get { return BackingStore?.Get("immutableEntryId"); } + set { BackingStore?.Set("immutableEntryId", value); } + } +#endif + /// The isViewableByExternalUsers property + public bool? IsViewableByExternalUsers + { + get { return BackingStore?.Get("isViewableByExternalUsers"); } + set { BackingStore?.Set("isViewableByExternalUsers", value); } + } + /// 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 OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The recipientCount property + public int? RecipientCount + { + get { return BackingStore?.Get("recipientCount"); } + set { BackingStore?.Set("recipientCount", value); } + } + /// The sensitivityLabelIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SensitivityLabelIds + { + get { return BackingStore?.Get?>("sensitivityLabelIds"); } + set { BackingStore?.Set("sensitivityLabelIds", value); } + } +#nullable restore +#else + public List SensitivityLabelIds + { + get { return BackingStore?.Get>("sensitivityLabelIds"); } + set { BackingStore?.Set("sensitivityLabelIds", value); } + } +#endif + /// The sensitivityLabelNames property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SensitivityLabelNames + { + get { return BackingStore?.Get?>("sensitivityLabelNames"); } + set { BackingStore?.Set("sensitivityLabelNames", value); } + } +#nullable restore +#else + public List SensitivityLabelNames + { + get { return BackingStore?.Get>("sensitivityLabelNames"); } + set { BackingStore?.Set("sensitivityLabelNames", value); } + } +#endif + /// The sentDate property + public Date? SentDate + { + get { return BackingStore?.Get("sentDate"); } + set { BackingStore?.Set("sentDate", 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 + /// 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 + /// The uniqueId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UniqueId + { + get { return BackingStore?.Get("uniqueId"); } + set { BackingStore?.Set("uniqueId", value); } + } +#nullable restore +#else + public string UniqueId + { + get { return BackingStore?.Get("uniqueId"); } + set { BackingStore?.Set("uniqueId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ExchangeMetaDataInfo() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Security.Dlp.ExchangeMetaDataInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.Dlp.ExchangeMetaDataInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "attachmentDetails", n => { AttachmentDetails = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.Dlp.AttachmentInfo.CreateFromDiscriminatorValue)?.AsList(); } }, + { "bccRecipients", n => { BccRecipients = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "ccRecipients", n => { CcRecipients = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "docId", n => { DocId = n.GetStringValue(); } }, + { "fileSize", n => { FileSize = n.GetLongValue(); } }, + { "from", n => { From = n.GetStringValue(); } }, + { "immutableEntryId", n => { ImmutableEntryId = n.GetStringValue(); } }, + { "isViewableByExternalUsers", n => { IsViewableByExternalUsers = n.GetBoolValue(); } }, + { "messageId", n => { MessageId = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "recipientCount", n => { RecipientCount = n.GetIntValue(); } }, + { "sensitivityLabelIds", n => { SensitivityLabelIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "sensitivityLabelNames", n => { SensitivityLabelNames = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "sentDate", n => { SentDate = n.GetDateValue(); } }, + { "subject", n => { Subject = n.GetStringValue(); } }, + { "toRecipients", n => { ToRecipients = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "uniqueId", n => { UniqueId = 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.WriteCollectionOfObjectValues("attachmentDetails", AttachmentDetails); + writer.WriteCollectionOfPrimitiveValues("bccRecipients", BccRecipients); + writer.WriteCollectionOfPrimitiveValues("ccRecipients", CcRecipients); + writer.WriteStringValue("docId", DocId); + writer.WriteLongValue("fileSize", FileSize); + writer.WriteStringValue("from", From); + writer.WriteStringValue("immutableEntryId", ImmutableEntryId); + writer.WriteBoolValue("isViewableByExternalUsers", IsViewableByExternalUsers); + writer.WriteStringValue("messageId", MessageId); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteIntValue("recipientCount", RecipientCount); + writer.WriteCollectionOfPrimitiveValues("sensitivityLabelIds", SensitivityLabelIds); + writer.WriteCollectionOfPrimitiveValues("sensitivityLabelNames", SensitivityLabelNames); + writer.WriteDateValue("sentDate", SentDate); + writer.WriteStringValue("subject", Subject); + writer.WriteCollectionOfPrimitiveValues("toRecipients", ToRecipients); + writer.WriteStringValue("uniqueId", UniqueId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/Dlp/PurposeType.cs b/src/Microsoft.Graph/Generated/Models/Security/Dlp/PurposeType.cs new file mode 100644 index 000000000000..48fe15a8f901 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/Dlp/PurposeType.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Security.Dlp +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum PurposeType + #pragma warning restore CS1591 + { + [EnumMember(Value = "audit")] + #pragma warning disable CS1591 + Audit, + #pragma warning restore CS1591 + [EnumMember(Value = "di")] + #pragma warning disable CS1591 + Di, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/Dlp/RemediationActivityType.cs b/src/Microsoft.Graph/Generated/Models/Security/Dlp/RemediationActivityType.cs new file mode 100644 index 000000000000..f712e7b9790e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/Dlp/RemediationActivityType.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Security.Dlp +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum RemediationActivityType + #pragma warning restore CS1591 + { + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "templateTriggered")] + #pragma warning disable CS1591 + TemplateTriggered, + #pragma warning restore CS1591 + [EnumMember(Value = "iwUnableToTakeAction")] + #pragma warning disable CS1591 + IwUnableToTakeAction, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/Dlp/RemediationInfo.cs b/src/Microsoft.Graph/Generated/Models/Security/Dlp/RemediationInfo.cs new file mode 100644 index 000000000000..2e921e8e2813 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/Dlp/RemediationInfo.cs @@ -0,0 +1,233 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security.Dlp +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemediationInfo : 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 alertId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AlertId + { + get { return BackingStore?.Get("alertId"); } + set { BackingStore?.Set("alertId", value); } + } +#nullable restore +#else + public string AlertId + { + get { return BackingStore?.Get("alertId"); } + set { BackingStore?.Set("alertId", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The bccRecipients property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? BccRecipients + { + get { return BackingStore?.Get?>("bccRecipients"); } + set { BackingStore?.Set("bccRecipients", value); } + } +#nullable restore +#else + public List BccRecipients + { + get { return BackingStore?.Get>("bccRecipients"); } + set { BackingStore?.Set("bccRecipients", value); } + } +#endif + /// The ccRecipients property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? CcRecipients + { + get { return BackingStore?.Get?>("ccRecipients"); } + set { BackingStore?.Set("ccRecipients", value); } + } +#nullable restore +#else + public List CcRecipients + { + get { return BackingStore?.Get>("ccRecipients"); } + set { BackingStore?.Set("ccRecipients", value); } + } +#endif + /// The iwUser property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IwUser + { + get { return BackingStore?.Get("iwUser"); } + set { BackingStore?.Set("iwUser", value); } + } +#nullable restore +#else + public string IwUser + { + get { return BackingStore?.Get("iwUser"); } + set { BackingStore?.Set("iwUser", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The recipients property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Recipients + { + get { return BackingStore?.Get?>("recipients"); } + set { BackingStore?.Set("recipients", value); } + } +#nullable restore +#else + public List Recipients + { + get { return BackingStore?.Get>("recipients"); } + set { BackingStore?.Set("recipients", value); } + } +#endif + /// The remediationActivity property + public global::Microsoft.Graph.Beta.Models.Security.Dlp.RemediationActivityType? RemediationActivity + { + get { return BackingStore?.Get("remediationActivity"); } + set { BackingStore?.Set("remediationActivity", value); } + } + /// The sender property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Sender + { + get { return BackingStore?.Get("sender"); } + set { BackingStore?.Set("sender", value); } + } +#nullable restore +#else + public string Sender + { + get { return BackingStore?.Get("sender"); } + set { BackingStore?.Set("sender", value); } + } +#endif + /// 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 + /// The templateName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TemplateName + { + get { return BackingStore?.Get("templateName"); } + set { BackingStore?.Set("templateName", value); } + } +#nullable restore +#else + public string TemplateName + { + get { return BackingStore?.Get("templateName"); } + set { BackingStore?.Set("templateName", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemediationInfo() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Security.Dlp.RemediationInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.Dlp.RemediationInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "alertId", n => { AlertId = n.GetStringValue(); } }, + { "bccRecipients", n => { BccRecipients = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "ccRecipients", n => { CcRecipients = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "iwUser", n => { IwUser = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "recipients", n => { Recipients = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "remediationActivity", n => { RemediationActivity = n.GetEnumValue(); } }, + { "sender", n => { Sender = n.GetStringValue(); } }, + { "subject", n => { Subject = n.GetStringValue(); } }, + { "templateName", n => { TemplateName = 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("alertId", AlertId); + writer.WriteCollectionOfPrimitiveValues("bccRecipients", BccRecipients); + writer.WriteCollectionOfPrimitiveValues("ccRecipients", CcRecipients); + writer.WriteStringValue("iwUser", IwUser); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteCollectionOfPrimitiveValues("recipients", Recipients); + writer.WriteEnumValue("remediationActivity", RemediationActivity); + writer.WriteStringValue("sender", Sender); + writer.WriteStringValue("subject", Subject); + writer.WriteStringValue("templateName", TemplateName); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/Dlp/SensitiveInformationDetailedConfidenceLevelResult.cs b/src/Microsoft.Graph/Generated/Models/Security/Dlp/SensitiveInformationDetailedConfidenceLevelResult.cs new file mode 100644 index 000000000000..322aecb78972 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/Dlp/SensitiveInformationDetailedConfidenceLevelResult.cs @@ -0,0 +1,105 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security.Dlp +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SensitiveInformationDetailedConfidenceLevelResult : 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 confidence property + public int? Confidence + { + get { return BackingStore?.Get("confidence"); } + set { BackingStore?.Set("confidence", value); } + } + /// The count property + public int? Count + { + get { return BackingStore?.Get("count"); } + set { BackingStore?.Set("count", value); } + } + /// The isMatch property + public bool? IsMatch + { + get { return BackingStore?.Get("isMatch"); } + set { BackingStore?.Set("isMatch", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SensitiveInformationDetailedConfidenceLevelResult() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Security.Dlp.SensitiveInformationDetailedConfidenceLevelResult CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.Dlp.SensitiveInformationDetailedConfidenceLevelResult(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "confidence", n => { Confidence = n.GetIntValue(); } }, + { "count", n => { Count = n.GetIntValue(); } }, + { "isMatch", n => { IsMatch = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteIntValue("confidence", Confidence); + writer.WriteIntValue("count", Count); + writer.WriteBoolValue("isMatch", IsMatch); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/Dlp/SessionMetadataInfo.cs b/src/Microsoft.Graph/Generated/Models/Security/Dlp/SessionMetadataInfo.cs new file mode 100644 index 000000000000..39e7f898b545 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/Dlp/SessionMetadataInfo.cs @@ -0,0 +1,261 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security.Dlp +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SessionMetadataInfo : 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 appHost property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AppHost + { + get { return BackingStore?.Get("appHost"); } + set { BackingStore?.Set("appHost", value); } + } +#nullable restore +#else + public string AppHost + { + get { return BackingStore?.Get("appHost"); } + set { BackingStore?.Set("appHost", value); } + } +#endif + /// The appHostCategories property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AppHostCategories + { + get { return BackingStore?.Get?>("appHostCategories"); } + set { BackingStore?.Set("appHostCategories", value); } + } +#nullable restore +#else + public List AppHostCategories + { + get { return BackingStore?.Get>("appHostCategories"); } + set { BackingStore?.Set("appHostCategories", value); } + } +#endif + /// The appHostFqdn property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AppHostFqdn + { + get { return BackingStore?.Get("appHostFqdn"); } + set { BackingStore?.Set("appHostFqdn", value); } + } +#nullable restore +#else + public string AppHostFqdn + { + get { return BackingStore?.Get("appHostFqdn"); } + set { BackingStore?.Set("appHostFqdn", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The browser property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Browser + { + get { return BackingStore?.Get("browser"); } + set { BackingStore?.Set("browser", value); } + } +#nullable restore +#else + public string Browser + { + get { return BackingStore?.Get("browser"); } + set { BackingStore?.Set("browser", value); } + } +#endif + /// The browserVersion property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? BrowserVersion + { + get { return BackingStore?.Get("browserVersion"); } + set { BackingStore?.Set("browserVersion", value); } + } +#nullable restore +#else + public string BrowserVersion + { + get { return BackingStore?.Get("browserVersion"); } + set { BackingStore?.Set("browserVersion", value); } + } +#endif + /// The deviceManagementType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DeviceManagementType + { + get { return BackingStore?.Get("deviceManagementType"); } + set { BackingStore?.Set("deviceManagementType", value); } + } +#nullable restore +#else + public string DeviceManagementType + { + get { return BackingStore?.Get("deviceManagementType"); } + set { BackingStore?.Set("deviceManagementType", value); } + } +#endif + /// The deviceType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DeviceType + { + get { return BackingStore?.Get("deviceType"); } + set { BackingStore?.Set("deviceType", value); } + } +#nullable restore +#else + public string DeviceType + { + get { return BackingStore?.Get("deviceType"); } + set { BackingStore?.Set("deviceType", value); } + } +#endif + /// The enforcementPlane property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? EnforcementPlane + { + get { return BackingStore?.Get("enforcementPlane"); } + set { BackingStore?.Set("enforcementPlane", value); } + } +#nullable restore +#else + public string EnforcementPlane + { + get { return BackingStore?.Get("enforcementPlane"); } + set { BackingStore?.Set("enforcementPlane", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The osPlatform property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OsPlatform + { + get { return BackingStore?.Get("osPlatform"); } + set { BackingStore?.Set("osPlatform", value); } + } +#nullable restore +#else + public string OsPlatform + { + get { return BackingStore?.Get("osPlatform"); } + set { BackingStore?.Set("osPlatform", value); } + } +#endif + /// The osVersion property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OsVersion + { + get { return BackingStore?.Get("osVersion"); } + set { BackingStore?.Set("osVersion", value); } + } +#nullable restore +#else + public string OsVersion + { + get { return BackingStore?.Get("osVersion"); } + set { BackingStore?.Set("osVersion", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SessionMetadataInfo() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Security.Dlp.SessionMetadataInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.Dlp.SessionMetadataInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "appHost", n => { AppHost = n.GetStringValue(); } }, + { "appHostCategories", n => { AppHostCategories = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "appHostFqdn", n => { AppHostFqdn = n.GetStringValue(); } }, + { "browser", n => { Browser = n.GetStringValue(); } }, + { "browserVersion", n => { BrowserVersion = n.GetStringValue(); } }, + { "deviceManagementType", n => { DeviceManagementType = n.GetStringValue(); } }, + { "deviceType", n => { DeviceType = n.GetStringValue(); } }, + { "enforcementPlane", n => { EnforcementPlane = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "osPlatform", n => { OsPlatform = n.GetStringValue(); } }, + { "osVersion", n => { OsVersion = 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("appHost", AppHost); + writer.WriteCollectionOfPrimitiveValues("appHostCategories", AppHostCategories); + writer.WriteStringValue("appHostFqdn", AppHostFqdn); + writer.WriteStringValue("browser", Browser); + writer.WriteStringValue("browserVersion", BrowserVersion); + writer.WriteStringValue("deviceManagementType", DeviceManagementType); + writer.WriteStringValue("deviceType", DeviceType); + writer.WriteStringValue("enforcementPlane", EnforcementPlane); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("osPlatform", OsPlatform); + writer.WriteStringValue("osVersion", OsVersion); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/Dlp/SharePointMetaDataInfo.cs b/src/Microsoft.Graph/Generated/Models/Security/Dlp/SharePointMetaDataInfo.cs new file mode 100644 index 000000000000..2e5b71f4b32a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/Dlp/SharePointMetaDataInfo.cs @@ -0,0 +1,444 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security.Dlp +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SharePointMetaDataInfo : 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 aiFileActions property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AiFileActions + { + get { return BackingStore?.Get("aiFileActions"); } + set { BackingStore?.Set("aiFileActions", value); } + } +#nullable restore +#else + public string AiFileActions + { + get { return BackingStore?.Get("aiFileActions"); } + set { BackingStore?.Set("aiFileActions", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The blockedUserForFileAccess property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? BlockedUserForFileAccess + { + get { return BackingStore?.Get("blockedUserForFileAccess"); } + set { BackingStore?.Set("blockedUserForFileAccess", value); } + } +#nullable restore +#else + public string BlockedUserForFileAccess + { + get { return BackingStore?.Get("blockedUserForFileAccess"); } + set { BackingStore?.Set("blockedUserForFileAccess", value); } + } +#endif + /// The fileId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? FileId + { + get { return BackingStore?.Get("fileId"); } + set { BackingStore?.Set("fileId", value); } + } +#nullable restore +#else + public string FileId + { + get { return BackingStore?.Get("fileId"); } + set { BackingStore?.Set("fileId", value); } + } +#endif + /// The fileName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? FileName + { + get { return BackingStore?.Get("fileName"); } + set { BackingStore?.Set("fileName", value); } + } +#nullable restore +#else + public string FileName + { + get { return BackingStore?.Get("fileName"); } + set { BackingStore?.Set("fileName", value); } + } +#endif + /// The fileOwner property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? FileOwner + { + get { return BackingStore?.Get("fileOwner"); } + set { BackingStore?.Set("fileOwner", value); } + } +#nullable restore +#else + public string FileOwner + { + get { return BackingStore?.Get("fileOwner"); } + set { BackingStore?.Set("fileOwner", value); } + } +#endif + /// The filePathUrl property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? FilePathUrl + { + get { return BackingStore?.Get("filePathUrl"); } + set { BackingStore?.Set("filePathUrl", value); } + } +#nullable restore +#else + public string FilePathUrl + { + get { return BackingStore?.Get("filePathUrl"); } + set { BackingStore?.Set("filePathUrl", value); } + } +#endif + /// The fileSize property + public long? FileSize + { + get { return BackingStore?.Get("fileSize"); } + set { BackingStore?.Set("fileSize", value); } + } + /// The from property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? From + { + get { return BackingStore?.Get("from"); } + set { BackingStore?.Set("from", value); } + } +#nullable restore +#else + public string From + { + get { return BackingStore?.Get("from"); } + set { BackingStore?.Set("from", value); } + } +#endif + /// The isJitTriggered property + public bool? IsJitTriggered + { + get { return BackingStore?.Get("isJitTriggered"); } + set { BackingStore?.Set("isJitTriggered", value); } + } + /// The isViewableByExternalUsers property + public bool? IsViewableByExternalUsers + { + get { return BackingStore?.Get("isViewableByExternalUsers"); } + set { BackingStore?.Set("isViewableByExternalUsers", value); } + } + /// The isVisibleOnlyToOdbOwner property + public bool? IsVisibleOnlyToOdbOwner + { + get { return BackingStore?.Get("isVisibleOnlyToOdbOwner"); } + set { BackingStore?.Set("isVisibleOnlyToOdbOwner", value); } + } + /// The itemCreatedDate property + public Date? ItemCreatedDate + { + get { return BackingStore?.Get("itemCreatedDate"); } + set { BackingStore?.Set("itemCreatedDate", value); } + } + /// The itemLastModifiedDate property + public Date? ItemLastModifiedDate + { + get { return BackingStore?.Get("itemLastModifiedDate"); } + set { BackingStore?.Set("itemLastModifiedDate", value); } + } + /// The itemLastSharedDate property + public Date? ItemLastSharedDate + { + get { return BackingStore?.Get("itemLastSharedDate"); } + set { BackingStore?.Set("itemLastSharedDate", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The quarantineLocationFileUrl property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? QuarantineLocationFileUrl + { + get { return BackingStore?.Get("quarantineLocationFileUrl"); } + set { BackingStore?.Set("quarantineLocationFileUrl", value); } + } +#nullable restore +#else + public string QuarantineLocationFileUrl + { + get { return BackingStore?.Get("quarantineLocationFileUrl"); } + set { BackingStore?.Set("quarantineLocationFileUrl", value); } + } +#endif + /// The sensitivityLabelIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SensitivityLabelIds + { + get { return BackingStore?.Get?>("sensitivityLabelIds"); } + set { BackingStore?.Set("sensitivityLabelIds", value); } + } +#nullable restore +#else + public List SensitivityLabelIds + { + get { return BackingStore?.Get>("sensitivityLabelIds"); } + set { BackingStore?.Set("sensitivityLabelIds", value); } + } +#endif + /// The sensitivityLabelNames property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SensitivityLabelNames + { + get { return BackingStore?.Get?>("sensitivityLabelNames"); } + set { BackingStore?.Set("sensitivityLabelNames", value); } + } +#nullable restore +#else + public List SensitivityLabelNames + { + get { return BackingStore?.Get>("sensitivityLabelNames"); } + set { BackingStore?.Set("sensitivityLabelNames", value); } + } +#endif + /// The sharedBy property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SharedBy + { + get { return BackingStore?.Get?>("sharedBy"); } + set { BackingStore?.Set("sharedBy", value); } + } +#nullable restore +#else + public List SharedBy + { + get { return BackingStore?.Get>("sharedBy"); } + set { BackingStore?.Set("sharedBy", value); } + } +#endif + /// The sharedWith property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SharedWith + { + get { return BackingStore?.Get?>("sharedWith"); } + set { BackingStore?.Set("sharedWith", value); } + } +#nullable restore +#else + public List SharedWith + { + get { return BackingStore?.Get>("sharedWith"); } + set { BackingStore?.Set("sharedWith", value); } + } +#endif + /// The siteAdmins property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SiteAdmins + { + get { return BackingStore?.Get?>("siteAdmins"); } + set { BackingStore?.Set("siteAdmins", value); } + } +#nullable restore +#else + public List SiteAdmins + { + get { return BackingStore?.Get>("siteAdmins"); } + set { BackingStore?.Set("siteAdmins", value); } + } +#endif + /// The siteCollectionGuid property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SiteCollectionGuid + { + get { return BackingStore?.Get("siteCollectionGuid"); } + set { BackingStore?.Set("siteCollectionGuid", value); } + } +#nullable restore +#else + public string SiteCollectionGuid + { + get { return BackingStore?.Get("siteCollectionGuid"); } + set { BackingStore?.Set("siteCollectionGuid", value); } + } +#endif + /// The siteCollectionUrl property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SiteCollectionUrl + { + get { return BackingStore?.Get("siteCollectionUrl"); } + set { BackingStore?.Set("siteCollectionUrl", value); } + } +#nullable restore +#else + public string SiteCollectionUrl + { + get { return BackingStore?.Get("siteCollectionUrl"); } + set { BackingStore?.Set("siteCollectionUrl", value); } + } +#endif + /// The uniqueId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UniqueId + { + get { return BackingStore?.Get("uniqueId"); } + set { BackingStore?.Set("uniqueId", value); } + } +#nullable restore +#else + public string UniqueId + { + get { return BackingStore?.Get("uniqueId"); } + set { BackingStore?.Set("uniqueId", value); } + } +#endif + /// The violatingAction property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ViolatingAction + { + get { return BackingStore?.Get("violatingAction"); } + set { BackingStore?.Set("violatingAction", value); } + } +#nullable restore +#else + public string ViolatingAction + { + get { return BackingStore?.Get("violatingAction"); } + set { BackingStore?.Set("violatingAction", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SharePointMetaDataInfo() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Security.Dlp.SharePointMetaDataInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.Dlp.SharePointMetaDataInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "aiFileActions", n => { AiFileActions = n.GetStringValue(); } }, + { "blockedUserForFileAccess", n => { BlockedUserForFileAccess = n.GetStringValue(); } }, + { "fileId", n => { FileId = n.GetStringValue(); } }, + { "fileName", n => { FileName = n.GetStringValue(); } }, + { "fileOwner", n => { FileOwner = n.GetStringValue(); } }, + { "filePathUrl", n => { FilePathUrl = n.GetStringValue(); } }, + { "fileSize", n => { FileSize = n.GetLongValue(); } }, + { "from", n => { From = n.GetStringValue(); } }, + { "isJitTriggered", n => { IsJitTriggered = n.GetBoolValue(); } }, + { "isViewableByExternalUsers", n => { IsViewableByExternalUsers = n.GetBoolValue(); } }, + { "isVisibleOnlyToOdbOwner", n => { IsVisibleOnlyToOdbOwner = n.GetBoolValue(); } }, + { "itemCreatedDate", n => { ItemCreatedDate = n.GetDateValue(); } }, + { "itemLastModifiedDate", n => { ItemLastModifiedDate = n.GetDateValue(); } }, + { "itemLastSharedDate", n => { ItemLastSharedDate = n.GetDateValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "quarantineLocationFileUrl", n => { QuarantineLocationFileUrl = n.GetStringValue(); } }, + { "sensitivityLabelIds", n => { SensitivityLabelIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "sensitivityLabelNames", n => { SensitivityLabelNames = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "sharedBy", n => { SharedBy = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "sharedWith", n => { SharedWith = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "siteAdmins", n => { SiteAdmins = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "siteCollectionGuid", n => { SiteCollectionGuid = n.GetStringValue(); } }, + { "siteCollectionUrl", n => { SiteCollectionUrl = n.GetStringValue(); } }, + { "uniqueId", n => { UniqueId = n.GetStringValue(); } }, + { "violatingAction", n => { ViolatingAction = 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("aiFileActions", AiFileActions); + writer.WriteStringValue("blockedUserForFileAccess", BlockedUserForFileAccess); + writer.WriteStringValue("fileId", FileId); + writer.WriteStringValue("fileName", FileName); + writer.WriteStringValue("fileOwner", FileOwner); + writer.WriteStringValue("filePathUrl", FilePathUrl); + writer.WriteLongValue("fileSize", FileSize); + writer.WriteStringValue("from", From); + writer.WriteBoolValue("isJitTriggered", IsJitTriggered); + writer.WriteBoolValue("isViewableByExternalUsers", IsViewableByExternalUsers); + writer.WriteBoolValue("isVisibleOnlyToOdbOwner", IsVisibleOnlyToOdbOwner); + writer.WriteDateValue("itemCreatedDate", ItemCreatedDate); + writer.WriteDateValue("itemLastModifiedDate", ItemLastModifiedDate); + writer.WriteDateValue("itemLastSharedDate", ItemLastSharedDate); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("quarantineLocationFileUrl", QuarantineLocationFileUrl); + writer.WriteCollectionOfPrimitiveValues("sensitivityLabelIds", SensitivityLabelIds); + writer.WriteCollectionOfPrimitiveValues("sensitivityLabelNames", SensitivityLabelNames); + writer.WriteCollectionOfPrimitiveValues("sharedBy", SharedBy); + writer.WriteCollectionOfPrimitiveValues("sharedWith", SharedWith); + writer.WriteCollectionOfPrimitiveValues("siteAdmins", SiteAdmins); + writer.WriteStringValue("siteCollectionGuid", SiteCollectionGuid); + writer.WriteStringValue("siteCollectionUrl", SiteCollectionUrl); + writer.WriteStringValue("uniqueId", UniqueId); + writer.WriteStringValue("violatingAction", ViolatingAction); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/Dlp/SubscriptionInfo.cs b/src/Microsoft.Graph/Generated/Models/Security/Dlp/SubscriptionInfo.cs new file mode 100644 index 000000000000..1edd96bb3b65 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/Dlp/SubscriptionInfo.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security.Dlp +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SubscriptionInfo : 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 dlpSubscriptionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DlpSubscriptionId + { + get { return BackingStore?.Get("dlpSubscriptionId"); } + set { BackingStore?.Set("dlpSubscriptionId", value); } + } +#nullable restore +#else + public string DlpSubscriptionId + { + get { return BackingStore?.Get("dlpSubscriptionId"); } + set { BackingStore?.Set("dlpSubscriptionId", value); } + } +#endif + /// The name property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#nullable restore +#else + public string Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SubscriptionInfo() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Security.Dlp.SubscriptionInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.Dlp.SubscriptionInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "dlpSubscriptionId", n => { DlpSubscriptionId = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("dlpSubscriptionId", DlpSubscriptionId); + writer.WriteStringValue("name", Name); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/Dlp/UserType.cs b/src/Microsoft.Graph/Generated/Models/Security/Dlp/UserType.cs new file mode 100644 index 000000000000..47468a33481f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/Dlp/UserType.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Security.Dlp +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum UserType + #pragma warning restore CS1591 + { + [EnumMember(Value = "regular")] + #pragma warning disable CS1591 + Regular, + #pragma warning restore CS1591 + [EnumMember(Value = "admin")] + #pragma warning disable CS1591 + Admin, + #pragma warning restore CS1591 + [EnumMember(Value = "system")] + #pragma warning disable CS1591 + System, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/MergeResponse.cs b/src/Microsoft.Graph/Generated/Models/Security/MergeResponse.cs new file mode 100644 index 000000000000..c1244473bdcf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/MergeResponse.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class MergeResponse : 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 OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The targetIncidentId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TargetIncidentId + { + get { return BackingStore?.Get("targetIncidentId"); } + set { BackingStore?.Set("targetIncidentId", value); } + } +#nullable restore +#else + public string TargetIncidentId + { + get { return BackingStore?.Get("targetIncidentId"); } + set { BackingStore?.Set("targetIncidentId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public MergeResponse() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Security.MergeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.MergeResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "targetIncidentId", n => { TargetIncidentId = 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("@odata.type", OdataType); + writer.WriteStringValue("targetIncidentId", TargetIncidentId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs b/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs index 3873e3c3ffeb..f25312110dda 100644 --- a/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs +++ b/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs @@ -222,7 +222,7 @@ public bool? AppRoleAssignmentRequired set { BackingStore?.Set("claimsPolicy", value); } } #endif - /// The appId (called Application (client) ID on the Microsoft Entra admin center) of the application used to create the service principal. Set internally by Microsoft Entra ID. Read-only. + /// The appId of the application that created this service principal. Set internally by Microsoft Entra ID. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? CreatedByAppId diff --git a/src/Microsoft.Graph/Generated/Models/OrganizationAllowedAudiences.cs b/src/Microsoft.Graph/Generated/Models/ServiceType.cs similarity index 70% rename from src/Microsoft.Graph/Generated/Models/OrganizationAllowedAudiences.cs rename to src/Microsoft.Graph/Generated/Models/ServiceType.cs index 2f2d58963f93..5d02e6cd9808 100644 --- a/src/Microsoft.Graph/Generated/Models/OrganizationAllowedAudiences.cs +++ b/src/Microsoft.Graph/Generated/Models/ServiceType.cs @@ -5,24 +5,24 @@ namespace Microsoft.Graph.Beta.Models { [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 - public enum OrganizationAllowedAudiences + public enum ServiceType #pragma warning restore CS1591 { - [EnumMember(Value = "me")] + [EnumMember(Value = "unknown")] #pragma warning disable CS1591 - Me, + Unknown, #pragma warning restore CS1591 - [EnumMember(Value = "organization")] + [EnumMember(Value = "sharePoint")] #pragma warning disable CS1591 - Organization, + SharePoint, #pragma warning restore CS1591 - [EnumMember(Value = "federatedOrganizations")] + [EnumMember(Value = "exchange")] #pragma warning disable CS1591 - FederatedOrganizations, + Exchange, #pragma warning restore CS1591 - [EnumMember(Value = "everyone")] + [EnumMember(Value = "oneDriveForBusiness")] #pragma warning disable CS1591 - Everyone, + OneDriveForBusiness, #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] #pragma warning disable CS1591 diff --git a/src/Microsoft.Graph/Generated/Models/SharePointGroup.cs b/src/Microsoft.Graph/Generated/Models/SharePointGroup.cs index 36fed76f4160..8ecfe4000bb1 100644 --- a/src/Microsoft.Graph/Generated/Models/SharePointGroup.cs +++ b/src/Microsoft.Graph/Generated/Models/SharePointGroup.cs @@ -43,6 +43,22 @@ public string Description get { return BackingStore?.Get>("members"); } set { BackingStore?.Set("members", value); } } +#endif + /// The principalId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PrincipalId + { + get { return BackingStore?.Get("principalId"); } + set { BackingStore?.Set("principalId", value); } + } +#nullable restore +#else + public string PrincipalId + { + get { return BackingStore?.Get("principalId"); } + set { BackingStore?.Set("principalId", value); } + } #endif /// The user-visible title of the sharePointGroup. Read-write. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -80,6 +96,7 @@ public override IDictionary> GetFieldDeserializers() { { "description", n => { Description = n.GetStringValue(); } }, { "members", n => { Members = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.SharePointGroupMember.CreateFromDiscriminatorValue)?.AsList(); } }, + { "principalId", n => { PrincipalId = n.GetStringValue(); } }, { "title", n => { Title = n.GetStringValue(); } }, }; } @@ -93,6 +110,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteStringValue("description", Description); writer.WriteCollectionOfObjectValues("members", Members); + writer.WriteStringValue("principalId", PrincipalId); writer.WriteStringValue("title", Title); } } diff --git a/src/Microsoft.Graph/Generated/Models/SharePointGroupIdentity.cs b/src/Microsoft.Graph/Generated/Models/SharePointGroupIdentity.cs new file mode 100644 index 000000000000..1d39134a85c7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SharePointGroupIdentity.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SharePointGroupIdentity : global::Microsoft.Graph.Beta.Models.Identity, IParsable + #pragma warning restore CS1591 + { + /// The principalId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PrincipalId + { + get { return BackingStore?.Get("principalId"); } + set { BackingStore?.Set("principalId", value); } + } +#nullable restore +#else + public string PrincipalId + { + get { return BackingStore?.Get("principalId"); } + set { BackingStore?.Set("principalId", value); } + } +#endif + /// The title property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Title + { + get { return BackingStore?.Get("title"); } + set { BackingStore?.Set("title", value); } + } +#nullable restore +#else + public string Title + { + get { return BackingStore?.Get("title"); } + set { BackingStore?.Set("title", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SharePointGroupIdentity() : base() + { + OdataType = "#microsoft.graph.sharePointGroupIdentity"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.SharePointGroupIdentity CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.SharePointGroupIdentity(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "principalId", n => { PrincipalId = n.GetStringValue(); } }, + { "title", n => { Title = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("principalId", PrincipalId); + writer.WriteStringValue("title", Title); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SharePointIdentitySet.cs b/src/Microsoft.Graph/Generated/Models/SharePointIdentitySet.cs index fe32ca78a525..df71795dc7df 100644 --- a/src/Microsoft.Graph/Generated/Models/SharePointIdentitySet.cs +++ b/src/Microsoft.Graph/Generated/Models/SharePointIdentitySet.cs @@ -27,6 +27,22 @@ public partial class SharePointIdentitySet : global::Microsoft.Graph.Beta.Models get { return BackingStore?.Get("group"); } set { BackingStore?.Set("group", value); } } +#endif + /// The sharePointGroup property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.SharePointGroupIdentity? SharePointGroup + { + get { return BackingStore?.Get("sharePointGroup"); } + set { BackingStore?.Set("sharePointGroup", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.SharePointGroupIdentity SharePointGroup + { + get { return BackingStore?.Get("sharePointGroup"); } + set { BackingStore?.Set("sharePointGroup", value); } + } #endif /// The SharePoint group associated with this action. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -86,6 +102,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "group", n => { Group = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Identity.CreateFromDiscriminatorValue); } }, + { "sharePointGroup", n => { SharePointGroup = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.SharePointGroupIdentity.CreateFromDiscriminatorValue); } }, { "siteGroup", n => { SiteGroup = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.SharePointIdentity.CreateFromDiscriminatorValue); } }, { "siteUser", n => { SiteUser = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.SharePointIdentity.CreateFromDiscriminatorValue); } }, }; @@ -99,6 +116,7 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteObjectValue("group", Group); + writer.WriteObjectValue("sharePointGroup", SharePointGroup); writer.WriteObjectValue("siteGroup", SiteGroup); writer.WriteObjectValue("siteUser", SiteUser); } diff --git a/src/Microsoft.Graph/Generated/Models/SignUpIdentifierType.cs b/src/Microsoft.Graph/Generated/Models/SignUpIdentifierType.cs index 8ef3782dff84..1b5e365e4bbb 100644 --- a/src/Microsoft.Graph/Generated/Models/SignUpIdentifierType.cs +++ b/src/Microsoft.Graph/Generated/Models/SignUpIdentifierType.cs @@ -16,5 +16,9 @@ public enum SignUpIdentifierType #pragma warning disable CS1591 UnknownFutureValue, #pragma warning restore CS1591 + [EnumMember(Value = "federation")] + #pragma warning disable CS1591 + Federation, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/SiteArchivalDetails.cs b/src/Microsoft.Graph/Generated/Models/SiteArchivalDetails.cs index d31b3703dc68..71ce20520998 100644 --- a/src/Microsoft.Graph/Generated/Models/SiteArchivalDetails.cs +++ b/src/Microsoft.Graph/Generated/Models/SiteArchivalDetails.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The archivedBy property + /// The user or application that archived the container. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.IdentitySet? ArchivedBy @@ -35,7 +35,7 @@ public IDictionary AdditionalData set { BackingStore?.Set("archivedBy", value); } } #endif - /// The archivedDateTime property + /// Time when the container was archived. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? ArchivedDateTime { get { return BackingStore?.Get("archivedDateTime"); } diff --git a/src/Microsoft.Graph/Generated/Models/Storyline.cs b/src/Microsoft.Graph/Generated/Models/Storyline.cs new file mode 100644 index 000000000000..3dd9a8b86c28 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Storyline.cs @@ -0,0 +1,83 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// User's storyline singleton container. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Storyline : global::Microsoft.Graph.Beta.Models.Entity, IParsable + { + /// The users who are following this user. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Followers + { + get { return BackingStore?.Get?>("followers"); } + set { BackingStore?.Set("followers", value); } + } +#nullable restore +#else + public List Followers + { + get { return BackingStore?.Get>("followers"); } + set { BackingStore?.Set("followers", value); } + } +#endif + /// The users that this user is following. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Followings + { + get { return BackingStore?.Get?>("followings"); } + set { BackingStore?.Set("followings", value); } + } +#nullable restore +#else + public List Followings + { + get { return BackingStore?.Get>("followings"); } + set { BackingStore?.Set("followings", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Storyline CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Storyline(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "followers", n => { Followers = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.StorylineFollower.CreateFromDiscriminatorValue)?.AsList(); } }, + { "followings", n => { Followings = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.StorylineFollowing.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("followers", Followers); + writer.WriteCollectionOfObjectValues("followings", Followings); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AndroidFotaDeploymentAssignmentTarget.cs b/src/Microsoft.Graph/Generated/Models/StorylineFollower.cs similarity index 57% rename from src/Microsoft.Graph/Generated/Models/AndroidFotaDeploymentAssignmentTarget.cs rename to src/Microsoft.Graph/Generated/Models/StorylineFollower.cs index 9f4e83508315..62b36c910f20 100644 --- a/src/Microsoft.Graph/Generated/Models/AndroidFotaDeploymentAssignmentTarget.cs +++ b/src/Microsoft.Graph/Generated/Models/StorylineFollower.cs @@ -8,43 +8,36 @@ namespace Microsoft.Graph.Beta.Models { /// - /// The AAD Group we are deploying firmware updates to + /// Engagement storyline follower. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AndroidFotaDeploymentAssignmentTarget : global::Microsoft.Graph.Beta.Models.DeviceAndAppManagementAssignmentTarget, IParsable + public partial class StorylineFollower : global::Microsoft.Graph.Beta.Models.Entity, IParsable { - /// AAD Group Id. + /// The follower property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public string? GroupId + public global::Microsoft.Graph.Beta.Models.EngagementIdentitySet? Follower { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } + get { return BackingStore?.Get("follower"); } + set { BackingStore?.Set("follower", value); } } #nullable restore #else - public string GroupId + public global::Microsoft.Graph.Beta.Models.EngagementIdentitySet Follower { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } + get { return BackingStore?.Get("follower"); } + set { BackingStore?.Set("follower", value); } } #endif - /// - /// Instantiates a new and sets the default values. - /// - public AndroidFotaDeploymentAssignmentTarget() : base() - { - OdataType = "#microsoft.graph.androidFotaDeploymentAssignmentTarget"; - } /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Graph.Beta.Models.AndroidFotaDeploymentAssignmentTarget CreateFromDiscriminatorValue(IParseNode parseNode) + public static new global::Microsoft.Graph.Beta.Models.StorylineFollower CreateFromDiscriminatorValue(IParseNode parseNode) { if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Beta.Models.AndroidFotaDeploymentAssignmentTarget(); + return new global::Microsoft.Graph.Beta.Models.StorylineFollower(); } /// /// The deserialization information for the current model @@ -54,7 +47,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - { "groupId", n => { GroupId = n.GetStringValue(); } }, + { "follower", n => { Follower = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.EngagementIdentitySet.CreateFromDiscriminatorValue); } }, }; } /// @@ -65,7 +58,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); - writer.WriteStringValue("groupId", GroupId); + writer.WriteObjectValue("follower", Follower); } } } diff --git a/src/Microsoft.Graph/Generated/Models/StorylineFollowerCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/StorylineFollowerCollectionResponse.cs new file mode 100644 index 000000000000..3312796fbbe0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/StorylineFollowerCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class StorylineFollowerCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.StorylineFollowerCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.StorylineFollowerCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.StorylineFollower.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/Models/StorylineFollowing.cs b/src/Microsoft.Graph/Generated/Models/StorylineFollowing.cs new file mode 100644 index 000000000000..c79faa3b2078 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/StorylineFollowing.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// Engagement storyline following. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineFollowing : global::Microsoft.Graph.Beta.Models.Entity, IParsable + { + /// The following property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.EngagementIdentitySet? Following + { + get { return BackingStore?.Get("following"); } + set { BackingStore?.Set("following", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.EngagementIdentitySet Following + { + get { return BackingStore?.Get("following"); } + set { BackingStore?.Set("following", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.StorylineFollowing CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.StorylineFollowing(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "following", n => { Following = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.EngagementIdentitySet.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// 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.WriteObjectValue("following", Following); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/StorylineFollowingCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/StorylineFollowingCollectionResponse.cs new file mode 100644 index 000000000000..40db98cae03e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/StorylineFollowingCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class StorylineFollowingCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.StorylineFollowingCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.StorylineFollowingCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.StorylineFollowing.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/Models/TargetOwners.cs b/src/Microsoft.Graph/Generated/Models/TargetOwners.cs new file mode 100644 index 000000000000..4d6224814e96 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TargetOwners.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TargetOwners : 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 notifyMembers property + public global::Microsoft.Graph.Beta.Models.NotifyMembers? NotifyMembers + { + get { return BackingStore?.Get("notifyMembers"); } + set { BackingStore?.Set("notifyMembers", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The securityGroups property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SecurityGroups + { + get { return BackingStore?.Get?>("securityGroups"); } + set { BackingStore?.Set("securityGroups", value); } + } +#nullable restore +#else + public List SecurityGroups + { + get { return BackingStore?.Get>("securityGroups"); } + set { BackingStore?.Set("securityGroups", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public TargetOwners() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.TargetOwners CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.TargetOwners(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "notifyMembers", n => { NotifyMembers = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "securityGroups", n => { SecurityGroups = 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.WriteEnumValue("notifyMembers", NotifyMembers); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteCollectionOfPrimitiveValues("securityGroups", SecurityGroups); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TargetedChatMessage.cs b/src/Microsoft.Graph/Generated/Models/TargetedChatMessage.cs new file mode 100644 index 000000000000..36a6e62b68b9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TargetedChatMessage.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TargetedChatMessage : global::Microsoft.Graph.Beta.Models.ChatMessage, IParsable + #pragma warning restore CS1591 + { + /// The recipient property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Identity? Recipient + { + get { return BackingStore?.Get("recipient"); } + set { BackingStore?.Set("recipient", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Identity Recipient + { + get { return BackingStore?.Get("recipient"); } + set { BackingStore?.Set("recipient", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public TargetedChatMessage() : base() + { + OdataType = "#microsoft.graph.targetedChatMessage"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.TargetedChatMessage CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.TargetedChatMessage(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "recipient", n => { Recipient = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Identity.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// 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.WriteObjectValue("recipient", Recipient); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TargetedChatMessageCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/TargetedChatMessageCollectionResponse.cs new file mode 100644 index 000000000000..2e8cac7ad9d2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TargetedChatMessageCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TargetedChatMessageCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.TargetedChatMessageCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.TargetedChatMessageCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.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/Models/TodoTaskList.cs b/src/Microsoft.Graph/Generated/Models/TodoTaskList.cs index 80133edd6b37..2f392b578d35 100644 --- a/src/Microsoft.Graph/Generated/Models/TodoTaskList.cs +++ b/src/Microsoft.Graph/Generated/Models/TodoTaskList.cs @@ -56,6 +56,22 @@ public bool? IsShared get { return BackingStore?.Get("isShared"); } set { BackingStore?.Set("isShared", value); } } + /// The collection of single-value extended properties defined for the task list. Read-only. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SingleValueExtendedProperties + { + get { return BackingStore?.Get?>("singleValueExtendedProperties"); } + set { BackingStore?.Set("singleValueExtendedProperties", value); } + } +#nullable restore +#else + public List SingleValueExtendedProperties + { + get { return BackingStore?.Get>("singleValueExtendedProperties"); } + set { BackingStore?.Set("singleValueExtendedProperties", value); } + } +#endif /// The tasks in this task list. Read-only. Nullable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -100,6 +116,7 @@ public override IDictionary> GetFieldDeserializers() { "extensions", n => { Extensions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Extension.CreateFromDiscriminatorValue)?.AsList(); } }, { "isOwner", n => { IsOwner = n.GetBoolValue(); } }, { "isShared", n => { IsShared = n.GetBoolValue(); } }, + { "singleValueExtendedProperties", n => { SingleValueExtendedProperties = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.SingleValueExtendedProperty.CreateFromDiscriminatorValue)?.AsList(); } }, { "tasks", n => { Tasks = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.TodoTask.CreateFromDiscriminatorValue)?.AsList(); } }, { "wellknownListName", n => { WellknownListName = n.GetEnumValue(); } }, }; @@ -116,6 +133,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("extensions", Extensions); writer.WriteBoolValue("isOwner", IsOwner); writer.WriteBoolValue("isShared", IsShared); + writer.WriteCollectionOfObjectValues("singleValueExtendedProperties", SingleValueExtendedProperties); writer.WriteCollectionOfObjectValues("tasks", Tasks); writer.WriteEnumValue("wellknownListName", WellknownListName); } diff --git a/src/Microsoft.Graph/Generated/Models/TrafficRoutingMethod.cs b/src/Microsoft.Graph/Generated/Models/TrafficRoutingMethod.cs new file mode 100644 index 000000000000..ea97eade4327 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TrafficRoutingMethod.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum TrafficRoutingMethod + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "random")] + #pragma warning disable CS1591 + Random, + #pragma warning restore CS1591 + [EnumMember(Value = "sessionPersistence")] + #pragma warning disable CS1591 + SessionPersistence, + #pragma warning restore CS1591 + [EnumMember(Value = "performance")] + #pragma warning disable CS1591 + Performance, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/User.cs b/src/Microsoft.Graph/Generated/Models/User.cs index a4d273661da0..eaf9ac9d3d78 100644 --- a/src/Microsoft.Graph/Generated/Models/User.cs +++ b/src/Microsoft.Graph/Generated/Models/User.cs @@ -742,7 +742,7 @@ public string DisplayName set { BackingStore?.Set("drives", value); } } #endif - /// The employeeExperience property + /// The employee experience resources for the user. Read-only. Nullable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.EmployeeExperienceUser? EmployeeExperience diff --git a/src/Microsoft.Graph/Generated/Models/WiFiSecurityType.cs b/src/Microsoft.Graph/Generated/Models/WiFiSecurityType.cs index 32e0d501c786..ccbf770f9beb 100644 --- a/src/Microsoft.Graph/Generated/Models/WiFiSecurityType.cs +++ b/src/Microsoft.Graph/Generated/Models/WiFiSecurityType.cs @@ -7,23 +7,29 @@ namespace Microsoft.Graph.Beta.Models [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum WiFiSecurityType { - /// Open (No Authentication). + /// Default. Indicates Wi-Fi security type is associated with Open (No Authentication). [EnumMember(Value = "open")] Open, - /// WPA-Personal. + /// Indicates Wi-Fi security type is associated with WPA-Personal. [EnumMember(Value = "wpaPersonal")] WpaPersonal, - /// WPA-Enterprise. Must use IOSEnterpriseWifiConfiguration type to configure enterprise options. + /// Indicates Wi-Fi security type is associated with WPA-Enterprise. Must use IOSEnterpriseWifiConfiguration type to configure enterprise options. [EnumMember(Value = "wpaEnterprise")] WpaEnterprise, - /// WEP Encryption. + /// Indicates Wi-Fi security type is associated with WEP Encryption. [EnumMember(Value = "wep")] Wep, - /// WPA2-Personal. + /// Indicates Wi-Fi security type is associated with WPA2-Personal. [EnumMember(Value = "wpa2Personal")] Wpa2Personal, - /// WPA2-Enterprise. Must use WindowsWifiEnterpriseEAPConfiguration type to configure enterprise options. + /// Indicates Wi-Fi security type is associated with WPA2-Enterprise. Must use WindowsWifiEnterpriseEAPConfiguration type to configure enterprise options. [EnumMember(Value = "wpa2Enterprise")] Wpa2Enterprise, + /// Evolvable enumeration sentinel value. Do not use. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + /// Indicates Wi-Fi security type is associated with WPA3-Personal. Provides stronger encryption using Simultaneous Authentication of Equals (SAE). + [EnumMember(Value = "wpa3Personal")] + Wpa3Personal, } } diff --git a/src/Microsoft.Graph/Generated/Models/Win32MobileAppCatalogPackage.cs b/src/Microsoft.Graph/Generated/Models/Win32MobileAppCatalogPackage.cs index f1e981a7bb6a..52614cbcc9cc 100644 --- a/src/Microsoft.Graph/Generated/Models/Win32MobileAppCatalogPackage.cs +++ b/src/Microsoft.Graph/Generated/Models/Win32MobileAppCatalogPackage.cs @@ -34,6 +34,22 @@ public string BranchDisplayName get { return BackingStore?.Get("branchDisplayName"); } set { BackingStore?.Set("branchDisplayName", value); } } +#endif + /// The identifier of a specific branch irrespective of version, or other attributes. This id is associated with the branchDisplayName. Read-only. This property is read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? BranchId + { + get { return BackingStore?.Get("branchId"); } + set { BackingStore?.Set("branchId", value); } + } +#nullable restore +#else + public string BranchId + { + get { return BackingStore?.Get("branchId"); } + set { BackingStore?.Set("branchId", value); } + } #endif /// One or more locale(s) supported by the branch. Value is a two-letter ISO 639 language tags with optional two-letter subtags (example: en-US, ko, de, de-DE), or mul to indicate multi-language. Read-only. This property is read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -84,6 +100,7 @@ public override IDictionary> GetFieldDeserializers() { { "applicableArchitectures", n => { ApplicableArchitectures = n.GetEnumValue(); } }, { "branchDisplayName", n => { BranchDisplayName = n.GetStringValue(); } }, + { "branchId", n => { BranchId = n.GetStringValue(); } }, { "locales", n => { Locales = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "packageAutoUpdateCapable", n => { PackageAutoUpdateCapable = n.GetBoolValue(); } }, }; diff --git a/src/Microsoft.Graph/Generated/Models/WindowsAutoUpdateCatalogApp.cs b/src/Microsoft.Graph/Generated/Models/WindowsAutoUpdateCatalogApp.cs new file mode 100644 index 000000000000..c8b96b05d5a5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WindowsAutoUpdateCatalogApp.cs @@ -0,0 +1,72 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// A mobileApp that is based on a referenced branch in a Win32CatalogApp repository + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WindowsAutoUpdateCatalogApp : global::Microsoft.Graph.Beta.Models.MobileApp, IParsable + { + /// The identifier of a specific branch in a product, which is a specific subset of product functionality as defined by the publisher . This is run-time resolved to be the latest MobileAppCatalogPackage in the branch. (example:'31a4c766-f23d-8d41-4803-35e155be7389'). Read-Only +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MobileAppCatalogPackageBranchId + { + get { return BackingStore?.Get("mobileAppCatalogPackageBranchId"); } + set { BackingStore?.Set("mobileAppCatalogPackageBranchId", value); } + } +#nullable restore +#else + public string MobileAppCatalogPackageBranchId + { + get { return BackingStore?.Get("mobileAppCatalogPackageBranchId"); } + set { BackingStore?.Set("mobileAppCatalogPackageBranchId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public WindowsAutoUpdateCatalogApp() : base() + { + OdataType = "#microsoft.graph.windowsAutoUpdateCatalogApp"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.WindowsAutoUpdateCatalogApp CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WindowsAutoUpdateCatalogApp(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "mobileAppCatalogPackageBranchId", n => { MobileAppCatalogPackageBranchId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("mobileAppCatalogPackageBranchId", MobileAppCatalogPackageBranchId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsProtectionState.cs b/src/Microsoft.Graph/Generated/Models/WindowsProtectionState.cs index 20908228a81a..578dcaabff56 100644 --- a/src/Microsoft.Graph/Generated/Models/WindowsProtectionState.cs +++ b/src/Microsoft.Graph/Generated/Models/WindowsProtectionState.cs @@ -29,6 +29,12 @@ public string AntiMalwareVersion set { BackingStore?.Set("antiMalwareVersion", value); } } #endif + /// When TRUE indicates the Windows Defender controlled configuration feature is enabled, when FALSE indicates the Windows Defender controlled configuration feature is not enabled. Defaults to setting on client device. + public bool? ControlledConfigurationEnabled + { + get { return BackingStore?.Get("controlledConfigurationEnabled"); } + set { BackingStore?.Set("controlledConfigurationEnabled", value); } + } /// Device malware list #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -218,6 +224,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "antiMalwareVersion", n => { AntiMalwareVersion = n.GetStringValue(); } }, + { "controlledConfigurationEnabled", n => { ControlledConfigurationEnabled = n.GetBoolValue(); } }, { "detectedMalwareState", n => { DetectedMalwareState = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.WindowsDeviceMalwareState.CreateFromDiscriminatorValue)?.AsList(); } }, { "deviceState", n => { DeviceState = n.GetEnumValue(); } }, { "engineVersion", n => { EngineVersion = n.GetStringValue(); } }, @@ -249,6 +256,7 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteStringValue("antiMalwareVersion", AntiMalwareVersion); + writer.WriteBoolValue("controlledConfigurationEnabled", ControlledConfigurationEnabled); writer.WriteCollectionOfObjectValues("detectedMalwareState", DetectedMalwareState); writer.WriteEnumValue("deviceState", DeviceState); writer.WriteStringValue("engineVersion", EngineVersion); diff --git a/src/Microsoft.Graph/Generated/Models/WindowsWifiConfiguration.cs b/src/Microsoft.Graph/Generated/Models/WindowsWifiConfiguration.cs index 313ad166a231..63aab6b2fd23 100644 --- a/src/Microsoft.Graph/Generated/Models/WindowsWifiConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/WindowsWifiConfiguration.cs @@ -135,7 +135,7 @@ public string Ssid set { BackingStore?.Set("ssid", value); } } #endif - /// Specify the Wifi Security Type. Possible values are: open, wpaPersonal, wpaEnterprise, wep, wpa2Personal, wpa2Enterprise. + /// Specify the Wifi Security Type. Possible values are: open, wpaPersonal, wpaEnterprise, wep, wpa2Personal, wpa2Enterprise, unknownFutureValue, wpa3Personal. public global::Microsoft.Graph.Beta.Models.WiFiSecurityType? WifiSecurityType { get { return BackingStore?.Get("wifiSecurityType"); } diff --git a/src/Microsoft.Graph/Generated/Models/ZebraFotaConnector.cs b/src/Microsoft.Graph/Generated/Models/ZebraFotaConnector.cs index d550b619f755..a9600563f8e4 100644 --- a/src/Microsoft.Graph/Generated/Models/ZebraFotaConnector.cs +++ b/src/Microsoft.Graph/Generated/Models/ZebraFotaConnector.cs @@ -13,7 +13,7 @@ namespace Microsoft.Graph.Beta.Models [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ZebraFotaConnector : global::Microsoft.Graph.Beta.Models.Entity, IParsable { - /// Complete account enrollment authorization URL. This corresponds to verificationuricomplete in the Zebra API documentations. + /// Complete account enrollment authorization URL. This corresponds to verification_uri_complete in the Zebra API documentations. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? EnrollmentAuthorizationUrl diff --git a/src/Microsoft.Graph/Generated/Models/ZebraFotaDeployment.cs b/src/Microsoft.Graph/Generated/Models/ZebraFotaDeployment.cs index 0479303dec99..ce59777780e7 100644 --- a/src/Microsoft.Graph/Generated/Models/ZebraFotaDeployment.cs +++ b/src/Microsoft.Graph/Generated/Models/ZebraFotaDeployment.cs @@ -13,22 +13,6 @@ namespace Microsoft.Graph.Beta.Models [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ZebraFotaDeployment : global::Microsoft.Graph.Beta.Models.Entity, IParsable { - /// Collection of Android FOTA Assignment -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? DeploymentAssignments - { - get { return BackingStore?.Get?>("deploymentAssignments"); } - set { BackingStore?.Set("deploymentAssignments", value); } - } -#nullable restore -#else - public List DeploymentAssignments - { - get { return BackingStore?.Get>("deploymentAssignments"); } - set { BackingStore?.Set("deploymentAssignments", value); } - } -#endif /// The Zebra FOTA deployment complex type that describes the settings required to create a FOTA deployment. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -127,7 +111,6 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - { "deploymentAssignments", n => { DeploymentAssignments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.AndroidFotaDeploymentAssignment.CreateFromDiscriminatorValue)?.AsList(); } }, { "deploymentSettings", n => { DeploymentSettings = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ZebraFotaDeploymentSettings.CreateFromDiscriminatorValue); } }, { "deploymentStatus", n => { DeploymentStatus = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ZebraFotaDeploymentStatus.CreateFromDiscriminatorValue); } }, { "description", n => { Description = n.GetStringValue(); } }, @@ -143,7 +126,6 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); - writer.WriteCollectionOfObjectValues("deploymentAssignments", DeploymentAssignments); writer.WriteObjectValue("deploymentSettings", DeploymentSettings); writer.WriteObjectValue("deploymentStatus", DeploymentStatus); writer.WriteStringValue("description", Description); diff --git a/src/Microsoft.Graph/Generated/Models/ZebraFotaDeploymentSettings.cs b/src/Microsoft.Graph/Generated/Models/ZebraFotaDeploymentSettings.cs index 8b589f386bfe..51ddcc564297 100644 --- a/src/Microsoft.Graph/Generated/Models/ZebraFotaDeploymentSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/ZebraFotaDeploymentSettings.cs @@ -57,13 +57,13 @@ public string DeviceModel get { return BackingStore?.Get("downloadRuleNetworkType"); } set { BackingStore?.Set("downloadRuleNetworkType", value); } } - /// Date and time in the device time zone when the download will start (e.g., 2018-07-25T10:20:32). The default value is UTC now and the maximum is 10 days from deployment creation. + /// Date and time in the device time zone when the download will start (e.g., `2018-07-25T10:20:32`). The default value is UTC now and the maximum is 10 days from deployment creation. public DateTimeOffset? DownloadRuleStartDateTime { get { return BackingStore?.Get("downloadRuleStartDateTime"); } set { BackingStore?.Set("downloadRuleStartDateTime", value); } } - /// A description provided by Zebra for the the firmware artifact to update the device to (e.g.: LifeGuard Update 120 (released 29-June-2022). + /// A description provided by Zebra for the the firmware artifact to update the device to (e.g.: `LifeGuard Update 120 (released 29-June-2022)`. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? FirmwareTargetArtifactDescription @@ -173,7 +173,7 @@ public int? ScheduleDurationInDays get { return BackingStore?.Get("scheduleMode"); } set { BackingStore?.Set("scheduleMode", value); } } - /// This attribute indicates the deployment time offset (e.g.180 represents an offset of +03:00, and -270 represents an offset of -04:30). The time offset is the time timezone where the devices are located. The deployment start and end data uses this timezone + /// This attribute indicates the deployment time offset (e.g.`180` represents an offset of `+03:00`, and `-270` represents an offset of `-04:30`). The time offset is the time timezone where the devices are located. The deployment start and end data uses this timezone public int? TimeZoneOffsetInMinutes { get { return BackingStore?.Get("timeZoneOffsetInMinutes"); } diff --git a/src/Microsoft.Graph/Generated/Models/ZebraFotaDeploymentStatus.cs b/src/Microsoft.Graph/Generated/Models/ZebraFotaDeploymentStatus.cs index dc5e2c59f51a..ba28053e9f9c 100644 --- a/src/Microsoft.Graph/Generated/Models/ZebraFotaDeploymentStatus.cs +++ b/src/Microsoft.Graph/Generated/Models/ZebraFotaDeploymentStatus.cs @@ -40,7 +40,7 @@ public DateTimeOffset? CompleteOrCanceledDateTime get { return BackingStore?.Get("errorCode"); } set { BackingStore?.Set("errorCode", value); } } - /// Date and time when the deployment status was updated from Zebra + /// Date and time when the deployment status was updated from Zebra public DateTimeOffset? LastUpdatedDateTime { get { return BackingStore?.Get("lastUpdatedDateTime"); } @@ -80,7 +80,7 @@ public int? TotalCanceled get { return BackingStore?.Get("totalCanceled"); } set { BackingStore?.Set("totalCanceled", value); } } - /// An integer that indicates the total number of devices that have a job in the CREATED state. Typically indicates jobs that did not reach the devices. + /// An integer that indicates the total number of devices that have a job in the CREATED state. Typically indicates jobs that did not reach the devices. public int? TotalCreated { get { return BackingStore?.Get("totalCreated"); } @@ -110,7 +110,7 @@ public int? TotalFailedInstall get { return BackingStore?.Get("totalFailedInstall"); } set { BackingStore?.Set("totalFailedInstall", value); } } - /// An integer that indicates the total number of devices that received the json and are scheduled. + /// An integer that indicates the total number of devices that received the json and are scheduled. public int? TotalScheduled { get { return BackingStore?.Get("totalScheduled"); } diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/CloudFirewallPolicies/CloudFirewallPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/CloudFirewallPolicies/CloudFirewallPoliciesRequestBuilder.cs new file mode 100644 index 000000000000..1690be9c58e9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/CloudFirewallPolicies/CloudFirewallPoliciesRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.Networkaccess; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Count; +using Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies +{ + /// + /// Provides operations to manage the cloudFirewallPolicies property of the microsoft.graph.networkaccess.networkAccessRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudFirewallPoliciesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the cloudFirewallPolicies property of the microsoft.graph.networkaccess.networkAccessRoot entity. + /// The unique identifier of cloudFirewallPolicy + /// A + public global::Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.CloudFirewallPolicyItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("cloudFirewallPolicy%2Did", position); + return new global::Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.CloudFirewallPolicyItemRequestBuilder(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 CloudFirewallPoliciesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/cloudFirewallPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CloudFirewallPoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/cloudFirewallPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the cloudFirewallPolicy 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new cloudFirewallPolicy 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.Beta.Models.Networkaccess.CloudFirewallPolicy body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicy body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the cloudFirewallPolicy 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 cloudFirewallPolicy 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.Beta.Models.Networkaccess.CloudFirewallPolicy body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicy body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.CloudFirewallPoliciesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.CloudFirewallPoliciesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the cloudFirewallPolicy objects and their properties. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudFirewallPoliciesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudFirewallPoliciesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudFirewallPoliciesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/CloudFirewallPolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/CloudFirewallPolicies/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..fa1780d0fd40 --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/CloudFirewallPolicies/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.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}/networkAccess/cloudFirewallPolicies/$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}/networkAccess/cloudFirewallPolicies/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.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/NetworkAccess/CloudFirewallPolicies/Item/CloudFirewallPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/CloudFirewallPolicies/Item/CloudFirewallPolicyItemRequestBuilder.cs new file mode 100644 index 000000000000..5095324b4144 --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/CloudFirewallPolicies/Item/CloudFirewallPolicyItemRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.Networkaccess; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item +{ + /// + /// Provides operations to manage the cloudFirewallPolicies property of the microsoft.graph.networkaccess.networkAccessRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudFirewallPolicyItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the policyRules property of the microsoft.graph.networkaccess.policy entity. + public global::Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.PolicyRulesRequestBuilder PolicyRules + { + get => new global::Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.PolicyRulesRequestBuilder(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 CloudFirewallPolicyItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/cloudFirewallPolicies/{cloudFirewallPolicy%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 CloudFirewallPolicyItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/cloudFirewallPolicies/{cloudFirewallPolicy%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a cloudFirewallPolicy 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of a cloudFirewallPolicy object. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a cloudFirewallPolicy 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.Beta.Models.Networkaccess.CloudFirewallPolicy body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicy body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a cloudFirewallPolicy 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 cloudFirewallPolicy 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 cloudFirewallPolicy 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.Beta.Models.Networkaccess.CloudFirewallPolicy body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicy body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.CloudFirewallPolicyItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.CloudFirewallPolicyItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudFirewallPolicyItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of a cloudFirewallPolicy object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudFirewallPolicyItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudFirewallPolicyItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudFirewallPolicyItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/CloudFirewallPolicies/Item/PolicyRules/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/CloudFirewallPolicies/Item/PolicyRules/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..03e1b5ffeac8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/CloudFirewallPolicies/Item/PolicyRules/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.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}/networkAccess/cloudFirewallPolicies/{cloudFirewallPolicy%2Did}/policyRules/$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}/networkAccess/cloudFirewallPolicies/{cloudFirewallPolicy%2Did}/policyRules/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.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/NetworkAccess/CloudFirewallPolicies/Item/PolicyRules/Item/PolicyRuleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/CloudFirewallPolicies/Item/PolicyRules/Item/PolicyRuleItemRequestBuilder.cs new file mode 100644 index 000000000000..589247badafc --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/CloudFirewallPolicies/Item/PolicyRules/Item/PolicyRuleItemRequestBuilder.cs @@ -0,0 +1,232 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.Networkaccess; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Item +{ + /// + /// Provides operations to manage the policyRules property of the microsoft.graph.networkaccess.policy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PolicyRuleItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PolicyRuleItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/cloudFirewallPolicies/{cloudFirewallPolicy%2Did}/policyRules/{policyRule%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 PolicyRuleItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/cloudFirewallPolicies/{cloudFirewallPolicy%2Did}/policyRules/{policyRule%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a cloudFirewallRule object from a [cloudFirewallPolicy(../resources/networkaccess-cloudfirewallpolicy.md). + /// 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of a cloudFirewallRule object. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Networkaccess.PolicyRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a cloudFirewallRule 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.Beta.Models.Networkaccess.PolicyRule body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Networkaccess.PolicyRule body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Networkaccess.PolicyRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a cloudFirewallRule object from a [cloudFirewallPolicy(../resources/networkaccess-cloudfirewallpolicy.md). + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 cloudFirewallRule 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 cloudFirewallRule 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.Beta.Models.Networkaccess.PolicyRule body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Networkaccess.PolicyRule body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Item.PolicyRuleItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Item.PolicyRuleItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PolicyRuleItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of a cloudFirewallRule object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PolicyRuleItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PolicyRuleItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PolicyRuleItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/CloudFirewallPolicies/Item/PolicyRules/PolicyRulesRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/CloudFirewallPolicies/Item/PolicyRules/PolicyRulesRequestBuilder.cs new file mode 100644 index 000000000000..faf63a5eaef0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/CloudFirewallPolicies/Item/PolicyRules/PolicyRulesRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.Networkaccess; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Count; +using Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules +{ + /// + /// Provides operations to manage the policyRules property of the microsoft.graph.networkaccess.policy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PolicyRulesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the policyRules property of the microsoft.graph.networkaccess.policy entity. + /// The unique identifier of policyRule + /// A + public global::Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Item.PolicyRuleItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("policyRule%2Did", position); + return new global::Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Item.PolicyRuleItemRequestBuilder(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 PolicyRulesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/cloudFirewallPolicies/{cloudFirewallPolicy%2Did}/policyRules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public PolicyRulesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/cloudFirewallPolicies/{cloudFirewallPolicy%2Did}/policyRules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the cloudFirewallRule objects and their properties for a cloudFirewallPolicy. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Networkaccess.PolicyRuleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new cloudFirewallRule object in a cloudFirewallPolicy. + /// 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.Beta.Models.Networkaccess.PolicyRule body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.Networkaccess.PolicyRule body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Networkaccess.PolicyRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the cloudFirewallRule objects and their properties for a cloudFirewallPolicy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 cloudFirewallRule object in a cloudFirewallPolicy. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.Networkaccess.PolicyRule body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.Networkaccess.PolicyRule body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.PolicyRulesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.PolicyRulesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the cloudFirewallRule objects and their properties for a cloudFirewallPolicy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PolicyRulesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PolicyRulesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PolicyRulesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/FilteringProfiles/Item/Policies/Item/PolicyLinkItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/FilteringProfiles/Item/Policies/Item/PolicyLinkItemRequestBuilder.cs index 5c67577c85e2..db30e6e85eff 100644 --- a/src/Microsoft.Graph/Generated/NetworkAccess/FilteringProfiles/Item/Policies/Item/PolicyLinkItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/NetworkAccess/FilteringProfiles/Item/Policies/Item/PolicyLinkItemRequestBuilder.cs @@ -41,8 +41,8 @@ public PolicyLinkItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// Delete a threatIntelligencePolicyLink object. - /// Find more info here + /// Delete a filteringPolicyLink object. Use this operation to delete any derived type, including:- cloudFirewallPolicyLink- threatIntelligencePolicyLink- tlsInspectionPolicyLink + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -64,8 +64,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of a threatIntelligencePolicyLink object. - /// Find more info here + /// Get a filteringPolicyLink object. The returned object can be a:- cloudFirewallPolicyLink- threatIntelligencePolicyLink- tlsInspectionPolicyLink + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -88,8 +88,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.Networkaccess.PolicyLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a threatIntelligencePolicyLink object. - /// Find more info here + /// Modify the properties of an existing filteringPolicyLink object to update its traffic rules. Use this operation to update any derived type, including:- cloudFirewallPolicyLink- threatIntelligencePolicyLink- tlsInspectionPolicyLink + /// Find more info here /// /// A /// The request body @@ -114,7 +114,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.Networkaccess.PolicyLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a threatIntelligencePolicyLink object. + /// Delete a filteringPolicyLink object. Use this operation to delete any derived type, including:- cloudFirewallPolicyLink- threatIntelligencePolicyLink- tlsInspectionPolicyLink /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -133,7 +133,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a threatIntelligencePolicyLink object. + /// Get a filteringPolicyLink object. The returned object can be a:- cloudFirewallPolicyLink- threatIntelligencePolicyLink- tlsInspectionPolicyLink /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a threatIntelligencePolicyLink object. + /// Modify the properties of an existing filteringPolicyLink object to update its traffic rules. Use this operation to update any derived type, including:- cloudFirewallPolicyLink- threatIntelligencePolicyLink- tlsInspectionPolicyLink /// /// A /// The request body @@ -191,7 +191,7 @@ public partial class PolicyLinkItemRequestBuilderDeleteRequestConfiguration : Re { } /// - /// Read the properties and relationships of a threatIntelligencePolicyLink object. + /// Get a filteringPolicyLink object. The returned object can be a:- cloudFirewallPolicyLink- threatIntelligencePolicyLink- tlsInspectionPolicyLink /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PolicyLinkItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/FilteringProfiles/Item/Policies/PoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/FilteringProfiles/Item/Policies/PoliciesRequestBuilder.cs index b4f65808c0a8..bcda5cdfdbf4 100644 --- a/src/Microsoft.Graph/Generated/NetworkAccess/FilteringProfiles/Item/Policies/PoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/NetworkAccess/FilteringProfiles/Item/Policies/PoliciesRequestBuilder.cs @@ -54,8 +54,8 @@ public PoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Get a list of the threatIntelligencePolicyLink objects and their properties. - /// Find more info here + /// Get a list of the filteringPolicyLink objects and their properties. The response can include one or more of the following objects:- cloudFirewallPolicyLink- threatIntelligencePolicyLink- tlsInspectionPolicyLink objects + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -78,8 +78,8 @@ public PoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Networkaccess.PolicyLinkCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new tlsInspectionPolicyLink to connect a filtering profile with a tlsInspectionPolicy. One 1 tlsInspectionPolicy is allowed for every filtering profile. - /// Find more info here + /// Add a Global Secure Access network policy to a filteringProfile. The policy can be one of the following types: + /// Find more info here /// /// A /// The request body @@ -104,7 +104,7 @@ public PoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Networkaccess.PolicyLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a list of the threatIntelligencePolicyLink objects and their properties. + /// Get a list of the filteringPolicyLink objects and their properties. The response can include one or more of the following objects:- cloudFirewallPolicyLink- threatIntelligencePolicyLink- tlsInspectionPolicyLink objects /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new tlsInspectionPolicyLink to connect a filtering profile with a tlsInspectionPolicy. One 1 tlsInspectionPolicy is allowed for every filtering profile. + /// Add a Global Secure Access network policy to a filteringProfile. The policy can be one of the following types: /// /// A /// The request body @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.NetworkAccess.FilteringProfiles.Item.Policies.PoliciesRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get a list of the threatIntelligencePolicyLink objects and their properties. + /// Get a list of the filteringPolicyLink objects and their properties. The response can include one or more of the following objects:- cloudFirewallPolicyLink- threatIntelligencePolicyLink- tlsInspectionPolicyLink objects /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PoliciesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/NetworkAccessRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/NetworkAccessRequestBuilder.cs index f573e3540a53..7ff372e67482 100644 --- a/src/Microsoft.Graph/Generated/NetworkAccess/NetworkAccessRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/NetworkAccess/NetworkAccessRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Models.Networkaccess; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.NetworkAccess.Alerts; +using Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies; using Microsoft.Graph.Beta.NetworkAccess.Connectivity; using Microsoft.Graph.Beta.NetworkAccess.FilteringPolicies; using Microsoft.Graph.Beta.NetworkAccess.FilteringProfiles; @@ -37,6 +38,11 @@ public partial class NetworkAccessRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.NetworkAccess.Alerts.AlertsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the cloudFirewallPolicies property of the microsoft.graph.networkaccess.networkAccessRoot entity. + public global::Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.CloudFirewallPoliciesRequestBuilder CloudFirewallPolicies + { + get => new global::Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.CloudFirewallPoliciesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the connectivity property of the microsoft.graph.networkaccess.networkAccessRoot entity. public global::Microsoft.Graph.Beta.NetworkAccess.Connectivity.ConnectivityRequestBuilder Connectivity { diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId/DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdGetResponse.cs similarity index 81% rename from src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse.cs rename to src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId/DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdGetResponse.cs index d87fc207d211..ad9d15f1032f 100644 --- a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse.cs +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId/DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdGetResponse.cs @@ -7,11 +7,11 @@ using System.Collections.Generic; using System.IO; using System; -namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId +namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId { [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 - public partial class DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + public partial class DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable #pragma warning restore CS1591 { /// The value property @@ -33,12 +33,12 @@ public partial class DeviceReportWithStartDateTimeWithEndDateTimediscoveredAppli /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + public static new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) { if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse(); + return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdGetResponse(); } /// /// The deserialization information for the current model diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId/DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdResponse.cs similarity index 59% rename from src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse.cs rename to src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId/DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdResponse.cs index 31acd7d11b34..635b6be2f09d 100644 --- a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse.cs +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId/DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdResponse.cs @@ -5,23 +5,23 @@ using System.Collections.Generic; using System.IO; using System; -namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId +namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId { - [Obsolete("This class is obsolete. Use DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse instead.")] + [Obsolete("This class is obsolete. Use DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdGetResponse instead.")] [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 - public partial class DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse : global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse, IParsable + public partial class DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdResponse : global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdGetResponse, IParsable #pragma warning restore CS1591 { /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse CreateFromDiscriminatorValue(IParseNode parseNode) + public static new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdResponse CreateFromDiscriminatorValue(IParseNode parseNode) { if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse(); + return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdResponse(); } } } diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder.cs similarity index 53% rename from src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.cs rename to src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder.cs index 23d1f3b720a7..9e8e87979adf 100644 --- a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder.cs @@ -9,48 +9,48 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId +namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId { /// /// Provides operations to call the deviceReport method. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder : BaseRequestBuilder + public partial class MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// 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 MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, DateTimeOffset? endDateTime = default, DateTimeOffset? startDateTime = default) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.deviceReport(startDateTime={startDateTime},endDateTime={endDateTime},discoveredApplicationSegmentId='@discoveredApplicationSegmentId'){?%24count,%24filter,%24search,%24skip,%24top,discoveredApplicationSegmentId*}", pathParameters) + public MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, DateTimeOffset? endDateTime = default, DateTimeOffset? startDateTime = default) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.deviceReport(startDateTime={startDateTime},endDateTime={endDateTime},discoveredApplicationSegmentId='@discoveredApplicationSegmentId',applicationId='@applicationId'){?%24count,%24filter,%24search,%24skip,%24top,applicationId*,discoveredApplicationSegmentId*}", pathParameters) { if (endDateTime != null) PathParameters.Add("endDateTime", endDateTime); if (startDateTime != null) PathParameters.Add("startDateTime", startDateTime); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.deviceReport(startDateTime={startDateTime},endDateTime={endDateTime},discoveredApplicationSegmentId='@discoveredApplicationSegmentId'){?%24count,%24filter,%24search,%24skip,%24top,discoveredApplicationSegmentId*}", rawUrl) + public MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.deviceReport(startDateTime={startDateTime},endDateTime={endDateTime},discoveredApplicationSegmentId='@discoveredApplicationSegmentId',applicationId='@applicationId'){?%24count,%24filter,%24search,%24skip,%24top,applicationId*,discoveredApplicationSegmentId*}", rawUrl) { } /// /// Invoke function deviceReport /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); @@ -58,23 +58,23 @@ public MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimedi { { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function deviceReport /// - /// A + /// A /// Cancellation token to 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 GetAsDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponseAsync instead.")] + [Obsolete("This method is obsolete. Use GetAsDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdGetResponseAsync instead.")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); @@ -82,7 +82,7 @@ public MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimedi { { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function deviceReport @@ -91,11 +91,11 @@ public MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimedi /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -106,18 +106,28 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder WithUrl(string rawUrl) + public global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder WithUrl(string rawUrl) { - return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder(rawUrl, RequestAdapter); + return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder(rawUrl, RequestAdapter); } /// /// Invoke function deviceReport /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters + public partial class MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilderGetQueryParameters { + /// Usage: applicationId='@applicationId' +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("applicationId")] + public string? ApplicationId { get; set; } +#nullable restore +#else + [QueryParameter("applicationId")] + public string ApplicationId { get; set; } +#endif /// Include count of items [QueryParameter("%24count")] public bool? Count { get; set; } @@ -163,7 +173,7 @@ public partial class MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWit /// [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration : RequestConfiguration + public partial class MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilderGetRequestConfiguration : RequestConfiguration { } } diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/ReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/ReportsRequestBuilder.cs index 776b5d247ed1..7e69d149b8be 100644 --- a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/ReportsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/ReportsRequestBuilder.cs @@ -4,7 +4,7 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime; using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime; -using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId; +using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId; using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime; using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetApplicationUsageAnalyticsWithStartDateTimeWithEndDateTimeWithAggregatedBy; using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetCloudApplicationReportWithStartDateTimeWithEndDateTimeuserIdUserId; @@ -122,14 +122,14 @@ public async Task DeleteAsync(Action /// Provides operations to call the deviceReport method. /// - /// A + /// A /// Usage: endDateTime={endDateTime} /// Usage: startDateTime={startDateTime} - public global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId(DateTimeOffset? endDateTime, DateTimeOffset? startDateTime) + public global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId(DateTimeOffset? endDateTime, DateTimeOffset? startDateTime) { if(ReferenceEquals(endDateTime, null)) throw new ArgumentNullException(nameof(endDateTime)); if(ReferenceEquals(startDateTime, null)) throw new ArgumentNullException(nameof(startDateTime)); - return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); + return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); } /// /// Provides operations to call the entitiesSummaries method. diff --git a/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..b4507594cc83 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.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}/planner/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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}/planner/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.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/Planner/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..34d5956a410d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for planner + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in planner + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for planner + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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. Chat messages associated with 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 messages in planner + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..b4d3672617dc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.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.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.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/Planner/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..918c937b4494 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.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}/planner/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/planner/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.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.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.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/Planner/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..2af682f9825a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.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.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.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/Planner/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..34887800f092 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.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}/planner/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/planner/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.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.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.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/Planner/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..4b344fc9bc05 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/planner/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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}/planner/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for planner + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for planner + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/Planner/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 7f80d1d3bc34..c68722b8c8a3 100644 --- a/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..f6afe74bff0a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.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}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.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/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..ef0f1798710b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for planner + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in planner + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for planner + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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. Chat messages associated with 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 messages in planner + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..c22ff153146b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.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/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..a346abc5a13f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.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}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.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/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..b276a952f7ec --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.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/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..9c5a4d4684c6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.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}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.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/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..a48f089a5a00 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for planner + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for planner + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index fa91f9004490..28a04294395c 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..4fd7bc544b9a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.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}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.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/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..8cdf45c9938b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for planner + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in planner + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for planner + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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. Chat messages associated with 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 messages in planner + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..e4195dcb18d3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.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.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.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/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..0d9cb47f6ef5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.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}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.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.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.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/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..55d3951e4279 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.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.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.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/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..b7d3f611ee0e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.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}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.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.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.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/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..fd9d7d2fc84b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for planner + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for planner + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 09f98e8f3e10..bd9bd7274c42 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..785405a4f0f2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Tasks.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}/planner/tasks/{plannerTask%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}/planner/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Tasks.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/Planner/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..bbcfe7f8cf00 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,243 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Planner.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a plannerTaskChatMessage 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a plannerTaskChatMessage 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.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a plannerTaskChatMessage 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-only. Nullable. Chat messages associated with 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 properties of a plannerTaskChatMessage 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.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Planner/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..d871fa560055 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Planner.Tasks.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.Beta.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Planner.Tasks.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/Planner/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..68b6f521b625 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Tasks.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}/planner/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/planner/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Planner.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Planner.Tasks.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.Beta.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Tasks.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/Planner/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Planner/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..43e724370fde --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Planner.Tasks.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.Beta.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Planner.Tasks.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/Planner/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..fab78504040f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Tasks.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}/planner/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/planner/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Planner.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Planner.Tasks.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.Beta.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Tasks.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/Planner/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..3948aea25d0f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Planner.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/planner/tasks/{plannerTask%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}/planner/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Retrieve a list of plannerTaskChatMessage objects associated with a plannerTask. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new plannerTaskChatMessage on a plannerTask. + /// 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.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Retrieve a list of plannerTaskChatMessage objects associated with a plannerTask. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 plannerTaskChatMessage on a plannerTask. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Retrieve a list of plannerTaskChatMessage objects associated with a plannerTask. + /// + [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/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 5623d522f2f7..44374d318055 100644 --- a/src/Microsoft.Graph/Generated/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Planner.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Planner.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Planner.Tasks.Item.Details; +using Microsoft.Graph.Beta.Planner.Tasks.Item.Messages; using Microsoft.Graph.Beta.Planner.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Planner.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Planner.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Policies/OwnerlessGroupPolicy/OwnerlessGroupPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/OwnerlessGroupPolicy/OwnerlessGroupPolicyRequestBuilder.cs new file mode 100644 index 000000000000..c56815ff1aa8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Policies/OwnerlessGroupPolicy/OwnerlessGroupPolicyRequestBuilder.cs @@ -0,0 +1,180 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Policies.OwnerlessGroupPolicy +{ + /// + /// Provides operations to manage the ownerlessGroupPolicy property of the microsoft.graph.policyRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OwnerlessGroupPolicyRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public OwnerlessGroupPolicyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/ownerlessGroupPolicy{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public OwnerlessGroupPolicyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/ownerlessGroupPolicy{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get ownerlessGroupPolicy from policies + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.OwnerlessGroupPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property ownerlessGroupPolicy in policies + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.OwnerlessGroupPolicy body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.OwnerlessGroupPolicy body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.OwnerlessGroupPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get ownerlessGroupPolicy from policies + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 ownerlessGroupPolicy in policies + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.OwnerlessGroupPolicy body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.OwnerlessGroupPolicy body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Policies.OwnerlessGroupPolicy.OwnerlessGroupPolicyRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Policies.OwnerlessGroupPolicy.OwnerlessGroupPolicyRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get ownerlessGroupPolicy from policies + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OwnerlessGroupPolicyRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OwnerlessGroupPolicyRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OwnerlessGroupPolicyRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Policies/PoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/PoliciesRequestBuilder.cs index 30e925fee34f..c43a5f2cde60 100644 --- a/src/Microsoft.Graph/Generated/Policies/PoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/PoliciesRequestBuilder.cs @@ -27,6 +27,7 @@ using Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies; using Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies; using Microsoft.Graph.Beta.Policies.OnPremAuthenticationPolicies; +using Microsoft.Graph.Beta.Policies.OwnerlessGroupPolicy; using Microsoft.Graph.Beta.Policies.PermissionGrantPolicies; using Microsoft.Graph.Beta.Policies.PermissionGrantPreApprovalPolicies; using Microsoft.Graph.Beta.Policies.RoleManagementPolicies; @@ -175,6 +176,11 @@ public partial class PoliciesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Policies.OnPremAuthenticationPolicies.OnPremAuthenticationPoliciesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the ownerlessGroupPolicy property of the microsoft.graph.policyRoot entity. + public global::Microsoft.Graph.Beta.Policies.OwnerlessGroupPolicy.OwnerlessGroupPolicyRequestBuilder OwnerlessGroupPolicy + { + get => new global::Microsoft.Graph.Beta.Policies.OwnerlessGroupPolicy.OwnerlessGroupPolicyRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the permissionGrantPolicies property of the microsoft.graph.policyRoot entity. public global::Microsoft.Graph.Beta.Policies.PermissionGrantPolicies.PermissionGrantPoliciesRequestBuilder PermissionGrantPolicies { diff --git a/src/Microsoft.Graph/Generated/Security/Alerts_v2/Alerts_v2RequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Alerts_v2/Alerts_v2RequestBuilder.cs index 02c86c2b2ca0..296ea7afdfdb 100644 --- a/src/Microsoft.Graph/Generated/Security/Alerts_v2/Alerts_v2RequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Alerts_v2/Alerts_v2RequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Beta.Models.Security; using Microsoft.Graph.Beta.Security.Alerts_v2.Count; using Microsoft.Graph.Beta.Security.Alerts_v2.Item; +using Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -25,6 +26,11 @@ public partial class Alerts_v2RequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Security.Alerts_v2.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the moveAlerts method. + public global::Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MicrosoftGraphSecurityMoveAlertsRequestBuilder MicrosoftGraphSecurityMoveAlerts + { + get => new global::Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MicrosoftGraphSecurityMoveAlertsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the alerts_v2 property of the microsoft.graph.security entity. /// The unique identifier of alert /// A diff --git a/src/Microsoft.Graph/Generated/Security/Alerts_v2/MicrosoftGraphSecurityMoveAlerts/MicrosoftGraphSecurityMoveAlertsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Alerts_v2/MicrosoftGraphSecurityMoveAlerts/MicrosoftGraphSecurityMoveAlertsRequestBuilder.cs new file mode 100644 index 000000000000..fb8c0f82205e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Alerts_v2/MicrosoftGraphSecurityMoveAlerts/MicrosoftGraphSecurityMoveAlertsRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Security; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts +{ + /// + /// Provides operations to call the moveAlerts method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphSecurityMoveAlertsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphSecurityMoveAlertsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/alerts_v2/microsoft.graph.security.moveAlerts", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphSecurityMoveAlertsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/alerts_v2/microsoft.graph.security.moveAlerts", rawUrl) + { + } + /// + /// Invoke action moveAlerts + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MoveAlertsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MoveAlertsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Security.MergeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action moveAlerts + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MoveAlertsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MoveAlertsPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MicrosoftGraphSecurityMoveAlertsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MicrosoftGraphSecurityMoveAlertsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphSecurityMoveAlertsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Alerts_v2/MicrosoftGraphSecurityMoveAlerts/MoveAlertsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Security/Alerts_v2/MicrosoftGraphSecurityMoveAlerts/MoveAlertsPostRequestBody.cs new file mode 100644 index 000000000000..609198a13358 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Alerts_v2/MicrosoftGraphSecurityMoveAlerts/MoveAlertsPostRequestBody.cs @@ -0,0 +1,126 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.Security; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class MoveAlertsPostRequestBody : 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 alertComment property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AlertComment + { + get { return BackingStore?.Get("alertComment"); } + set { BackingStore?.Set("alertComment", value); } + } +#nullable restore +#else + public string AlertComment + { + get { return BackingStore?.Get("alertComment"); } + set { BackingStore?.Set("alertComment", value); } + } +#endif + /// The alertIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AlertIds + { + get { return BackingStore?.Get?>("alertIds"); } + set { BackingStore?.Set("alertIds", value); } + } +#nullable restore +#else + public List AlertIds + { + get { return BackingStore?.Get>("alertIds"); } + set { BackingStore?.Set("alertIds", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The incidentId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IncidentId + { + get { return BackingStore?.Get("incidentId"); } + set { BackingStore?.Set("incidentId", value); } + } +#nullable restore +#else + public string IncidentId + { + get { return BackingStore?.Get("incidentId"); } + set { BackingStore?.Set("incidentId", value); } + } +#endif + /// The newCorrelationReasons property + public global::Microsoft.Graph.Beta.Models.Security.CorrelationReason? NewCorrelationReasons + { + get { return BackingStore?.Get("newCorrelationReasons"); } + set { BackingStore?.Set("newCorrelationReasons", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public MoveAlertsPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MoveAlertsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MoveAlertsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "alertComment", n => { AlertComment = n.GetStringValue(); } }, + { "alertIds", n => { AlertIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "incidentId", n => { IncidentId = n.GetStringValue(); } }, + { "newCorrelationReasons", n => { NewCorrelationReasons = 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("alertComment", AlertComment); + writer.WriteCollectionOfPrimitiveValues("alertIds", AlertIds); + writer.WriteStringValue("incidentId", IncidentId); + writer.WriteEnumValue("newCorrelationReasons", NewCorrelationReasons); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/AuditLog/AuditLogRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AuditLog/AuditLogRequestBuilder.cs index f16cfdfc3e10..29999db0cf99 100644 --- a/src/Microsoft.Graph/Generated/Security/AuditLog/AuditLogRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AuditLog/AuditLogRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// Get auditLog from security + /// The entry point for Microsoft Purview audit log queries and operations. /// /// A /// Cancellation token to use when cancelling requests @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get auditLog from security + /// The entry point for Microsoft Purview audit log queries and operations. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -188,7 +188,7 @@ public partial class AuditLogRequestBuilderDeleteRequestConfiguration : RequestC { } /// - /// Get auditLog from security + /// The entry point for Microsoft Purview audit log queries and operations. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AuditLogRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Security/Incidents/IncidentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Incidents/IncidentsRequestBuilder.cs index 515f49e011ca..02a09c8f7c18 100644 --- a/src/Microsoft.Graph/Generated/Security/Incidents/IncidentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Incidents/IncidentsRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Beta.Models.Security; using Microsoft.Graph.Beta.Security.Incidents.Count; using Microsoft.Graph.Beta.Security.Incidents.Item; +using Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -25,6 +26,11 @@ public partial class IncidentsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Security.Incidents.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the mergeIncidents method. + public global::Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MicrosoftGraphSecurityMergeIncidentsRequestBuilder MicrosoftGraphSecurityMergeIncidents + { + get => new global::Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MicrosoftGraphSecurityMergeIncidentsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the incidents property of the microsoft.graph.security entity. /// The unique identifier of incident /// A diff --git a/src/Microsoft.Graph/Generated/Security/Incidents/MicrosoftGraphSecurityMergeIncidents/MergeIncidentsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Security/Incidents/MicrosoftGraphSecurityMergeIncidents/MergeIncidentsPostRequestBody.cs new file mode 100644 index 000000000000..d4271cff8351 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Incidents/MicrosoftGraphSecurityMergeIncidents/MergeIncidentsPostRequestBody.cs @@ -0,0 +1,108 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.Security; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class MergeIncidentsPostRequestBody : 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 incidentComment property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IncidentComment + { + get { return BackingStore?.Get("incidentComment"); } + set { BackingStore?.Set("incidentComment", value); } + } +#nullable restore +#else + public string IncidentComment + { + get { return BackingStore?.Get("incidentComment"); } + set { BackingStore?.Set("incidentComment", value); } + } +#endif + /// The incidentIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? IncidentIds + { + get { return BackingStore?.Get?>("incidentIds"); } + set { BackingStore?.Set("incidentIds", value); } + } +#nullable restore +#else + public List IncidentIds + { + get { return BackingStore?.Get>("incidentIds"); } + set { BackingStore?.Set("incidentIds", value); } + } +#endif + /// The mergeReasons property + public global::Microsoft.Graph.Beta.Models.Security.CorrelationReason? MergeReasons + { + get { return BackingStore?.Get("mergeReasons"); } + set { BackingStore?.Set("mergeReasons", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public MergeIncidentsPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MergeIncidentsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MergeIncidentsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "incidentComment", n => { IncidentComment = n.GetStringValue(); } }, + { "incidentIds", n => { IncidentIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "mergeReasons", n => { MergeReasons = 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("incidentComment", IncidentComment); + writer.WriteCollectionOfPrimitiveValues("incidentIds", IncidentIds); + writer.WriteEnumValue("mergeReasons", MergeReasons); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Incidents/MicrosoftGraphSecurityMergeIncidents/MicrosoftGraphSecurityMergeIncidentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Incidents/MicrosoftGraphSecurityMergeIncidents/MicrosoftGraphSecurityMergeIncidentsRequestBuilder.cs new file mode 100644 index 000000000000..150a4872db08 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Incidents/MicrosoftGraphSecurityMergeIncidents/MicrosoftGraphSecurityMergeIncidentsRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Security; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents +{ + /// + /// Provides operations to call the mergeIncidents method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphSecurityMergeIncidentsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphSecurityMergeIncidentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/incidents/microsoft.graph.security.mergeIncidents", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphSecurityMergeIncidentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/incidents/microsoft.graph.security.mergeIncidents", rawUrl) + { + } + /// + /// Invoke action mergeIncidents + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MergeIncidentsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MergeIncidentsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Security.MergeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action mergeIncidents + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MergeIncidentsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MergeIncidentsPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MicrosoftGraphSecurityMergeIncidentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MicrosoftGraphSecurityMergeIncidentsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphSecurityMergeIncidentsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs index 7dbff3e0b540..dff42e7e54f6 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs @@ -41,6 +41,7 @@ public AcquireAccessTokenRequestBuilder(string rawUrl, IRequestAdapter requestAd /// Cancellation token to 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 action acquires an access token via Oauth Code Grant Flow. Code Grant will be completely deprecated so this action will be obsolete. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PostAsync(global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.AcquireAccessToken.AcquireAccessTokenPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -64,6 +65,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.ServicePrincipals.Item. /// A /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This action acquires an access token via Oauth Code Grant Flow. Code Grant will be completely deprecated so this action will be obsolete. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.AcquireAccessToken.AcquireAccessTokenPostRequestBody body, Action>? requestConfiguration = default) @@ -85,6 +87,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. /// /// A /// The raw URL to use for the request builder. + [Obsolete("This action acquires an access token via Oauth Code Grant Flow. Code Grant will be completely deprecated so this action will be obsolete. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] public global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.AcquireAccessToken.AcquireAccessTokenRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.AcquireAccessToken.AcquireAccessTokenRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs index 5246d473370b..c09dd3f412be 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs @@ -41,6 +41,7 @@ public ValidateCredentialsRequestBuilder(string rawUrl, IRequestAdapter requestA /// Cancellation token to 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("Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PostAsync(global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ValidateCredentials.ValidateCredentialsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -64,6 +65,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.ServicePrincipals.Item. /// A /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ValidateCredentials.ValidateCredentialsPostRequestBody body, Action>? requestConfiguration = default) @@ -85,6 +87,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. /// /// A /// The raw URL to use for the request builder. + [Obsolete("Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] public global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ValidateCredentials.ValidateCredentialsRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.Item.ValidateCredentials.ValidateCredentialsRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.cs index 5f9d8dc212d9..234d78217b7a 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.cs @@ -40,6 +40,7 @@ public ValidateCredentialsRequestBuilder(string rawUrl, IRequestAdapter requestA /// Cancellation token to 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("Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PostAsync(global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.ValidateCredentials.ValidateCredentialsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -63,6 +64,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.ServicePrincipals.Item. /// A /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.ValidateCredentials.ValidateCredentialsPostRequestBody body, Action>? requestConfiguration = default) @@ -84,6 +86,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. /// /// A /// The raw URL to use for the request builder. + [Obsolete("Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] public global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.ValidateCredentials.ValidateCredentialsRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Jobs.ValidateCredentials.ValidateCredentialsRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Secrets/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Secrets/Count/CountRequestBuilder.cs index 055ddb846c32..4b8aaeadc5c1 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Secrets/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Secrets/Count/CountRequestBuilder.cs @@ -40,6 +40,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -61,6 +62,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -80,6 +82,7 @@ public RequestInformation ToGetRequestInformation(Action /// A /// The raw URL to use for the request builder. + [Obsolete("Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] public global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Secrets.Count.CountRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Secrets.Count.CountRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Secrets/SecretsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Secrets/SecretsRequestBuilder.cs index ee8f8d2d93d1..fa1ee72b4d2c 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Secrets/SecretsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Secrets/SecretsRequestBuilder.cs @@ -19,6 +19,7 @@ namespace Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Secrets public partial class SecretsRequestBuilder : BaseRequestBuilder { /// Provides operations to count the resources in the collection. + [Obsolete("Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] public global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Secrets.Count.CountRequestBuilder Count { get => new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Secrets.Count.CountRequestBuilder(PathParameters, RequestAdapter); @@ -48,6 +49,7 @@ public SecretsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba /// Cancellation token to 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("Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PutAsSecretsPutResponseAsync(global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Secrets.SecretsPutRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -98,6 +100,7 @@ public SecretsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba /// A /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPutRequestInformation(global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Secrets.SecretsPutRequestBody body, Action>? requestConfiguration = default) @@ -119,6 +122,7 @@ public RequestInformation ToPutRequestInformation(global::Microsoft.Graph.Beta.S /// /// A /// The raw URL to use for the request builder. + [Obsolete("Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06")] public global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Secrets.SecretsRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Synchronization.Secrets.SecretsRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ActivityLogs/ActivityLogsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ActivityLogs/ActivityLogsRequestBuilder.cs new file mode 100644 index 000000000000..30435b255a4f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ActivityLogs/ActivityLogsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Count; +using Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs +{ + /// + /// Provides operations to manage the activityLogs property of the microsoft.graph.backupRestoreRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ActivityLogsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the activityLogs property of the microsoft.graph.backupRestoreRoot entity. + /// The unique identifier of activityLogBase + /// A + public global::Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Item.ActivityLogBaseItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("activityLogBase%2Did", position); + return new global::Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Item.ActivityLogBaseItemRequestBuilder(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 ActivityLogsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/activityLogs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ActivityLogsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/activityLogs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get activityLogs from solutions + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ActivityLogBaseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to activityLogs for solutions + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ActivityLogBase body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ActivityLogBase body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ActivityLogBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get activityLogs from solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 activityLogs for solutions + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ActivityLogBase body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ActivityLogBase body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.ActivityLogsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.ActivityLogsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get activityLogs from solutions + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ActivityLogsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ActivityLogsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ActivityLogsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ActivityLogs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ActivityLogs/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..8b137c99f725 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ActivityLogs/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.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}/solutions/backupRestore/activityLogs/$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}/solutions/backupRestore/activityLogs/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.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/Solutions/BackupRestore/ActivityLogs/Item/ActivityLogBaseItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ActivityLogs/Item/ActivityLogBaseItemRequestBuilder.cs new file mode 100644 index 000000000000..fd902c284a5b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ActivityLogs/Item/ActivityLogBaseItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Item +{ + /// + /// Provides operations to manage the activityLogs property of the microsoft.graph.backupRestoreRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ActivityLogBaseItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ActivityLogBaseItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/activityLogs/{activityLogBase%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 ActivityLogBaseItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/activityLogs/{activityLogBase%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property activityLogs for solutions + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get activityLogs from solutions + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ActivityLogBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property activityLogs in solutions + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ActivityLogBase body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ActivityLogBase body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ActivityLogBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property activityLogs for solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 activityLogs from solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 activityLogs in solutions + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ActivityLogBase body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ActivityLogBase body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Item.ActivityLogBaseItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Item.ActivityLogBaseItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ActivityLogBaseItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get activityLogs from solutions + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ActivityLogBaseItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ActivityLogBaseItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ActivityLogBaseItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BackupRestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BackupRestoreRequestBuilder.cs index c391f5dcbbe7..7e3df4cabfdf 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BackupRestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BackupRestoreRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs; using Microsoft.Graph.Beta.Solutions.BackupRestore.AllDrivesBackup; using Microsoft.Graph.Beta.Solutions.BackupRestore.AllMailboxesBackup; using Microsoft.Graph.Beta.Solutions.BackupRestore.AllSitesBackup; @@ -21,6 +22,7 @@ using Microsoft.Graph.Beta.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions; using Microsoft.Graph.Beta.Solutions.BackupRestore.ProtectionPolicies; using Microsoft.Graph.Beta.Solutions.BackupRestore.ProtectionUnits; +using Microsoft.Graph.Beta.Solutions.BackupRestore.Reports; using Microsoft.Graph.Beta.Solutions.BackupRestore.RestorePoints; using Microsoft.Graph.Beta.Solutions.BackupRestore.RestoreSessions; using Microsoft.Graph.Beta.Solutions.BackupRestore.ServiceApps; @@ -46,6 +48,11 @@ namespace Microsoft.Graph.Beta.Solutions.BackupRestore [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class BackupRestoreRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the activityLogs property of the microsoft.graph.backupRestoreRoot entity. + public global::Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.ActivityLogsRequestBuilder ActivityLogs + { + get => new global::Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.ActivityLogsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the allDrivesBackup property of the microsoft.graph.backupRestoreRoot entity. public global::Microsoft.Graph.Beta.Solutions.BackupRestore.AllDrivesBackup.AllDrivesBackupRequestBuilder AllDrivesBackup { @@ -141,6 +148,11 @@ public partial class BackupRestoreRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Solutions.BackupRestore.ProtectionUnits.ProtectionUnitsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the reports property of the microsoft.graph.backupRestoreRoot entity. + public global::Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.ReportsRequestBuilder Reports + { + get => new global::Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.ReportsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the restorePoints property of the microsoft.graph.backupRestoreRoot entity. public global::Microsoft.Graph.Beta.Solutions.BackupRestore.RestorePoints.RestorePointsRequestBuilder RestorePoints { diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/Reports/GetStatisticsByPolicyWithPolicyId/GetStatisticsByPolicyWithPolicyIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/Reports/GetStatisticsByPolicyWithPolicyId/GetStatisticsByPolicyWithPolicyIdRequestBuilder.cs new file mode 100644 index 000000000000..d784a9116bb3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/Reports/GetStatisticsByPolicyWithPolicyId/GetStatisticsByPolicyWithPolicyIdRequestBuilder.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.GetStatisticsByPolicyWithPolicyId +{ + /// + /// Provides operations to call the getStatisticsByPolicy method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetStatisticsByPolicyWithPolicyIdRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// Usage: policyId='{policyId}' + /// The request adapter to use to execute the requests. + public GetStatisticsByPolicyWithPolicyIdRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string policyId = "") : base(requestAdapter, "{+baseurl}/solutions/backupRestore/reports/getStatisticsByPolicy(policyId='{policyId}')", pathParameters) + { + if (!string.IsNullOrWhiteSpace(policyId)) PathParameters.Add("policyId", policyId); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public GetStatisticsByPolicyWithPolicyIdRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/reports/getStatisticsByPolicy(policyId='{policyId}')", rawUrl) + { + } + /// + /// Invoke function getStatisticsByPolicy + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.BackupPolicyReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getStatisticsByPolicy + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.GetStatisticsByPolicyWithPolicyId.GetStatisticsByPolicyWithPolicyIdRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.GetStatisticsByPolicyWithPolicyId.GetStatisticsByPolicyWithPolicyIdRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetStatisticsByPolicyWithPolicyIdRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/Reports/ReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/Reports/ReportsRequestBuilder.cs new file mode 100644 index 000000000000..2f994480b7c2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/Reports/ReportsRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.GetStatisticsByPolicyWithPolicyId; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Solutions.BackupRestore.Reports +{ + /// + /// Provides operations to manage the reports property of the microsoft.graph.backupRestoreRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReportsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/reports{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReportsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/reports{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property reports for solutions + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get reports from solutions + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.BackupReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Provides operations to call the getStatisticsByPolicy method. + /// + /// A + /// Usage: policyId='{policyId}' + public global::Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.GetStatisticsByPolicyWithPolicyId.GetStatisticsByPolicyWithPolicyIdRequestBuilder GetStatisticsByPolicyWithPolicyId(string policyId) + { + if(string.IsNullOrEmpty(policyId)) throw new ArgumentNullException(nameof(policyId)); + return new global::Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.GetStatisticsByPolicyWithPolicyId.GetStatisticsByPolicyWithPolicyIdRequestBuilder(PathParameters, RequestAdapter, policyId); + } + /// + /// Update the navigation property reports in solutions + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.BackupReport body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.BackupReport body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.BackupReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property reports for solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 reports from solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 reports in solutions + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.BackupReport body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.BackupReport body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.ReportsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.ReportsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportsRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get reports from solutions + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BusinessScenarios/Item/Planner/Tasks/Item/BusinessScenarioTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BusinessScenarios/Item/Planner/Tasks/Item/BusinessScenarioTaskItemRequestBuilder.cs index f77ce8e0fb1f..c04cd14d8e61 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BusinessScenarios/Item/Planner/Tasks/Item/BusinessScenarioTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BusinessScenarios/Item/Planner/Tasks/Item/BusinessScenarioTaskItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Details; +using Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages; using Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -37,6 +38,11 @@ public partial class BusinessScenarioTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Solutions/BusinessScenarios/Item/Planner/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BusinessScenarios/Item/Planner/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..b13c45b07dae --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BusinessScenarios/Item/Planner/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.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}/solutions/businessScenarios/{businessScenario%2Did}/planner/tasks/{businessScenarioTask%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}/solutions/businessScenarios/{businessScenario%2Did}/planner/tasks/{businessScenarioTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.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/Solutions/BusinessScenarios/Item/Planner/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BusinessScenarios/Item/Planner/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..a0e6432ce552 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BusinessScenarios/Item/Planner/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/businessScenarios/{businessScenario%2Did}/planner/tasks/{businessScenarioTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/businessScenarios/{businessScenario%2Did}/planner/tasks/{businessScenarioTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for solutions + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in solutions + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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. Chat messages associated with 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 messages in solutions + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BusinessScenarios/Item/Planner/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Solutions/BusinessScenarios/Item/Planner/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..52fcfc6d86f0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BusinessScenarios/Item/Planner/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.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.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.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/Solutions/BusinessScenarios/Item/Planner/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BusinessScenarios/Item/Planner/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..be75634b0339 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BusinessScenarios/Item/Planner/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.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}/solutions/businessScenarios/{businessScenario%2Did}/planner/tasks/{businessScenarioTask%2Did}/messages/{plannerTaskChatMessage%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}/solutions/businessScenarios/{businessScenario%2Did}/planner/tasks/{businessScenarioTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.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.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.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/Solutions/BusinessScenarios/Item/Planner/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Solutions/BusinessScenarios/Item/Planner/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..0885fb418189 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BusinessScenarios/Item/Planner/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.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.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.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/Solutions/BusinessScenarios/Item/Planner/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BusinessScenarios/Item/Planner/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..116eadf02b5b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BusinessScenarios/Item/Planner/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.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}/solutions/businessScenarios/{businessScenario%2Did}/planner/tasks/{businessScenarioTask%2Did}/messages/{plannerTaskChatMessage%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}/solutions/businessScenarios/{businessScenario%2Did}/planner/tasks/{businessScenarioTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.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.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.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/Solutions/BusinessScenarios/Item/Planner/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BusinessScenarios/Item/Planner/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..912699e101cb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BusinessScenarios/Item/Planner/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/solutions/businessScenarios/{businessScenario%2Did}/planner/tasks/{businessScenarioTask%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}/solutions/businessScenarios/{businessScenario%2Did}/planner/tasks/{businessScenarioTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for solutions + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for solutions + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/Storage/FileStorage/ContainerTypes/Item/FileStorageContainerTypeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/FileStorageContainerTypeItemRequestBuilder.cs index 967651ba38fa..6f15e254e38a 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/FileStorageContainerTypeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/FileStorageContainerTypeItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -18,6 +19,11 @@ namespace Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FileStorageContainerTypeItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the permissions property of the microsoft.graph.fileStorageContainerType entity. + public global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.PermissionsRequestBuilder Permissions + { + get => new global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.PermissionsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..21c3d1de7d5c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.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}/storage/fileStorage/containerTypes/{fileStorageContainerType%2Did}/permissions/$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}/storage/fileStorage/containerTypes/{fileStorageContainerType%2Did}/permissions/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.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/Storage/FileStorage/ContainerTypes/Item/Permissions/Item/Grant/GrantPostRequestBody.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/Item/Grant/GrantPostRequestBody.cs new file mode 100644 index 000000000000..e9d22d9f1426 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/Item/Grant/GrantPostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GrantPostRequestBody : 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 recipients property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Recipients + { + get { return BackingStore?.Get?>("recipients"); } + set { BackingStore?.Set("recipients", value); } + } +#nullable restore +#else + public List Recipients + { + get { return BackingStore?.Get>("recipients"); } + set { BackingStore?.Set("recipients", value); } + } +#endif + /// The roles property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Roles + { + get { return BackingStore?.Get?>("roles"); } + set { BackingStore?.Set("roles", value); } + } +#nullable restore +#else + public List Roles + { + get { return BackingStore?.Get>("roles"); } + set { BackingStore?.Set("roles", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public GrantPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "recipients", n => { Recipients = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DriveRecipient.CreateFromDiscriminatorValue)?.AsList(); } }, + { "roles", n => { Roles = 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("recipients", Recipients); + writer.WriteCollectionOfPrimitiveValues("roles", Roles); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/Item/Grant/GrantPostResponse.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/Item/Grant/GrantPostResponse.cs new file mode 100644 index 000000000000..c1f4138dc6b2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/Item/Grant/GrantPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GrantPostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantPostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Permission.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/Storage/FileStorage/ContainerTypes/Item/Permissions/Item/Grant/GrantRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/Item/Grant/GrantRequestBuilder.cs new file mode 100644 index 000000000000..fd6b7150092b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/Item/Grant/GrantRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant +{ + /// + /// Provides operations to call the grant method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GrantRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GrantRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypes/{fileStorageContainerType%2Did}/permissions/{permission%2Did}/grant", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public GrantRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypes/{fileStorageContainerType%2Did}/permissions/{permission%2Did}/grant", rawUrl) + { + } + /// + /// Grant users access to a link represented by a permission. + /// 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 PostAsGrantPostResponseAsync(global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsGrantPostResponseAsync(global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Grant users access to a link represented by a permission. + /// 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 PostAsGrantPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Grant users access to a link represented by a permission. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GrantRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/Item/Grant/GrantResponse.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/Item/Grant/GrantResponse.cs new file mode 100644 index 000000000000..10e9dba7f7c5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/Item/Grant/GrantResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant +{ + [Obsolete("This class is obsolete. Use GrantPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GrantResponse : global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantPostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/Item/PermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/Item/PermissionItemRequestBuilder.cs new file mode 100644 index 000000000000..266c8499d520 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/Item/PermissionItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant; +using Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item +{ + /// + /// Provides operations to manage the permissions property of the microsoft.graph.fileStorageContainerType entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PermissionItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the grant method. + public global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantRequestBuilder Grant + { + get => new global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the revokeGrants method. + public global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder RevokeGrants + { + get => new global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(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 PermissionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypes/{fileStorageContainerType%2Did}/permissions/{permission%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 PermissionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypes/{fileStorageContainerType%2Did}/permissions/{permission%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property permissions for storage + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get permissions from storage + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property permissions in storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Permission body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Permission body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property permissions for storage + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 permissions from storage + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 permissions in storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Permission body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Permission body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.PermissionItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.PermissionItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PermissionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get permissions from storage + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PermissionItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PermissionItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PermissionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs new file mode 100644 index 000000000000..d11e7cb1322c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RevokeGrantsPostRequestBody : 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 grantees property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Grantees + { + get { return BackingStore?.Get?>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#nullable restore +#else + public List Grantees + { + get { return BackingStore?.Get>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RevokeGrantsPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "grantees", n => { Grantees = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DriveRecipient.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("grantees", Grantees); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs new file mode 100644 index 000000000000..0d0f2ad7ab85 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants +{ + /// + /// Provides operations to call the revokeGrants method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RevokeGrantsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypes/{fileStorageContainerType%2Did}/permissions/{permission%2Did}/revokeGrants", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypes/{fileStorageContainerType%2Did}/permissions/{permission%2Did}/revokeGrants", rawUrl) + { + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// 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.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RevokeGrantsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/PermissionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/PermissionsRequestBuilder.cs new file mode 100644 index 000000000000..69bb2a00451a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/PermissionsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Count; +using Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions +{ + /// + /// Provides operations to manage the permissions property of the microsoft.graph.fileStorageContainerType entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PermissionsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the permissions property of the microsoft.graph.fileStorageContainerType entity. + /// The unique identifier of permission + /// A + public global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.PermissionItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("permission%2Did", position); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.PermissionItemRequestBuilder(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 PermissionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypes/{fileStorageContainerType%2Did}/permissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public PermissionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containerTypes/{fileStorageContainerType%2Did}/permissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get permissions from storage + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PermissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to permissions for storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.Permission body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.Permission body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get permissions from storage + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 permissions for storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.Permission body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.Permission body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.PermissionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.PermissionsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get permissions from storage + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PermissionsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PermissionsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PermissionsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Archive/ArchiveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Archive/ArchiveRequestBuilder.cs new file mode 100644 index 000000000000..f559cc359d34 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Archive/ArchiveRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.Containers.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}/storage/fileStorage/containers/{fileStorageContainer%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}/storage/fileStorage/containers/{fileStorageContainer%2Did}/archive", rawUrl) + { + } + /// + /// Archive an active fileStorageContainer. This action updates the archivalDetails. + /// 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Archive an active fileStorageContainer. This action updates the archivalDetails. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Archive.ArchiveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.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/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.cs index b6e1eff8816c..d937e533ed07 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Activate; +using Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Archive; using Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Columns; using Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Drive; using Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock; @@ -13,6 +14,7 @@ using Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin; using Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Restore; using Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.SharePointGroups; +using Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unarchive; using Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unlock; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -35,6 +37,11 @@ public partial class FileStorageContainerItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Activate.ActivateRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the archive method. + public global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Archive.ArchiveRequestBuilder Archive + { + get => new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Archive.ArchiveRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the columns property of the microsoft.graph.fileStorageContainer entity. public global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Columns.ColumnsRequestBuilder Columns { @@ -85,6 +92,11 @@ public partial class FileStorageContainerItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.SharePointGroups.SharePointGroupsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the unarchive method. + public global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unarchive.UnarchiveRequestBuilder Unarchive + { + get => new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unarchive.UnarchiveRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the unlock method. public global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unlock.UnlockRequestBuilder Unlock { diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Unarchive/UnarchiveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Unarchive/UnarchiveRequestBuilder.cs new file mode 100644 index 000000000000..19dd9d011605 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Unarchive/UnarchiveRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.Containers.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}/storage/fileStorage/containers/{fileStorageContainer%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}/storage/fileStorage/containers/{fileStorageContainer%2Did}/unarchive", rawUrl) + { + } + /// + /// Unarchive an archived fileStorageContainer. This action updates the archivalDetails. + /// 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Unarchive an archived fileStorageContainer. This action updates the archivalDetails. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unarchive.UnarchiveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.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/Storage/FileStorage/DeletedContainers/Item/Archive/ArchiveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Archive/ArchiveRequestBuilder.cs new file mode 100644 index 000000000000..37968df94ec2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Archive/ArchiveRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.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}/storage/fileStorage/deletedContainers/{fileStorageContainer%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}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/archive", rawUrl) + { + } + /// + /// Archive an active fileStorageContainer. This action updates the archivalDetails. + /// 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Archive an active fileStorageContainer. This action updates the archivalDetails. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Archive.ArchiveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.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/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.cs index 576f96ce840e..2cb9d76f9f8b 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Activate; +using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Archive; using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Columns; using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Drive; using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock; @@ -13,6 +14,7 @@ using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin; using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Restore; using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.SharePointGroups; +using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unarchive; using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unlock; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -35,6 +37,11 @@ public partial class FileStorageContainerItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Activate.ActivateRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the archive method. + public global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Archive.ArchiveRequestBuilder Archive + { + get => new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Archive.ArchiveRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the columns property of the microsoft.graph.fileStorageContainer entity. public global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Columns.ColumnsRequestBuilder Columns { @@ -85,6 +92,11 @@ public partial class FileStorageContainerItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.SharePointGroupsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the unarchive method. + public global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unarchive.UnarchiveRequestBuilder Unarchive + { + get => new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unarchive.UnarchiveRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the unlock method. public global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unlock.UnlockRequestBuilder Unlock { diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Unarchive/UnarchiveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Unarchive/UnarchiveRequestBuilder.cs new file mode 100644 index 000000000000..9b01ecf441fa --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Unarchive/UnarchiveRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.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}/storage/fileStorage/deletedContainers/{fileStorageContainer%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}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/unarchive", rawUrl) + { + } + /// + /// Unarchive an archived fileStorageContainer. This action updates the archivalDetails. + /// 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Unarchive an archived fileStorageContainer. This action updates the archivalDetails. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unarchive.UnarchiveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.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/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..8e30f05ec67f --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..f465e3a284ff --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for teamTemplateDefinition + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in teamTemplateDefinition + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for teamTemplateDefinition + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read-only. Nullable. Chat messages associated with 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 messages in teamTemplateDefinition + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..9bb109871499 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..ce6554f3c727 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..4e8a045f8f09 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..9909037c47ba --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..f80e8a1b66bc --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for teamTemplateDefinition + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for teamTemplateDefinition + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 3674db5a2823..e994f18bc175 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..f9cf25404b5a --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..14e515dfdfba --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for teamTemplateDefinition + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in teamTemplateDefinition + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for teamTemplateDefinition + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read-only. Nullable. Chat messages associated with 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 messages in teamTemplateDefinition + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..539a84baccdb --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..7d3742f5b9a6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..480dbb1256d2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..aa306cc32c15 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..204bf555f996 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for teamTemplateDefinition + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for teamTemplateDefinition + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index a88b08e91f32..dc53689daceb 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..7619141d51f9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..2d1d3ee2c636 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for teamTemplateDefinition + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in teamTemplateDefinition + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for teamTemplateDefinition + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read-only. Nullable. Chat messages associated with 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 messages in teamTemplateDefinition + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..522d6fdea91b --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..495fd92fdc55 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..c69619bda5d7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..a3b02b9b7a1e --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..0606028fa692 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for teamTemplateDefinition + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for teamTemplateDefinition + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index dd1ce6d7ab70..e219501b39ff 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..6c649e0d1919 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..1f16687d8a10 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for teamTemplateDefinition + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in teamTemplateDefinition + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for teamTemplateDefinition + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read-only. Nullable. Chat messages associated with 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 messages in teamTemplateDefinition + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..014db838db87 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..c3e816d748d9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..cacf3148a611 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..d46030a844e9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..e452c1b21271 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for teamTemplateDefinition + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for teamTemplateDefinition + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 4d8a25a0d95e..ef11a3ed9440 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..c05e76dcc8b8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Teams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..7d89b8fe0096 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for teams + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in teams + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for teams + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read-only. Nullable. Chat messages associated with 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 messages in teams + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..28ec21e1cc55 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Teams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..9b8e03739265 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Teams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..0a9f95378270 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Teams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..e935a894d067 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Teams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..7e524e7dc2ff --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for teams + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for teams + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/Teams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index ee45619e2ed8..d1793fddf98b 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..7491ca2d0d5b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.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}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.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/Teams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..a973a93e11dd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for teams + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in teams + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for teams + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read-only. Nullable. Chat messages associated with 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 messages in teams + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..0ae9c6f40d55 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.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/Teams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..64be04a12d0e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.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}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.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/Teams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..983014cbf678 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.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/Teams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..d58793c8939e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.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}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.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/Teams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..b605dd905e27 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for teams + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for teams + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/Teams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 5957cea646aa..7f8544dfe2e2 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..5e9560bd9def --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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}/teams/{team%2Did}/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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}/teams/{team%2Did}/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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/Teams/Item/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..d07361b668e9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for teams + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in teams + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for teams + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read-only. Nullable. Chat messages associated with 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 messages in teams + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..1c8a8f18cc32 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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/Teams/Item/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..b24e5fe30346 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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}/teams/{team%2Did}/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teams/{team%2Did}/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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/Teams/Item/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..8f731839070c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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/Teams/Item/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..d8c949bc8848 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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}/teams/{team%2Did}/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teams/{team%2Did}/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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/Teams/Item/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..f9db38373da8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/teams/{team%2Did}/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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}/teams/{team%2Did}/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for teams + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for teams + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/Teams/Item/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index becc69e7f8b3..eaa11b4a431f 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..9464e79512c1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.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}/teams/{team%2Did}/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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}/teams/{team%2Did}/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.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/Teams/Item/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..a8fb7d097a5d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for teams + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in teams + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for teams + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read-only. Nullable. Chat messages associated with 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 messages in teams + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..4e865672539a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.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.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.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/Teams/Item/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..609e34167203 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.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}/teams/{team%2Did}/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teams/{team%2Did}/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.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.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.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/Teams/Item/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..70f09c769888 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.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.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.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/Teams/Item/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..e7db393da3d4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.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}/teams/{team%2Did}/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teams/{team%2Did}/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.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.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.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/Teams/Item/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..14ff6677e297 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/teams/{team%2Did}/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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}/teams/{team%2Did}/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for teams + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for teams + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/Teams/Item/PrimaryChannel/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 17c43d60d310..597c67ade92f 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..3b4916e0db8f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..4f46f8d15539 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for teamwork + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in teamwork + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for teamwork + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read-only. Nullable. Chat messages associated with 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 messages in teamwork + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..8ae361a17ecd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..2350e3b7b22f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..5a21912bbb45 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..9e23b541b169 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..a9818aeead87 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for teamwork + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for teamwork + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 5969e19b939b..97664772a4fa 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..167d7207166b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.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/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..31c1c0a2273b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for teamwork + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in teamwork + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for teamwork + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read-only. Nullable. Chat messages associated with 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 messages in teamwork + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..ae2d22febd95 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.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/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..15595ddfaee5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.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/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..3f8e9cc1a210 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.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/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..6e1d21b9a6be --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.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/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..ae6a2b80c689 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for teamwork + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for teamwork + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 10896c5e3aa1..f4d299aa0289 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..a5e920a3aa26 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..ad2372e9a82a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for teamwork + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in teamwork + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for teamwork + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read-only. Nullable. Chat messages associated with 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 messages in teamwork + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..a941c41a8c45 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..2c44f27a1b58 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..feeafe99c603 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..6324aafe4488 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..53d8926fff13 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for teamwork + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for teamwork + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 5bfb0c3c77d9..6872205ef489 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..0c29ce665b7a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..b396f9854cd6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for teamwork + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in teamwork + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for teamwork + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read-only. Nullable. Chat messages associated with 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 messages in teamwork + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..137af6846dc2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..5b33c2c7a146 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..a8bc4029d3ee --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..74f624cae2cd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.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/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..9a4159e1cf78 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for teamwork + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for teamwork + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index b6f63b94e87a..85776a1f1ced 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..5b2352346f5f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..ef0e11c83aea --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for teamwork + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in teamwork + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for teamwork + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read-only. Nullable. Chat messages associated with 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 messages in teamwork + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..62f18ce224f2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..0a778f847d2e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..c44c3fabb78c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..985a62762515 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.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/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..5671ac85b6fe --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for teamwork + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for teamwork + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 7c28fc1e8a07..b49f3bd8bccb 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..721b86ee4d0f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..5801180867a3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for teamwork + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in teamwork + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for teamwork + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read-only. Nullable. Chat messages associated with 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 messages in teamwork + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..6ab6366bf509 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..4a4472fe4057 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..54269d29b7d7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..778c6849030b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.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/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..96a9470616eb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for teamwork + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for teamwork + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 707a59ac5187..ab56f9b8b833 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/ExternalAuthenticationMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/ExternalAuthenticationMethodsRequestBuilder.cs index 03324ad25d90..36569c0d7468 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/ExternalAuthenticationMethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/ExternalAuthenticationMethodsRequestBuilder.cs @@ -54,7 +54,7 @@ public ExternalAuthenticationMethodsRequestBuilder(string rawUrl, IRequestAdapte { } /// - /// Represents the external methods registered to a user for authentication. + /// Represents the external MFA registered to a user for authentication. /// /// A /// Cancellation token to use when cancelling requests @@ -103,7 +103,7 @@ public ExternalAuthenticationMethodsRequestBuilder(string rawUrl, IRequestAdapte return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ExternalAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Represents the external methods registered to a user for authentication. + /// Represents the external MFA registered to a user for authentication. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Users.Item.Authentication.ExternalAuthenticationMethods.ExternalAuthenticationMethodsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Represents the external methods registered to a user for authentication. + /// Represents the external MFA registered to a user for authentication. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ExternalAuthenticationMethodsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/Item/ExternalAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/Item/ExternalAuthenticationMethodItemRequestBuilder.cs index c8b5538dffa6..5ab3171a1cfa 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/Item/ExternalAuthenticationMethodItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/Item/ExternalAuthenticationMethodItemRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task DeleteAsync(Action - /// Represents the external methods registered to a user for authentication. + /// Represents the external MFA registered to a user for authentication. /// /// A /// Cancellation token to use when cancelling requests @@ -125,7 +125,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Represents the external methods registered to a user for authentication. + /// Represents the external MFA registered to a user for authentication. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -183,7 +183,7 @@ public partial class ExternalAuthenticationMethodItemRequestBuilderDeleteRequest { } /// - /// Represents the external methods registered to a user for authentication. + /// Represents the external MFA registered to a user for authentication. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ExternalAuthenticationMethodItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.cs index a71603d0e186..4a3fee2feaf0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.cs @@ -17,6 +17,7 @@ using Microsoft.Graph.Beta.Users.Item.Chats.Item.SendActivityNotification; using Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration; using Microsoft.Graph.Beta.Users.Item.Chats.Item.Tabs; +using Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages; using Microsoft.Graph.Beta.Users.Item.Chats.Item.UnhideForUser; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -109,6 +110,11 @@ public partial class ChatItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.Chats.Item.Tabs.TabsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. + public global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder TargetedMessages + { + get => new global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the unhideForUser method. public global::Microsoft.Graph.Beta.Users.Item.Chats.Item.UnhideForUser.UnhideForUserRequestBuilder UnhideForUser { diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..d553e994278b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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}/users/{user%2Did}/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}/users/{user%2Did}/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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.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/Users/Item/Chats/Item/TargetedMessages/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/HostedContents/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..bb1f7867340e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/HostedContents/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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}/users/{user%2Did}/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}/users/{user%2Did}/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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.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/Users/Item/Chats/Item/TargetedMessages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/HostedContents/HostedContentsRequestBuilder.cs new file mode 100644 index 000000000000..964a83aa2fd3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count; +using Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Users.Item.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.Beta.Users.Item.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.Beta.Users.Item.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}/users/{user%2Did}/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}/users/{user%2Did}/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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to hostedContents for users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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 users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.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/Users/Item/Chats/Item/TargetedMessages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs new file mode 100644 index 000000000000..7edb81e0dfe2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.Beta.Users.Item.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}/users/{user%2Did}/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}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property hostedContents for users + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property hostedContents in users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property hostedContents for users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// 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 users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.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/Users/Item/Chats/Item/TargetedMessages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs new file mode 100644 index 000000000000..7783848bddd8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -0,0 +1,201 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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}/users/{user%2Did}/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}/users/{user%2Did}/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.Beta.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.Beta.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.Beta.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.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/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..c961a6b1ce3d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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}/users/{user%2Did}/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}/users/{user%2Did}/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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.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/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaGetResponse.cs new file mode 100644 index 000000000000..95e2f1c67617 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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.Beta.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.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.Beta.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/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaRequestBuilder.cs new file mode 100644 index 000000000000..22288b1498f8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaRequestBuilder.cs @@ -0,0 +1,189 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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}/users/{user%2Did}/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}/users/{user%2Did}/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 obtain 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Item.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 obtain 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Item.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 obtain 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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.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 obtain 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/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaResponse.cs new file mode 100644 index 000000000000..36b768311408 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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.Beta.Users.Item.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatPostRequestBody.cs new file mode 100644 index 000000000000..ef5bdd58c00f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatPostRequestBody.cs @@ -0,0 +1,118 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ForwardToChatPostRequestBody : 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 additionalMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ChatMessage? AdditionalMessage + { + get { return BackingStore?.Get("additionalMessage"); } + set { BackingStore?.Set("additionalMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ChatMessage AdditionalMessage + { + get { return BackingStore?.Get("additionalMessage"); } + set { BackingStore?.Set("additionalMessage", value); } + } +#endif + /// 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 targetChatIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? TargetChatIds + { + get { return BackingStore?.Get?>("targetChatIds"); } + set { BackingStore?.Set("targetChatIds", value); } + } +#nullable restore +#else + public List TargetChatIds + { + get { return BackingStore?.Get>("targetChatIds"); } + set { BackingStore?.Set("targetChatIds", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ForwardToChatPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "additionalMessage", n => { AdditionalMessage = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "targetChatIds", n => { TargetChatIds = 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.WriteObjectValue("additionalMessage", AdditionalMessage); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteCollectionOfPrimitiveValues("targetChatIds", TargetChatIds); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatPostResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatPostResponse.cs new file mode 100644 index 000000000000..ef75d768411d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ForwardToChatPostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + 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/Users/Item/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatRequestBuilder.cs new file mode 100644 index 000000000000..17367b70c777 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat +{ + /// + /// Provides operations to call the forwardToChat method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ForwardToChatRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ForwardToChatRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/forwardToChat", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ForwardToChatRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/forwardToChat", rawUrl) + { + } + /// + /// Forward a chat message, a channel message, or a channel message reply to 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 PostAsForwardToChatPostResponseAsync(global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsForwardToChatPostResponseAsync(global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Forward a chat message, a channel message, or a channel message reply to 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 + [Obsolete("This method is obsolete. Use PostAsForwardToChatPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Forward a chat message, a channel message, or a channel message reply to 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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ForwardToChatRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatResponse.cs new file mode 100644 index 000000000000..b173a38e319e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/ForwardToChat/ForwardToChatResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat +{ + [Obsolete("This class is obsolete. Use ForwardToChatPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ForwardToChatResponse : global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..8366e1add2ad --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs @@ -0,0 +1,259 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents; +using Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction; +using Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete; +using Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete; +using Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder HostedContents + { + get => new global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the softDelete method. + public global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder SoftDelete + { + get => new global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the undoSoftDelete method. + public global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder UndoSoftDelete + { + get => new global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Users.Item.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}/users/{user%2Did}/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}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property replies for users + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property replies in users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property replies for users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// 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 users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.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/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..3adfef9d733f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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}/users/{user%2Did}/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}/users/{user%2Did}/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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.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/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs new file mode 100644 index 000000000000..0bdbdd6ebafa --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count; +using Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Users.Item.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.Beta.Users.Item.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.Beta.Users.Item.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}/users/{user%2Did}/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}/users/{user%2Did}/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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to hostedContents for users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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 users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.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/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs new file mode 100644 index 000000000000..e46c692555db --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.Beta.Users.Item.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}/users/{user%2Did}/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}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property hostedContents for users + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property hostedContents in users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property hostedContents for users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// 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 users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.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/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs new file mode 100644 index 000000000000..9edac51709c9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -0,0 +1,201 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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}/users/{user%2Did}/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}/users/{user%2Did}/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.Beta.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.Beta.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.Beta.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.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/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..c7292ded1b90 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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.Beta.Users.Item.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.Beta.Users.Item.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/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..d42f49316701 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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}/users/{user%2Did}/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}/users/{user%2Did}/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.Beta.Users.Item.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.Beta.Users.Item.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.Beta.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.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/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs new file mode 100644 index 000000000000..6d330768e205 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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}/users/{user%2Did}/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}/users/{user%2Did}/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.Beta.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.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/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs new file mode 100644 index 000000000000..f0525804b10a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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}/users/{user%2Did}/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}/users/{user%2Did}/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.Beta.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.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/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..592ecc90c234 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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.Beta.Users.Item.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.Beta.Users.Item.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/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..83751ee1b4d0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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}/users/{user%2Did}/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}/users/{user%2Did}/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.Beta.Users.Item.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.Beta.Users.Item.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.Beta.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.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/Users/Item/Chats/Item/TargetedMessages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/RepliesRequestBuilder.cs new file mode 100644 index 000000000000..9f0cac75e913 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/RepliesRequestBuilder.cs @@ -0,0 +1,256 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count; +using Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta; +using Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat; +using Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item; +using Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the delta method. + public global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder Delta + { + get => new global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the forwardToChat method. + public global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatRequestBuilder ForwardToChat + { + get => new global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Beta.Users.Item.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.Beta.Users.Item.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.Beta.Users.Item.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}/users/{user%2Did}/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}/users/{user%2Did}/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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to replies for users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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 users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.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/Users/Item/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 000000000000..8c208df5e9eb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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.Beta.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.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.Beta.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/Users/Item/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 000000000000..0118d3ed653e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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}/users/{user%2Did}/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}/users/{user%2Did}/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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.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/Users/Item/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..ae2b49a989b3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents; +using Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder HostedContents + { + get => new global::Microsoft.Graph.Beta.Users.Item.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder Replies + { + get => new global::Microsoft.Graph.Beta.Users.Item.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}/users/{user%2Did}/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}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property targetedMessages for users + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get targetedMessages from users + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property targetedMessages in users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.TargetedChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property targetedMessages for users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get targetedMessages from users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property targetedMessages in users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.TargetedChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.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 + { + } + /// + /// Get targetedMessages from users + /// + [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/Users/Item/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs new file mode 100644 index 000000000000..579abcef0849 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Count; +using Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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.Beta.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Users.Item.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.Beta.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("targetedChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Users.Item.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}/users/{user%2Did}/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}/users/{user%2Did}/chats/{chat%2Did}/targetedMessages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get targetedMessages from users + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TargetedChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to targetedMessages for users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.TargetedChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get targetedMessages from users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to targetedMessages for users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.TargetedChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.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.Beta.Users.Item.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get targetedMessages from users + /// + [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/Users/Item/EmployeeExperience/EmployeeExperienceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/EmployeeExperienceRequestBuilder.cs index c37065552d07..cf8bb44cf058 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/EmployeeExperienceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/EmployeeExperienceRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Users.Item.EmployeeExperience.AssignedRoles; using Microsoft.Graph.Beta.Users.Item.EmployeeExperience.LearningCourseActivities; using Microsoft.Graph.Beta.Users.Item.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId; +using Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -31,6 +32,11 @@ public partial class EmployeeExperienceRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.LearningCourseActivities.LearningCourseActivitiesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the storyline property of the microsoft.graph.employeeExperienceUser entity. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.StorylineRequestBuilder Storyline + { + get => new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.StorylineRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// @@ -70,7 +76,7 @@ public async Task DeleteAsync(Action - /// Get employeeExperience from users + /// The employee experience resources for the user. Read-only. Nullable. /// /// A /// Cancellation token to use when cancelling requests @@ -147,7 +153,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get employeeExperience from users + /// The employee experience resources for the user. Read-only. Nullable. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -205,7 +211,7 @@ public partial class EmployeeExperienceRequestBuilderDeleteRequestConfiguration { } /// - /// Get employeeExperience from users + /// The employee experience resources for the user. Read-only. Nullable. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class EmployeeExperienceRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/Storyline/Followers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/Storyline/Followers/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..63303224ddca --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/Storyline/Followers/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/storyline/followers/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/storyline/followers/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/Storyline/Followers/FollowersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/Storyline/Followers/FollowersRequestBuilder.cs new file mode 100644 index 000000000000..b55a26d95070 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/Storyline/Followers/FollowersRequestBuilder.cs @@ -0,0 +1,239 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Count; +using Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers +{ + /// + /// Provides operations to manage the followers property of the microsoft.graph.storyline entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FollowersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the followers property of the microsoft.graph.storyline entity. + /// The unique identifier of storylineFollower + /// A + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("storylineFollower%2Did", position); + return new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder(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 FollowersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/storyline/followers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public FollowersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/storyline/followers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Retrieve a list of users who are following a specified user's storyline. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.StorylineFollowerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to followers for users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.StorylineFollower body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.StorylineFollower body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.StorylineFollower.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Retrieve a list of users who are following a specified user's storyline. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 followers for users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.StorylineFollower body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.StorylineFollower body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.FollowersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.FollowersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Retrieve a list of users who are following a specified user's storyline. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FollowersRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FollowersRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FollowersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/Storyline/Followers/Item/StorylineFollowerItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/Storyline/Followers/Item/StorylineFollowerItemRequestBuilder.cs new file mode 100644 index 000000000000..2c78185210cb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/Storyline/Followers/Item/StorylineFollowerItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Item +{ + /// + /// Provides operations to manage the followers property of the microsoft.graph.storyline entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineFollowerItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public StorylineFollowerItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/storyline/followers/{storylineFollower%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 StorylineFollowerItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/storyline/followers/{storylineFollower%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property followers for users + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The users who are following 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.StorylineFollower.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property followers in users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.StorylineFollower body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.StorylineFollower body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.StorylineFollower.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property followers for users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The users who are following 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 followers in users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.StorylineFollower body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.StorylineFollower body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineFollowerItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The users who are following this user. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineFollowerItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineFollowerItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineFollowerItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/Storyline/Followings/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/Storyline/Followings/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..536fa730d128 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/Storyline/Followings/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/storyline/followings/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/storyline/followings/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/Storyline/Followings/FollowingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/Storyline/Followings/FollowingsRequestBuilder.cs new file mode 100644 index 000000000000..d67ac637b050 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/Storyline/Followings/FollowingsRequestBuilder.cs @@ -0,0 +1,239 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Count; +using Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings +{ + /// + /// Provides operations to manage the followings property of the microsoft.graph.storyline entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FollowingsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the followings property of the microsoft.graph.storyline entity. + /// The unique identifier of storylineFollowing + /// A + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("storylineFollowing%2Did", position); + return new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder(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 FollowingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/storyline/followings{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public FollowingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/storyline/followings{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Retrieve a list of users whose storyline the specified user is currently following. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.StorylineFollowingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to followings for users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.StorylineFollowing body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.StorylineFollowing body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.StorylineFollowing.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Retrieve a list of users whose storyline the specified user is currently following. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 followings for users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.StorylineFollowing body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.StorylineFollowing body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.FollowingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.FollowingsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Retrieve a list of users whose storyline the specified user is currently following. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FollowingsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FollowingsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FollowingsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/Storyline/Followings/Item/StorylineFollowingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/Storyline/Followings/Item/StorylineFollowingItemRequestBuilder.cs new file mode 100644 index 000000000000..fc5bfbcb1066 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/Storyline/Followings/Item/StorylineFollowingItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Item +{ + /// + /// Provides operations to manage the followings property of the microsoft.graph.storyline entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineFollowingItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public StorylineFollowingItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/storyline/followings/{storylineFollowing%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 StorylineFollowingItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/storyline/followings/{storylineFollowing%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property followings for users + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The users that this user is following. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.StorylineFollowing.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property followings in users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.StorylineFollowing body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.StorylineFollowing body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.StorylineFollowing.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property followings for users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The users that this user is following. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 followings in users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.StorylineFollowing body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.StorylineFollowing body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineFollowingItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The users that this user is following. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineFollowingItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineFollowingItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineFollowingItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/Storyline/StorylineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/Storyline/StorylineRequestBuilder.cs new file mode 100644 index 000000000000..f47b38aebdb0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/Storyline/StorylineRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers; +using Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline +{ + /// + /// Provides operations to manage the storyline property of the microsoft.graph.employeeExperienceUser entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the followers property of the microsoft.graph.storyline entity. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.FollowersRequestBuilder Followers + { + get => new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.FollowersRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the followings property of the microsoft.graph.storyline entity. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.FollowingsRequestBuilder Followings + { + get => new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.FollowingsRequestBuilder(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 StorylineRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/storyline{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public StorylineRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/employeeExperience/storyline{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property storyline for users + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The user's storyline for following and engagement features. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Storyline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property storyline in users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Storyline body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Storyline body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Storyline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property storyline for users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The user's storyline for following and engagement features. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 storyline in users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Storyline body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Storyline body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.StorylineRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.StorylineRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The user's storyline for following and engagement features. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StorylineRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Count/CountRequestBuilder.cs index 2a4e8dff62ee..99ed01738852 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Count/CountRequestBuilder.cs @@ -40,6 +40,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("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) @@ -61,6 +62,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// /// 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) @@ -80,6 +82,7 @@ public RequestInformation ToGetRequestInformation(Action /// 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.Beta.Users.Item.Insights.Shared.Count.CountRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Users.Item.Insights.Shared.Count.CountRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.cs index e52c39f3c2b5..d83ca55f1372 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.cs @@ -41,6 +41,7 @@ public LastSharedMethodRequestBuilder(string rawUrl, IRequestAdapter requestAdap /// Cancellation token to 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) @@ -62,6 +63,7 @@ public LastSharedMethodRequestBuilder(string rawUrl, IRequestAdapter requestAdap /// /// 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) @@ -81,6 +83,7 @@ public RequestInformation ToGetRequestInformation(Action /// 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.Beta.Users.Item.Insights.Shared.Item.LastSharedMethod.LastSharedMethodRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Users.Item.Insights.Shared.Item.LastSharedMethod.LastSharedMethodRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/Resource/ResourceRequestBuilder.cs index 8ed36fc38f34..45da5f6166e1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/Resource/ResourceRequestBuilder.cs @@ -41,6 +41,7 @@ public ResourceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// Cancellation token to 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) @@ -62,6 +63,7 @@ public ResourceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// /// 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) @@ -81,6 +83,7 @@ public RequestInformation ToGetRequestInformation(Action /// 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.Beta.Users.Item.Insights.Shared.Item.Resource.ResourceRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Users.Item.Insights.Shared.Item.Resource.ResourceRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs index 673df9ab7418..7e3cc916fa61 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs @@ -21,11 +21,13 @@ namespace Microsoft.Graph.Beta.Users.Item.Insights.Shared.Item 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.Beta.Users.Item.Insights.Shared.Item.LastSharedMethod.LastSharedMethodRequestBuilder LastSharedMethod { get => new global::Microsoft.Graph.Beta.Users.Item.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.Beta.Users.Item.Insights.Shared.Item.Resource.ResourceRequestBuilder Resource { get => new global::Microsoft.Graph.Beta.Users.Item.Insights.Shared.Item.Resource.ResourceRequestBuilder(PathParameters, RequestAdapter); @@ -52,6 +54,7 @@ public SharedInsightItemRequestBuilder(string rawUrl, IRequestAdapter requestAda /// Cancellation token to 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) @@ -75,6 +78,7 @@ public async Task DeleteAsync(ActionCancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("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) @@ -99,6 +103,7 @@ public async Task DeleteAsync(ActionCancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("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.Beta.Models.SharedInsight body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -121,6 +126,7 @@ public async Task DeleteAsync(Action /// 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) @@ -140,6 +146,7 @@ public RequestInformation ToDeleteRequestInformation(Action /// 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) @@ -160,6 +167,7 @@ public RequestInformation ToGetRequestInformation(ActionA /// 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.Beta.Models.SharedInsight body, Action>? requestConfiguration = default) @@ -181,6 +189,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta /// /// 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.Beta.Users.Item.Insights.Shared.Item.SharedInsightItemRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Users.Item.Insights.Shared.Item.SharedInsightItemRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/SharedRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/SharedRequestBuilder.cs index 9d4e1ce0ad0b..a400d27bff41 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/SharedRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/SharedRequestBuilder.cs @@ -21,6 +21,7 @@ namespace Microsoft.Graph.Beta.Users.Item.Insights.Shared 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.Beta.Users.Item.Insights.Shared.Count.CountRequestBuilder Count { get => new global::Microsoft.Graph.Beta.Users.Item.Insights.Shared.Count.CountRequestBuilder(PathParameters, RequestAdapter); @@ -28,6 +29,7 @@ public partial class SharedRequestBuilder : BaseRequestBuilder /// 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.Beta.Users.Item.Insights.Shared.Item.SharedInsightItemRequestBuilder this[string position] { get @@ -60,6 +62,7 @@ public SharedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// Cancellation token to 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) @@ -84,6 +87,7 @@ public SharedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// Cancellation token to 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.Beta.Models.SharedInsight body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -106,6 +110,7 @@ public SharedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// /// 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) @@ -126,6 +131,7 @@ public RequestInformation ToGetRequestInformation(ActionA /// 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.Beta.Models.SharedInsight body, Action>? requestConfiguration = default) @@ -147,6 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. /// /// 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.Beta.Users.Item.Insights.Shared.SharedRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Users.Item.Insights.Shared.SharedRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Count/CountRequestBuilder.cs index 81906dcc5639..d5d1ffb247a2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Count/CountRequestBuilder.cs @@ -40,6 +40,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("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) @@ -61,6 +62,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// /// 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) @@ -80,6 +82,7 @@ public RequestInformation ToGetRequestInformation(Action /// 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.Beta.Users.Item.Insights.Used.Count.CountRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Users.Item.Insights.Used.Count.CountRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Item/Resource/ResourceRequestBuilder.cs index a82311e76258..2879d7624095 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Item/Resource/ResourceRequestBuilder.cs @@ -41,6 +41,7 @@ public ResourceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// Cancellation token to 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) @@ -62,6 +63,7 @@ public ResourceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// /// 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) @@ -81,6 +83,7 @@ public RequestInformation ToGetRequestInformation(Action /// 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.Beta.Users.Item.Insights.Used.Item.Resource.ResourceRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Users.Item.Insights.Used.Item.Resource.ResourceRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Item/UsedInsightItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Item/UsedInsightItemRequestBuilder.cs index e7fbd593562d..b635e3c8c0cb 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Item/UsedInsightItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Item/UsedInsightItemRequestBuilder.cs @@ -20,6 +20,7 @@ namespace Microsoft.Graph.Beta.Users.Item.Insights.Used.Item 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.Beta.Users.Item.Insights.Used.Item.Resource.ResourceRequestBuilder Resource { get => new global::Microsoft.Graph.Beta.Users.Item.Insights.Used.Item.Resource.ResourceRequestBuilder(PathParameters, RequestAdapter); @@ -46,6 +47,7 @@ public UsedInsightItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapt /// Cancellation token to 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) @@ -69,6 +71,7 @@ public async Task DeleteAsync(ActionCancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("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) @@ -93,6 +96,7 @@ public async Task DeleteAsync(ActionCancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("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.Beta.Models.UsedInsight body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -115,6 +119,7 @@ public async Task DeleteAsync(Action /// 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) @@ -134,6 +139,7 @@ public RequestInformation ToDeleteRequestInformation(Action /// 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) @@ -154,6 +160,7 @@ public RequestInformation ToGetRequestInformation(ActionA /// 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.Beta.Models.UsedInsight body, Action>? requestConfiguration = default) @@ -175,6 +182,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta /// /// 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.Beta.Users.Item.Insights.Used.Item.UsedInsightItemRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Users.Item.Insights.Used.Item.UsedInsightItemRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/UsedRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/UsedRequestBuilder.cs index f7330c982106..03407d734806 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/UsedRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/UsedRequestBuilder.cs @@ -21,6 +21,7 @@ namespace Microsoft.Graph.Beta.Users.Item.Insights.Used 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.Beta.Users.Item.Insights.Used.Count.CountRequestBuilder Count { get => new global::Microsoft.Graph.Beta.Users.Item.Insights.Used.Count.CountRequestBuilder(PathParameters, RequestAdapter); @@ -28,6 +29,7 @@ public partial class UsedRequestBuilder : BaseRequestBuilder /// 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.Beta.Users.Item.Insights.Used.Item.UsedInsightItemRequestBuilder this[string position] { get @@ -60,6 +62,7 @@ public UsedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("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) @@ -84,6 +87,7 @@ public UsedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("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.Beta.Models.UsedInsight body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -106,6 +110,7 @@ public UsedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( /// /// 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) @@ -126,6 +131,7 @@ public RequestInformation ToGetRequestInformation(ActionA /// 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.Beta.Models.UsedInsight body, Action>? requestConfiguration = default) @@ -147,6 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. /// /// 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.Beta.Users.Item.Insights.Used.UsedRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Users.Item.Insights.Used.UsedRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs index a0242e8342d9..38873164bd23 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs @@ -38,16 +38,21 @@ using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement; using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RequestRemoteAssistance; using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ResetPasscode; +using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RestoreManagedHomeScreen; using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.Retire; +using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail; using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail; +using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode; using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RevokeAppleVppLicenses; using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateBitLockerKeys; using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateFileVaultKey; using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateLocalAdminPassword; +using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateRecoveryLockPasscode; using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SecurityBaselineStates; using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SendCustomNotificationToCompanyPortal; using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SetDeviceName; using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ShutDown; +using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen; using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SyncDevice; using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.TriggerConfigurationManagerAction; using Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.UpdateWindowsDeviceAccount; @@ -252,16 +257,31 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ResetPasscode.ResetPasscodeRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the restoreManagedHomeScreen method. + public global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RestoreManagedHomeScreen.RestoreManagedHomeScreenRequestBuilder RestoreManagedHomeScreen + { + get => new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RestoreManagedHomeScreen.RestoreManagedHomeScreenRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the retire method. public global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.Retire.RetireRequestBuilder Retire { get => new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.Retire.RetireRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the retrieveDeviceLocalAdminAccountDetail method. + public global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.RetrieveDeviceLocalAdminAccountDetailRequestBuilder RetrieveDeviceLocalAdminAccountDetail + { + get => new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.RetrieveDeviceLocalAdminAccountDetailRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the retrieveMacOSManagedDeviceLocalAdminAccountDetail method. public global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.RetrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder RetrieveMacOSManagedDeviceLocalAdminAccountDetail { get => new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.RetrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the retrieveRecoveryLockPasscode method. + public global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeRequestBuilder RetrieveRecoveryLockPasscode + { + get => new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the revokeAppleVppLicenses method. public global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RevokeAppleVppLicenses.RevokeAppleVppLicensesRequestBuilder RevokeAppleVppLicenses { @@ -282,6 +302,11 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateLocalAdminPassword.RotateLocalAdminPasswordRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the rotateRecoveryLockPasscode method. + public global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder RotateRecoveryLockPasscode + { + get => new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the securityBaselineStates property of the microsoft.graph.managedDevice entity. public global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SecurityBaselineStates.SecurityBaselineStatesRequestBuilder SecurityBaselineStates { @@ -302,6 +327,11 @@ public partial class ManagedDeviceItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ShutDown.ShutDownRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the suspendManagedHomeScreen method. + public global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenRequestBuilder SuspendManagedHomeScreen + { + get => new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the syncDevice method. public global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SyncDevice.SyncDeviceRequestBuilder SyncDevice { diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RestoreManagedHomeScreen/RestoreManagedHomeScreenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RestoreManagedHomeScreen/RestoreManagedHomeScreenRequestBuilder.cs new file mode 100644 index 000000000000..d8de4dec6d7d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RestoreManagedHomeScreen/RestoreManagedHomeScreenRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RestoreManagedHomeScreen +{ + /// + /// Provides operations to call the restoreManagedHomeScreen method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreManagedHomeScreenRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreManagedHomeScreenRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/restoreManagedHomeScreen", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreManagedHomeScreenRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/restoreManagedHomeScreen", rawUrl) + { + } + /// + /// Restore Managed Home Screen + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore Managed Home Screen + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RestoreManagedHomeScreen.RestoreManagedHomeScreenRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RestoreManagedHomeScreen.RestoreManagedHomeScreenRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreManagedHomeScreenRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RetrieveDeviceLocalAdminAccountDetail/RetrieveDeviceLocalAdminAccountDetailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RetrieveDeviceLocalAdminAccountDetail/RetrieveDeviceLocalAdminAccountDetailRequestBuilder.cs new file mode 100644 index 000000000000..5f8b2e7a820f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RetrieveDeviceLocalAdminAccountDetail/RetrieveDeviceLocalAdminAccountDetailRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail +{ + /// + /// Provides operations to call the retrieveDeviceLocalAdminAccountDetail method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveDeviceLocalAdminAccountDetailRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RetrieveDeviceLocalAdminAccountDetailRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/retrieveDeviceLocalAdminAccountDetail()", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RetrieveDeviceLocalAdminAccountDetailRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/retrieveDeviceLocalAdminAccountDetail()", rawUrl) + { + } + /// + /// Invoke function retrieveDeviceLocalAdminAccountDetail + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DeviceLocalAdminAccountDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function retrieveDeviceLocalAdminAccountDetail + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.RetrieveDeviceLocalAdminAccountDetailRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.RetrieveDeviceLocalAdminAccountDetailRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveDeviceLocalAdminAccountDetailRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeGetResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeGetResponse.cs new file mode 100644 index 000000000000..d4f33e2aee54 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeGetResponse.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RetrieveRecoveryLockPasscodeGetResponse : 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 RetrieveRecoveryLockPasscodeGetResponse() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse(); + } + /// + /// 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/Users/Item/ManagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeRequestBuilder.cs new file mode 100644 index 000000000000..a589ef35ff91 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeRequestBuilder.cs @@ -0,0 +1,121 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode +{ + /// + /// Provides operations to call the retrieveRecoveryLockPasscode method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveRecoveryLockPasscodeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RetrieveRecoveryLockPasscodeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/retrieveRecoveryLockPasscode()", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RetrieveRecoveryLockPasscodeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/retrieveRecoveryLockPasscode()", rawUrl) + { + } + /// + /// Invoke function retrieveRecoveryLockPasscode + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsRetrieveRecoveryLockPasscodeGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsRetrieveRecoveryLockPasscodeGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function retrieveRecoveryLockPasscode + /// + /// A + /// Cancellation token to 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 GetAsRetrieveRecoveryLockPasscodeGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function retrieveRecoveryLockPasscode + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveRecoveryLockPasscodeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeResponse.cs new file mode 100644 index 000000000000..c0fef9282628 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RetrieveRecoveryLockPasscode/RetrieveRecoveryLockPasscodeResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode +{ + [Obsolete("This class is obsolete. Use RetrieveRecoveryLockPasscodeGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RetrieveRecoveryLockPasscodeResponse : global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RotateRecoveryLockPasscode/RotateRecoveryLockPasscodeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RotateRecoveryLockPasscode/RotateRecoveryLockPasscodeRequestBuilder.cs new file mode 100644 index 000000000000..bb4b9762a396 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RotateRecoveryLockPasscode/RotateRecoveryLockPasscodeRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateRecoveryLockPasscode +{ + /// + /// Provides operations to call the rotateRecoveryLockPasscode method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RotateRecoveryLockPasscodeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RotateRecoveryLockPasscodeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/rotateRecoveryLockPasscode", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RotateRecoveryLockPasscodeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/rotateRecoveryLockPasscode", rawUrl) + { + } + /// + /// Rotates the recovery lock passcode for the specified macOS 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Rotates the recovery lock passcode for the specified macOS 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.Beta.Users.Item.ManagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RotateRecoveryLockPasscodeRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/SuspendManagedHomeScreen/SuspendManagedHomeScreenPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/SuspendManagedHomeScreen/SuspendManagedHomeScreenPostRequestBody.cs new file mode 100644 index 000000000000..955c069e88fd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/SuspendManagedHomeScreen/SuspendManagedHomeScreenPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SuspendManagedHomeScreenPostRequestBody : 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 timeoutMinutes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TimeoutMinutes + { + get { return BackingStore?.Get("timeoutMinutes"); } + set { BackingStore?.Set("timeoutMinutes", value); } + } +#nullable restore +#else + public string TimeoutMinutes + { + get { return BackingStore?.Get("timeoutMinutes"); } + set { BackingStore?.Set("timeoutMinutes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SuspendManagedHomeScreenPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "timeoutMinutes", n => { TimeoutMinutes = 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("timeoutMinutes", TimeoutMinutes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/SuspendManagedHomeScreen/SuspendManagedHomeScreenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/SuspendManagedHomeScreen/SuspendManagedHomeScreenRequestBuilder.cs new file mode 100644 index 000000000000..0402c39cd3c4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/SuspendManagedHomeScreen/SuspendManagedHomeScreenRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen +{ + /// + /// Provides operations to call the suspendManagedHomeScreen method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SuspendManagedHomeScreenRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SuspendManagedHomeScreenRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/suspendManagedHomeScreen", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SuspendManagedHomeScreenRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/suspendManagedHomeScreen", rawUrl) + { + } + /// + /// Temporarily suspend Managed Home Screen + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Temporarily suspend Managed Home Screen + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SuspendManagedHomeScreenRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..38322316c8c3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.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}/users/{user%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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}/users/{user%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..94159b785d1d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for users + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read-only. Nullable. Chat messages associated with 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 messages in users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..b516c853f39d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..b54c49e94933 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.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}/users/{user%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/users/{user%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..19cc6ea7b04f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..b2a42ef538eb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.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}/users/{user%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/users/{user%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.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.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.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/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..518aa28f8739 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/users/{user%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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}/users/{user%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 87b2fc456ae0..62257b29c1f5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..6921107f3e1c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.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}/users/{user%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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}/users/{user%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.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/Users/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..02a03439db66 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for users + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read-only. Nullable. Chat messages associated with 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 messages in users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..13f144a18bb1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.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.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.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/Users/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..6f47532c1b3e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.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}/users/{user%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/users/{user%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.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.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.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/Users/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..5ef68f3c0c44 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.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.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.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/Users/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..12838a795e7f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.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}/users/{user%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/users/{user%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.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.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.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/Users/Item/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..0fc18196142c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/users/{user%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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}/users/{user%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/Users/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 1359b6bcdcaa..6f39e5c5d03f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Details; +using Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages; using Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..04d3e4ff42c4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Tasks.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}/users/{user%2Did}/planner/tasks/{plannerTask%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}/users/{user%2Did}/planner/tasks/{plannerTask%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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks.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/Users/Item/Planner/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..656ee773f99a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/Messages/Item/PlannerTaskChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction; +using Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks.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 PlannerTaskChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/planner/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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 PlannerTaskChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/planner/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for users + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read-only. Nullable. Chat messages associated with 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 messages in users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 000000000000..0683cfddb773 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Tasks.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.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks.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/Users/Item/Planner/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 000000000000..970154dd5980 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Tasks.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}/users/{user%2Did}/planner/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/users/{user%2Did}/planner/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Set a reaction to a plannerTaskChatMessage for the current 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.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks.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.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks.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/Users/Item/Planner/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 000000000000..1cb738f2eb23 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Tasks.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.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks.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/Users/Item/Planner/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 000000000000..d37f77ee666a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Tasks.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}/users/{user%2Did}/planner/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%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}/users/{user%2Did}/planner/tasks/{plannerTask%2Did}/messages/{plannerTaskChatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a reaction from a plannerTaskChatMessage for the current 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.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks.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.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks.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/Users/Item/Planner/Tasks/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..999f526e28e5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Count; +using Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask 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.Beta.Users.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + /// The unique identifier of plannerTaskChatMessage + /// A + public global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerTaskChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder(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}/users/{user%2Did}/planner/tasks/{plannerTask%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}/users/{user%2Did}/planner/tasks/{plannerTask%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. Chat messages associated with 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. Chat messages associated with 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; + } + /// + /// Create new navigation property to messages for users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerTaskChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. Chat messages associated with the task. + /// + [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/Users/Item/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 6ca12878f4cb..9d32fe836e55 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.AssignedToTaskBoardFormat; using Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.BucketTaskBoardFormat; using Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Details; +using Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages; using Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.ProgressTaskBoardFormat; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -37,6 +38,11 @@ public partial class PlannerTaskItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the messages property of the microsoft.graph.plannerTask entity. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the progressTaskBoardFormat property of the microsoft.graph.plannerTask entity. public global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder ProgressTaskBoardFormat { diff --git a/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Item/DirectoryObjectItemRequestBuilder.cs index 9413d3727469..a4180026f67d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Item/DirectoryObjectItemRequestBuilder.cs @@ -1,29 +1,31 @@ // #pragma warning disable CS0618 -using Microsoft.Graph.Beta.Models.ODataErrors; -using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Sponsors.Item.Ref; using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; -using System.Threading; using System; namespace Microsoft.Graph.Beta.Users.Item.Sponsors.Item { /// - /// Provides operations to manage the sponsors property of the microsoft.graph.user entity. + /// Builds and executes requests for operations under \users\{user-id}\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.Beta.Users.Item.Sponsors.Item.Ref.RefRequestBuilder Ref + { + get => new global::Microsoft.Graph.Beta.Users.Item.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}/users/{user%2Did}/sponsors/{directoryObject%2Did}{?%24expand,%24select}", pathParameters) + public DirectoryObjectItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/{directoryObject%2Did}", pathParameters) { } /// @@ -31,93 +33,7 @@ public DirectoryObjectItemRequestBuilder(Dictionary pathParamete /// /// 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}/users/{user%2Did}/sponsors/{directoryObject%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// The users and groups responsible for this guest user's privileges in the tenant and keep the guest user'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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The users and groups responsible for this guest user's privileges in the tenant and keep the guest user'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.Beta.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Beta.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The users and groups responsible for this guest user's privileges in the tenant and keep the guest user's information and access updated. (HTTP Methods: GET, POST, DELETE.). 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 + public DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/{directoryObject%2Did}", rawUrl) { } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Item/Ref/RefRequestBuilder.cs new file mode 100644 index 000000000000..b8876bcdf2fa --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Item/Ref/RefRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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}/users/{user%2Did}/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}/users/{user%2Did}/sponsors/{directoryObject%2Did}/$ref", rawUrl) + { + } + /// + /// Remove an agentUser's sponsor. + /// 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove an agentUser's sponsor. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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.Beta.Users.Item.Sponsors.Item.Ref.RefRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.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/Users/Item/Sponsors/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Ref/RefRequestBuilder.cs new file mode 100644 index 000000000000..f1c3367251f7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Ref/RefRequestBuilder.cs @@ -0,0 +1,267 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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}/users/{user%2Did}/sponsors/$ref?@id={%40id}{&%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}/users/{user%2Did}/sponsors/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + { + } + /// + /// Remove an agentUser's sponsor. + /// 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get an agentUser's sponsors. Sponsors are users and groups that are responsible for this agent user's privileges in the tenant and for keeping the agent user's information and access up to date. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Assign an agentUser a sponsor. Sponsors are users and groups that are responsible for this agent user's privileges in the tenant and for keeping the agent user's information and access up to date. + /// Find more info here + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ReferenceCreate body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove an agentUser's sponsor. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#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}/users/{user%2Did}/sponsors/$ref?@id={%40id}", PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get an agentUser's sponsors. Sponsors are users and groups that are responsible for this agent user's privileges in the tenant and for keeping the agent user's information and access up to 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 ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/users/{user%2Did}/sponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Assign an agentUser a sponsor. Sponsors are users and groups that are responsible for this agent user's privileges in the tenant and for keeping the agent user's information and access up to date. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ReferenceCreate body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ReferenceCreate body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/users/{user%2Did}/sponsors/$ref", PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Sponsors.Ref.RefRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Sponsors.Ref.RefRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Remove an agentUser's sponsor. + /// + [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 + { + } + /// + /// Get an agentUser's sponsors. Sponsors are users and groups that are responsible for this agent user's privileges in the tenant and for keeping the agent user's information and access up to date. + /// + [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/Users/Item/Sponsors/SponsorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/SponsorsRequestBuilder.cs index cbdb3f3b59fa..606f46205c34 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Sponsors/SponsorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/SponsorsRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.Users.Item.Sponsors.Count; using Microsoft.Graph.Beta.Users.Item.Sponsors.Item; +using Microsoft.Graph.Beta.Users.Item.Sponsors.Ref; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -25,7 +26,12 @@ public partial class SponsorsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.Sponsors.Count.CountRequestBuilder(PathParameters, RequestAdapter); } - /// Provides operations to manage the sponsors property of the microsoft.graph.user entity. + /// Provides operations to manage the collection of user entities. + public global::Microsoft.Graph.Beta.Users.Item.Sponsors.Ref.RefRequestBuilder Ref + { + get => new global::Microsoft.Graph.Beta.Users.Item.Sponsors.Ref.RefRequestBuilder(PathParameters, RequestAdapter); + } + /// Gets an item from the Microsoft.Graph.Beta.users.item.sponsors.item collection /// The unique identifier of directoryObject /// A public global::Microsoft.Graph.Beta.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder this[string position] diff --git a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/DeleteTargetedMessage/DeleteTargetedMessagePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/DeleteTargetedMessage/DeleteTargetedMessagePostRequestBody.cs new file mode 100644 index 000000000000..18ee27ed1f61 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/DeleteTargetedMessage/DeleteTargetedMessagePostRequestBody.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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.Beta.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.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/Users/Item/Teamwork/DeleteTargetedMessage/DeleteTargetedMessageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/DeleteTargetedMessage/DeleteTargetedMessageRequestBuilder.cs new file mode 100644 index 000000000000..6d53a204b897 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/DeleteTargetedMessage/DeleteTargetedMessageRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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}/users/{user%2Did}/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}/users/{user%2Did}/teamwork/deleteTargetedMessage", rawUrl) + { + } + /// + /// Invoke action deleteTargetedMessage + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action deleteTargetedMessage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.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.Beta.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.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/Users/Item/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesGetResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesGetResponse.cs new file mode 100644 index 000000000000..72c896d0b038 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllRetainedTargetedMessagesGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.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.Beta.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/Users/Item/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesRequestBuilder.cs new file mode 100644 index 000000000000..ba0f673debd4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesRequestBuilder.cs @@ -0,0 +1,187 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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}/users/{user%2Did}/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}/users/{user%2Did}/teamwork/getAllRetainedTargetedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Invoke function getAllRetainedTargetedMessages + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllRetainedTargetedMessages + /// + /// A + /// Cancellation token to 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllRetainedTargetedMessages + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function getAllRetainedTargetedMessages + /// + [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/Users/Item/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesResponse.cs new file mode 100644 index 000000000000..562b3bfccec5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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.Beta.Users.Item.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.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesGetResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesGetResponse.cs new file mode 100644 index 000000000000..bf16b16c07ed --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllTargetedMessagesGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.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.Beta.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/Users/Item/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesRequestBuilder.cs new file mode 100644 index 000000000000..a7d4e509a1e5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesRequestBuilder.cs @@ -0,0 +1,187 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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}/users/{user%2Did}/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}/users/{user%2Did}/teamwork/getAllTargetedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Invoke function getAllTargetedMessages + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllTargetedMessages + /// + /// A + /// Cancellation token to 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAllTargetedMessages + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function getAllTargetedMessages + /// + [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/Users/Item/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesResponse.cs new file mode 100644 index 000000000000..d57f6203f575 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.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.Beta.Users.Item.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.Beta.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/TeamworkRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/TeamworkRequestBuilder.cs index 7e5bf2a4b962..aa2253713453 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/TeamworkRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/TeamworkRequestBuilder.cs @@ -3,6 +3,9 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.Users.Item.Teamwork.AssociatedTeams; +using Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage; +using Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages; +using Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages; using Microsoft.Graph.Beta.Users.Item.Teamwork.InstalledApps; using Microsoft.Graph.Beta.Users.Item.Teamwork.SendActivityNotification; using Microsoft.Kiota.Abstractions.Extensions; @@ -26,6 +29,21 @@ public partial class TeamworkRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.Teamwork.AssociatedTeams.AssociatedTeamsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the deleteTargetedMessage method. + public global::Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder DeleteTargetedMessage + { + get => new global::Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the getAllRetainedTargetedMessages method. + public global::Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder GetAllRetainedTargetedMessages + { + get => new global::Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the getAllTargetedMessages method. + public global::Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder GetAllTargetedMessages + { + get => new global::Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the installedApps property of the microsoft.graph.userTeamwork entity. public global::Microsoft.Graph.Beta.Users.Item.Teamwork.InstalledApps.InstalledAppsRequestBuilder InstalledApps { diff --git a/src/Microsoft.Graph/Generated/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index 4b14c5eccc76..ab659a24c924 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -12183,6 +12183,7 @@ Microsoft.Graph.Beta.Chats.Item.ChatItemRequestBuilder::|public|removeAllAccessF Microsoft.Graph.Beta.Chats.Item.ChatItemRequestBuilder::|public|sendActivityNotification:global.Microsoft.Graph.Beta.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder Microsoft.Graph.Beta.Chats.Item.ChatItemRequestBuilder::|public|startMigration:global.Microsoft.Graph.Beta.Chats.Item.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.Chats.Item.ChatItemRequestBuilder::|public|tabs:global.Microsoft.Graph.Beta.Chats.Item.Tabs.TabsRequestBuilder +Microsoft.Graph.Beta.Chats.Item.ChatItemRequestBuilder::|public|targetedMessages:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder Microsoft.Graph.Beta.Chats.Item.ChatItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Chats.Item.ChatItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Chats.Item.ChatItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Chat; requestConfiguration?:Action>):RequestInformation @@ -13116,6 +13117,328 @@ Microsoft.Graph.Beta.Chats.Item.Tabs.tabsRequestBuilder::|public|PostAsync(body: Microsoft.Graph.Beta.Chats.Item.Tabs.tabsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Chats.Item.Tabs.tabsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.TeamsTab; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Chats.Item.Tabs.tabsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Chats.Item.Tabs.TabsRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::[ChatMessageHostedContentId:string]:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageHostedContentCollectionResponse +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse-->global.Microsoft.Graph.Beta.Models.BaseDeltaFunctionResponse +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaResponse-->global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|public|AdditionalMessage:global.Microsoft.Graph.Beta.Models.ChatMessage +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|public|MessageIds:List +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|public|TargetChatIds:List +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostResponse::|public|Value:List +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostResponse +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatRequestBuilder.forwardToChatRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatRequestBuilder::|public|PostAsForwardToChatPostResponseAsync(body:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostResponse +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatResponse +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatResponse-->global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostResponse +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatResponse +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessage +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|hostedContents:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessage +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|softDelete:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|undoSoftDelete:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::[ChatMessageHostedContentId:string]:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageHostedContentCollectionResponse +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder.softDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder.undoSoftDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::[ChatMessageId:string]:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|delta:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|forwardToChat:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageCollectionResponse +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessage +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Beta.Models.ChatMessage +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessage +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TargetedChatMessage +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|hostedContents:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.TargetedChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TargetedChatMessage +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|replies:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.TargetedChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::[TargetedChatMessageId:string]:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TargetedChatMessageCollectionResponse +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.TargetedChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TargetedChatMessage +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.TargetedChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder Microsoft.Graph.Beta.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|constructor():void @@ -31220,16 +31543,21 @@ Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemReq Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|removeDeviceFirmwareConfigurationInterfaceManagement:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement.RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|requestRemoteAssistance:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RequestRemoteAssistance.RequestRemoteAssistanceRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|resetPasscode:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ResetPasscode.ResetPasscodeRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|restoreManagedHomeScreen:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RestoreManagedHomeScreen.RestoreManagedHomeScreenRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|retire:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.Retire.RetireRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|retrieveDeviceLocalAdminAccountDetail:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.RetrieveDeviceLocalAdminAccountDetailRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|retrieveMacOSManagedDeviceLocalAdminAccountDetail:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.RetrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|retrieveRecoveryLockPasscode:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|revokeAppleVppLicenses:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RevokeAppleVppLicenses.RevokeAppleVppLicensesRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|rotateBitLockerKeys:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateBitLockerKeys.RotateBitLockerKeysRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|rotateFileVaultKey:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateFileVaultKey.RotateFileVaultKeyRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|rotateLocalAdminPassword:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateLocalAdminPassword.RotateLocalAdminPasswordRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|rotateRecoveryLockPasscode:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|securityBaselineStates:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.SecurityBaselineStatesRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|sendCustomNotificationToCompanyPortal:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SendCustomNotificationToCompanyPortal.SendCustomNotificationToCompanyPortalRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|setDeviceName:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SetDeviceName.SetDeviceNameRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|shutDown:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ShutDown.ShutDownRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|suspendManagedHomeScreen:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|syncDevice:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SyncDevice.SyncDeviceRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -31381,6 +31709,13 @@ Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ResetPasscode.resetP Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ResetPasscode.resetPasscodeRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ResetPasscode.resetPasscodeRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ResetPasscode.resetPasscodeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ResetPasscode.ResetPasscodeRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder.restoreManagedHomeScreenRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RestoreManagedHomeScreen.RestoreManagedHomeScreenRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.Retire.retireRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.Retire.retireRequestBuilder.retireRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.Retire.retireRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -31388,6 +31723,13 @@ Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.Retire.retireRequest Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.Retire.retireRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.Retire.retireRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.Retire.retireRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.Retire.RetireRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder.retrieveDeviceLocalAdminAccountDetailRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DeviceLocalAdminAccountDetail +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.RetrieveDeviceLocalAdminAccountDetailRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -31395,6 +31737,24 @@ Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveMacOSManaged Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MacOSManagedDeviceLocalAdminAccountDetail Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.RetrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|public|constructor():void +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|public|Value:string +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder.retrieveRecoveryLockPasscodeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder::|public|GetAsRetrieveRecoveryLockPasscodeGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeResponse +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeResponse-->global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeResponse Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RevokeAppleVppLicenses.revokeAppleVppLicensesRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RevokeAppleVppLicenses.revokeAppleVppLicensesRequestBuilder.revokeAppleVppLicensesRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RevokeAppleVppLicenses.revokeAppleVppLicensesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -31423,6 +31783,13 @@ Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateLocalAdminPass Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateLocalAdminPassword.rotateLocalAdminPasswordRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateLocalAdminPassword.rotateLocalAdminPasswordRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateLocalAdminPassword.rotateLocalAdminPasswordRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateLocalAdminPassword.RotateLocalAdminPasswordRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder.rotateRecoveryLockPasscodeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SecurityBaselineStates.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -31550,6 +31917,21 @@ Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ShutDown.shutDownReq Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ShutDown.shutDownRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ShutDown.shutDownRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ShutDown.shutDownRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.ShutDown.ShutDownRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|public|TimeoutMinutes:string +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder.suspendManagedHomeScreenRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SyncDevice.syncDeviceRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SyncDevice.syncDeviceRequestBuilder.syncDeviceRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.DeviceManagement.ComanagedDevices.Item.SyncDevice.syncDeviceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -32946,6 +33328,7 @@ Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.DepOnboardingSe Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.DepOnboardingSettingItemRequestBuilder::|public|getEncryptionPublicKey:global.Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.GetEncryptionPublicKey.GetEncryptionPublicKeyRequestBuilder Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.DepOnboardingSettingItemRequestBuilder::|public|importedAppleDeviceIdentities:global.Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ImportedAppleDeviceIdentities.ImportedAppleDeviceIdentitiesRequestBuilder Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.DepOnboardingSettingItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.DepOnboardingSetting; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DepOnboardingSetting +Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.DepOnboardingSettingItemRequestBuilder::|public|releaseAppleDevices:global.Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.ReleaseAppleDevicesRequestBuilder Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.DepOnboardingSettingItemRequestBuilder::|public|shareForSchoolDataSyncService:global.Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ShareForSchoolDataSyncService.ShareForSchoolDataSyncServiceRequestBuilder Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.DepOnboardingSettingItemRequestBuilder::|public|syncWithAppleDeviceEnrollmentProgram:global.Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.SyncWithAppleDeviceEnrollmentProgram.SyncWithAppleDeviceEnrollmentProgramRequestBuilder Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.DepOnboardingSettingItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -33146,6 +33529,22 @@ Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ImportedAppleDe Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ImportedAppleDeviceIdentities.Item.ImportedAppleDeviceIdentityItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ImportedAppleDeviceIdentities.Item.ImportedAppleDeviceIdentityItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ImportedAppleDeviceIdentity; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ImportedAppleDeviceIdentities.Item.ImportedAppleDeviceIdentityItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ImportedAppleDeviceIdentities.Item.ImportedAppleDeviceIdentityItemRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.releaseAppleDevicesPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.releaseAppleDevicesPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.releaseAppleDevicesPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.releaseAppleDevicesPostRequestBody::|public|DepToken:string +Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.releaseAppleDevicesPostRequestBody::|public|DeviceSerialNumbers:List +Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.releaseAppleDevicesPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.releaseAppleDevicesPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.releaseAppleDevicesPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.ReleaseAppleDevicesPostRequestBody +Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.releaseAppleDevicesPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.releaseAppleDevicesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.releaseAppleDevicesRequestBuilder.releaseAppleDevicesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.releaseAppleDevicesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.releaseAppleDevicesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.releaseAppleDevicesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.ReleaseAppleDevicesPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.releaseAppleDevicesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.ReleaseAppleDevicesPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.releaseAppleDevicesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ReleaseAppleDevices.ReleaseAppleDevicesRequestBuilder Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ShareForSchoolDataSyncService.shareForSchoolDataSyncServiceRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ShareForSchoolDataSyncService.shareForSchoolDataSyncServiceRequestBuilder.shareForSchoolDataSyncServiceRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.DeviceManagement.DepOnboardingSettings.Item.ShareForSchoolDataSyncService.shareForSchoolDataSyncServiceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -40464,16 +40863,21 @@ Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemReque Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|removeDeviceFirmwareConfigurationInterfaceManagement:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement.RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|requestRemoteAssistance:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RequestRemoteAssistance.RequestRemoteAssistanceRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|resetPasscode:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ResetPasscode.ResetPasscodeRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|restoreManagedHomeScreen:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RestoreManagedHomeScreen.RestoreManagedHomeScreenRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|retire:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.Retire.RetireRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|retrieveDeviceLocalAdminAccountDetail:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.RetrieveDeviceLocalAdminAccountDetailRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|retrieveMacOSManagedDeviceLocalAdminAccountDetail:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.RetrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|retrieveRecoveryLockPasscode:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|revokeAppleVppLicenses:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RevokeAppleVppLicenses.RevokeAppleVppLicensesRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|rotateBitLockerKeys:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateBitLockerKeys.RotateBitLockerKeysRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|rotateFileVaultKey:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateFileVaultKey.RotateFileVaultKeyRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|rotateLocalAdminPassword:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateLocalAdminPassword.RotateLocalAdminPasswordRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|rotateRecoveryLockPasscode:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|securityBaselineStates:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SecurityBaselineStates.SecurityBaselineStatesRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|sendCustomNotificationToCompanyPortal:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SendCustomNotificationToCompanyPortal.SendCustomNotificationToCompanyPortalRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|setDeviceName:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SetDeviceName.SetDeviceNameRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|shutDown:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ShutDown.ShutDownRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|suspendManagedHomeScreen:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|syncDevice:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SyncDevice.SyncDeviceRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -40625,6 +41029,13 @@ Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ResetPasscode.resetPas Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ResetPasscode.resetPasscodeRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ResetPasscode.resetPasscodeRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ResetPasscode.resetPasscodeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ResetPasscode.ResetPasscodeRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder.restoreManagedHomeScreenRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RestoreManagedHomeScreen.RestoreManagedHomeScreenRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.Retire.retireRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.Retire.retireRequestBuilder.retireRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.Retire.retireRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -40632,6 +41043,13 @@ Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.Retire.retireRequestBu Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.Retire.retireRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.Retire.retireRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.Retire.retireRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.Retire.RetireRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder.retrieveDeviceLocalAdminAccountDetailRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DeviceLocalAdminAccountDetail +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.RetrieveDeviceLocalAdminAccountDetailRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -40639,6 +41057,24 @@ Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveMacOSManagedDe Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MacOSManagedDeviceLocalAdminAccountDetail Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.RetrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|public|constructor():void +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|public|Value:string +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder.retrieveRecoveryLockPasscodeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder::|public|GetAsRetrieveRecoveryLockPasscodeGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeResponse +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeResponse-->global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeResponse Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RevokeAppleVppLicenses.revokeAppleVppLicensesRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RevokeAppleVppLicenses.revokeAppleVppLicensesRequestBuilder.revokeAppleVppLicensesRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RevokeAppleVppLicenses.revokeAppleVppLicensesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -40667,6 +41103,13 @@ Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateLocalAdminPasswo Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateLocalAdminPassword.rotateLocalAdminPasswordRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateLocalAdminPassword.rotateLocalAdminPasswordRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateLocalAdminPassword.rotateLocalAdminPasswordRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateLocalAdminPassword.RotateLocalAdminPasswordRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder.rotateRecoveryLockPasscodeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SecurityBaselineStates.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SecurityBaselineStates.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SecurityBaselineStates.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -40794,6 +41237,21 @@ Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ShutDown.shutDownReque Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ShutDown.shutDownRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ShutDown.shutDownRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ShutDown.shutDownRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.ShutDown.ShutDownRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|public|TimeoutMinutes:string +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder.suspendManagedHomeScreenRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SyncDevice.syncDeviceRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SyncDevice.syncDeviceRequestBuilder.syncDeviceRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.DeviceManagement.ManagedDevices.Item.SyncDevice.syncDeviceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -43961,29 +44419,6 @@ Microsoft.Graph.Beta.DeviceManagement.Reports.GetWindowsUpdateAlertSummaryReport Microsoft.Graph.Beta.DeviceManagement.Reports.GetWindowsUpdateAlertSummaryReport.getWindowsUpdateAlertSummaryReportRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.DeviceManagement.Reports.GetWindowsUpdateAlertSummaryReport.GetWindowsUpdateAlertSummaryReportPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream Microsoft.Graph.Beta.DeviceManagement.Reports.GetWindowsUpdateAlertSummaryReport.getWindowsUpdateAlertSummaryReportRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.DeviceManagement.Reports.GetWindowsUpdateAlertSummaryReport.GetWindowsUpdateAlertSummaryReportPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.Reports.GetWindowsUpdateAlertSummaryReport.getWindowsUpdateAlertSummaryReportRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.Reports.GetWindowsUpdateAlertSummaryReport.GetWindowsUpdateAlertSummaryReportRequestBuilder -Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.getZebraFotaDeploymentReportPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.getZebraFotaDeploymentReportPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.getZebraFotaDeploymentReportPostRequestBody::|public|constructor():void -Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.getZebraFotaDeploymentReportPostRequestBody::|public|Filter:string -Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.getZebraFotaDeploymentReportPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.getZebraFotaDeploymentReportPostRequestBody::|public|GroupBy:List -Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.getZebraFotaDeploymentReportPostRequestBody::|public|Name:string -Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.getZebraFotaDeploymentReportPostRequestBody::|public|OrderBy:List -Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.getZebraFotaDeploymentReportPostRequestBody::|public|Search:string -Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.getZebraFotaDeploymentReportPostRequestBody::|public|Select:List -Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.getZebraFotaDeploymentReportPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.getZebraFotaDeploymentReportPostRequestBody::|public|SessionId:string -Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.getZebraFotaDeploymentReportPostRequestBody::|public|Skip:int? -Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.getZebraFotaDeploymentReportPostRequestBody::|public|Top:int? -Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.getZebraFotaDeploymentReportPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.GetZebraFotaDeploymentReportPostRequestBody -Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.getZebraFotaDeploymentReportPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.getZebraFotaDeploymentReportRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.getZebraFotaDeploymentReportRequestBuilder.getZebraFotaDeploymentReportRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.getZebraFotaDeploymentReportRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.getZebraFotaDeploymentReportRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.getZebraFotaDeploymentReportRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.GetZebraFotaDeploymentReportPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream -Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.getZebraFotaDeploymentReportRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.GetZebraFotaDeploymentReportPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.getZebraFotaDeploymentReportRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.GetZebraFotaDeploymentReportRequestBuilder Microsoft.Graph.Beta.DeviceManagement.Reports.reportsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DeviceManagement.Reports.reportsRequestBuilder.reportsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.DeviceManagement.Reports.reportsRequestBuilder.reportsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -44064,7 +44499,6 @@ Microsoft.Graph.Beta.DeviceManagement.Reports.reportsRequestBuilder::|public|get Microsoft.Graph.Beta.DeviceManagement.Reports.reportsRequestBuilder::|public|getWindowsQualityUpdateAlertSummaryReport:global.Microsoft.Graph.Beta.DeviceManagement.Reports.GetWindowsQualityUpdateAlertSummaryReport.GetWindowsQualityUpdateAlertSummaryReportRequestBuilder Microsoft.Graph.Beta.DeviceManagement.Reports.reportsRequestBuilder::|public|getWindowsUpdateAlertsPerPolicyPerDeviceReport:global.Microsoft.Graph.Beta.DeviceManagement.Reports.GetWindowsUpdateAlertsPerPolicyPerDeviceReport.GetWindowsUpdateAlertsPerPolicyPerDeviceReportRequestBuilder Microsoft.Graph.Beta.DeviceManagement.Reports.reportsRequestBuilder::|public|getWindowsUpdateAlertSummaryReport:global.Microsoft.Graph.Beta.DeviceManagement.Reports.GetWindowsUpdateAlertSummaryReport.GetWindowsUpdateAlertSummaryReportRequestBuilder -Microsoft.Graph.Beta.DeviceManagement.Reports.reportsRequestBuilder::|public|getZebraFotaDeploymentReport:global.Microsoft.Graph.Beta.DeviceManagement.Reports.GetZebraFotaDeploymentReport.GetZebraFotaDeploymentReportRequestBuilder Microsoft.Graph.Beta.DeviceManagement.Reports.reportsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.DeviceManagementReports; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DeviceManagementReports Microsoft.Graph.Beta.DeviceManagement.Reports.reportsRequestBuilder::|public|retrieveAndroidWorkProfileDeviceMigrationStatuses:global.Microsoft.Graph.Beta.DeviceManagement.Reports.RetrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesRequestBuilder Microsoft.Graph.Beta.DeviceManagement.Reports.reportsRequestBuilder::|public|retrieveAppleDeviceOSUpdateStatus:global.Microsoft.Graph.Beta.DeviceManagement.Reports.RetrieveAppleDeviceOSUpdateStatus.RetrieveAppleDeviceOSUpdateStatusRequestBuilder @@ -49244,15 +49678,102 @@ Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.Clou Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.CloudPcExternalPartnerItemRequestBuilder.CloudPcExternalPartnerItemRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.CloudPcExternalPartnerItemRequestBuilder.CloudPcExternalPartnerItemRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.CloudPcExternalPartnerItemRequestBuilder.CloudPcExternalPartnerItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.CloudPcExternalPartnerItemRequestBuilder::|public|configureAgent:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.ConfigureAgentRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.CloudPcExternalPartnerItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.CloudPcExternalPartnerItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.CloudPcExternalPartnerItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.CloudPcExternalPartnerItemRequestBuilder::|public|deployAgent:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.CloudPcExternalPartnerItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudPcExternalPartner Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.CloudPcExternalPartnerItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.CloudPcExternalPartner; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudPcExternalPartner +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.CloudPcExternalPartnerItemRequestBuilder::|public|retrieveActionReports:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.RetrieveActionReportsRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.CloudPcExternalPartnerItemRequestBuilder::|public|retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.CloudPcExternalPartnerItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.CloudPcExternalPartnerItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.CloudPcExternalPartnerItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.CloudPcExternalPartner; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.CloudPcExternalPartnerItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.CloudPcExternalPartnerItemRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.configureAgentPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.configureAgentPostRequestBody::|public|AgentSetting:global.Microsoft.Graph.Beta.Models.CloudPcExternalPartnerAgentSetting +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.configureAgentPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.configureAgentPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.configureAgentPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.configureAgentPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.configureAgentPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.ConfigureAgentPostRequestBody +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.configureAgentPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.configureAgentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.configureAgentRequestBuilder.configureAgentRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.configureAgentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.configureAgentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.configureAgentRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.ConfigureAgentPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.configureAgentRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.ConfigureAgentPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.configureAgentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.ConfigureAgent.ConfigureAgentRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.deployAgentPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.deployAgentPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.deployAgentPostRequestBody::|public|CloudPcIds:List +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.deployAgentPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.deployAgentPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.deployAgentPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.deployAgentPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentPostRequestBody +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.deployAgentPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.deployAgentPostResponse::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.deployAgentPostResponse::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.deployAgentPostResponse::|public|constructor():void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.deployAgentPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.deployAgentPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.deployAgentPostResponse::|public|Value:string +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.deployAgentPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentPostResponse +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.deployAgentPostResponse~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.deployAgentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.deployAgentRequestBuilder.deployAgentRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.deployAgentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.deployAgentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.deployAgentRequestBuilder::|public|PostAsDeployAgentPostResponseAsync(body:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentPostResponse +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.deployAgentRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentResponse +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.deployAgentRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.deployAgentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.deployAgentResponse-->global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentPostResponse +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.deployAgentResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.DeployAgent.DeployAgentResponse +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.retrieveActionReportsGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.retrieveActionReportsGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.retrieveActionReportsGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.retrieveActionReportsGetResponse::|public|Value:List +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.retrieveActionReportsGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.RetrieveActionReportsGetResponse +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.retrieveActionReportsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.retrieveActionReportsRequestBuilder.retrieveActionReportsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.retrieveActionReportsRequestBuilder.retrieveActionReportsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.retrieveActionReportsRequestBuilder.retrieveActionReportsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.retrieveActionReportsRequestBuilder.retrieveActionReportsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.retrieveActionReportsRequestBuilder.retrieveActionReportsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.retrieveActionReportsRequestBuilder.retrieveActionReportsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.retrieveActionReportsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.retrieveActionReportsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.retrieveActionReportsRequestBuilder::|public|GetAsRetrieveActionReportsGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.RetrieveActionReportsGetResponse +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.retrieveActionReportsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.RetrieveActionReportsResponse +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.retrieveActionReportsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.retrieveActionReportsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.RetrieveActionReportsRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.retrieveActionReportsResponse-->global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.RetrieveActionReportsGetResponse +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.retrieveActionReportsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveActionReports.RetrieveActionReportsResponse +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdGetResponse::|public|Value:List +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdGetResponse +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilderGetQueryParameters::|public|ActivityId:string +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilderGetQueryParameters::|public|CloudPcId:string +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder::|public|GetAsRetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdGetResponse +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdResponse +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdResponse-->global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdGetResponse +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.retrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.Item.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcId.RetrieveDeployAgentActionResultsactivityIdActivityIdCloudPcIdCloudPcIdResponse Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartnerSettings.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartnerSettings.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartnerSettings.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -57905,6 +58426,13 @@ Microsoft.Graph.Beta.Drives.Item.Items.Item.Analytics.LastSevenDays.lastSevenDay Microsoft.Graph.Beta.Drives.Item.Items.Item.Analytics.LastSevenDays.lastSevenDaysRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ItemActivityStat Microsoft.Graph.Beta.Drives.Item.Items.Item.Analytics.LastSevenDays.lastSevenDaysRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Drives.Item.Items.Item.Analytics.LastSevenDays.lastSevenDaysRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Drives.Item.Items.Item.Analytics.LastSevenDays.LastSevenDaysRequestBuilder +Microsoft.Graph.Beta.Drives.Item.Items.Item.Archive.archiveRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Drives.Item.Items.Item.Archive.archiveRequestBuilder.archiveRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Drives.Item.Items.Item.Archive.archiveRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Drives.Item.Items.Item.Archive.archiveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Drives.Item.Items.Item.Archive.archiveRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Drives.Item.Items.Item.Archive.archiveRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Drives.Item.Items.Item.Archive.archiveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Drives.Item.Items.Item.Archive.ArchiveRequestBuilder Microsoft.Graph.Beta.Drives.Item.Items.Item.AssignSensitivityLabel.assignSensitivityLabelPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Drives.Item.Items.Item.AssignSensitivityLabel.assignSensitivityLabelPostRequestBody::|public|AssignmentMethod:global.Microsoft.Graph.Beta.Models.SensitivityLabelAssignmentMethod? Microsoft.Graph.Beta.Drives.Item.Items.Item.AssignSensitivityLabel.assignSensitivityLabelPostRequestBody::|public|BackingStore:IBackingStore @@ -58203,6 +58731,7 @@ Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder.DriveIte Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder.DriveItemItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|activities:global.Microsoft.Graph.Beta.Drives.Item.Items.Item.Activities.ActivitiesRequestBuilder Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|analytics:global.Microsoft.Graph.Beta.Drives.Item.Items.Item.Analytics.AnalyticsRequestBuilder +Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|archive:global.Microsoft.Graph.Beta.Drives.Item.Items.Item.Archive.ArchiveRequestBuilder Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|assignSensitivityLabel:global.Microsoft.Graph.Beta.Drives.Item.Items.Item.AssignSensitivityLabel.AssignSensitivityLabelRequestBuilder Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|checkin:global.Microsoft.Graph.Beta.Drives.Item.Items.Item.Checkin.CheckinRequestBuilder Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|checkout:global.Microsoft.Graph.Beta.Drives.Item.Items.Item.Checkout.CheckoutRequestBuilder @@ -58239,6 +58768,7 @@ Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.DriveItem; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|unarchive:global.Microsoft.Graph.Beta.Drives.Item.Items.Item.Unarchive.UnarchiveRequestBuilder Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|unfollow:global.Microsoft.Graph.Beta.Drives.Item.Items.Item.Unfollow.UnfollowRequestBuilder Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|validatePermission:global.Microsoft.Graph.Beta.Drives.Item.Items.Item.ValidatePermission.ValidatePermissionRequestBuilder Microsoft.Graph.Beta.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|versions:global.Microsoft.Graph.Beta.Drives.Item.Items.Item.Versions.VersionsRequestBuilder @@ -58692,6 +59222,13 @@ Microsoft.Graph.Beta.Drives.Item.Items.Item.Thumbnails.thumbnailsRequestBuilder: Microsoft.Graph.Beta.Drives.Item.Items.Item.Thumbnails.thumbnailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Drives.Item.Items.Item.Thumbnails.thumbnailsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ThumbnailSet; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Drives.Item.Items.Item.Thumbnails.thumbnailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Drives.Item.Items.Item.Thumbnails.ThumbnailsRequestBuilder +Microsoft.Graph.Beta.Drives.Item.Items.Item.Unarchive.unarchiveRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Drives.Item.Items.Item.Unarchive.unarchiveRequestBuilder.unarchiveRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Drives.Item.Items.Item.Unarchive.unarchiveRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Drives.Item.Items.Item.Unarchive.unarchiveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Drives.Item.Items.Item.Unarchive.unarchiveRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DriveItem +Microsoft.Graph.Beta.Drives.Item.Items.Item.Unarchive.unarchiveRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Drives.Item.Items.Item.Unarchive.unarchiveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Drives.Item.Items.Item.Unarchive.UnarchiveRequestBuilder Microsoft.Graph.Beta.Drives.Item.Items.Item.Unfollow.unfollowRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Drives.Item.Items.Item.Unfollow.unfollowRequestBuilder.unfollowRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Drives.Item.Items.Item.Unfollow.unfollowRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -94740,6 +95277,82 @@ Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Deta Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -94753,6 +95366,7 @@ Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Plan Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -94931,6 +95545,82 @@ Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Details.detailsRe Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -94944,6 +95634,7 @@ Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRe Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -104954,6 +105645,82 @@ Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.I Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -104967,6 +105734,7 @@ Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.I Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -105145,6 +105913,82 @@ Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Ite Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -105158,6 +106002,7 @@ Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Ite Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -106828,6 +107673,82 @@ Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets. Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -106841,6 +107762,7 @@ Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets. Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -107019,6 +107941,82 @@ Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.It Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -107032,6 +108030,7 @@ Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.It Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -125962,6 +126961,36 @@ Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflow Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.microsoftGraphIdentityGovernanceCreateNewVersionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.CreateNewVersionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.Workflow Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.microsoftGraphIdentityGovernanceCreateNewVersionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.CreateNewVersionPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.microsoftGraphIdentityGovernanceCreateNewVersionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|PostAsPreviewTaskFailuresPostResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresPostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresPostResponse::|public|Value:List +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresResponse-->global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|public|Subjects:List +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder.microsoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -125969,6 +126998,41 @@ Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflow Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.Workflow Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryObject +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder::[DirectoryObjectId:string]:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryObjectCollectionResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -127321,7 +128385,10 @@ Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflow Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceActivate:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceActivate.MicrosoftGraphIdentityGovernanceActivateRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceActivateWithScope:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceCreateNewVersion:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernancePreviewTaskFailures:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernancePreviewWorkflow:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceRestore:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.WorkflowItemRequestBuilder::|public|previewScope:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.WorkflowItemRequestBuilder::|public|runs:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.RunsRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.WorkflowItemRequestBuilder::|public|taskReports:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.TaskReportsRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.WorkflowItemRequestBuilder::|public|tasks:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks.TasksRequestBuilder @@ -127709,6 +128776,36 @@ Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Micros Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.microsoftGraphIdentityGovernanceCreateNewVersionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.CreateNewVersionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.Workflow Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.microsoftGraphIdentityGovernanceCreateNewVersionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.CreateNewVersionPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.microsoftGraphIdentityGovernanceCreateNewVersionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|PostAsPreviewTaskFailuresPostResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresPostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresPostResponse::|public|Value:List +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresResponse-->global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|public|Subjects:List +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder.microsoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -127716,6 +128813,41 @@ Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Micros Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.Workflow Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryObject +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder::[DirectoryObjectId:string]:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryObjectCollectionResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -129069,8 +130201,11 @@ Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Workfl Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceActivate:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceActivate.MicrosoftGraphIdentityGovernanceActivateRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceActivateWithScope:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceCreateNewVersion:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernancePreviewTaskFailures:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernancePreviewWorkflow:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceRestore:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.WorkflowItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.IdentityGovernance.Workflow; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.Workflow +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.WorkflowItemRequestBuilder::|public|previewScope:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.WorkflowItemRequestBuilder::|public|runs:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.RunsRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.WorkflowItemRequestBuilder::|public|taskReports:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.TaskReportsRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.WorkflowItemRequestBuilder::|public|tasks:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks.TasksRequestBuilder @@ -136546,6 +137681,7 @@ Microsoft.Graph.Beta.Me.Chats.Item.ChatItemRequestBuilder::|public|removeAllAcce Microsoft.Graph.Beta.Me.Chats.Item.ChatItemRequestBuilder::|public|sendActivityNotification:global.Microsoft.Graph.Beta.Me.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder Microsoft.Graph.Beta.Me.Chats.Item.ChatItemRequestBuilder::|public|startMigration:global.Microsoft.Graph.Beta.Me.Chats.Item.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.Me.Chats.Item.ChatItemRequestBuilder::|public|tabs:global.Microsoft.Graph.Beta.Me.Chats.Item.Tabs.TabsRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.ChatItemRequestBuilder::|public|targetedMessages:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder Microsoft.Graph.Beta.Me.Chats.Item.ChatItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Chats.Item.ChatItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Chats.Item.ChatItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Chat; requestConfiguration?:Action>):RequestInformation @@ -137479,6 +138615,328 @@ Microsoft.Graph.Beta.Me.Chats.Item.Tabs.tabsRequestBuilder::|public|PostAsync(bo Microsoft.Graph.Beta.Me.Chats.Item.Tabs.tabsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Chats.Item.Tabs.tabsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.TeamsTab; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Chats.Item.Tabs.tabsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Chats.Item.Tabs.TabsRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::[ChatMessageHostedContentId:string]:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageHostedContentCollectionResponse +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse-->global.Microsoft.Graph.Beta.Models.BaseDeltaFunctionResponse +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaResponse-->global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|public|AdditionalMessage:global.Microsoft.Graph.Beta.Models.ChatMessage +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|public|MessageIds:List +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|public|TargetChatIds:List +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostResponse::|public|Value:List +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostResponse +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatRequestBuilder.forwardToChatRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatRequestBuilder::|public|PostAsForwardToChatPostResponseAsync(body:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostResponse +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatResponse +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatResponse-->global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostResponse +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatResponse +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessage +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|hostedContents:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessage +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|softDelete:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|undoSoftDelete:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::[ChatMessageHostedContentId:string]:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageHostedContentCollectionResponse +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder.softDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder.undoSoftDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::[ChatMessageId:string]:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|delta:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|forwardToChat:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageCollectionResponse +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessage +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Beta.Models.ChatMessage +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessage +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TargetedChatMessage +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|hostedContents:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.TargetedChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TargetedChatMessage +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|replies:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.TargetedChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::[TargetedChatMessageId:string]:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TargetedChatMessageCollectionResponse +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.TargetedChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TargetedChatMessage +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.TargetedChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder Microsoft.Graph.Beta.Me.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Me.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Me.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|constructor():void @@ -140571,6 +142029,7 @@ Microsoft.Graph.Beta.Me.EmployeeExperience.employeeExperienceRequestBuilder::|pu Microsoft.Graph.Beta.Me.EmployeeExperience.employeeExperienceRequestBuilder::|public|learningCourseActivities:global.Microsoft.Graph.Beta.Me.EmployeeExperience.LearningCourseActivities.LearningCourseActivitiesRequestBuilder Microsoft.Graph.Beta.Me.EmployeeExperience.employeeExperienceRequestBuilder::|public|learningCourseActivitiesWithExternalcourseActivityId(externalcourseActivityId:string):global.Microsoft.Graph.Beta.Me.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder Microsoft.Graph.Beta.Me.EmployeeExperience.employeeExperienceRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.EmployeeExperienceUser; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EmployeeExperienceUser +Microsoft.Graph.Beta.Me.EmployeeExperience.employeeExperienceRequestBuilder::|public|storyline:global.Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.StorylineRequestBuilder Microsoft.Graph.Beta.Me.EmployeeExperience.employeeExperienceRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.EmployeeExperience.employeeExperienceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.EmployeeExperience.employeeExperienceRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.EmployeeExperienceUser; requestConfiguration?:Action>):RequestInformation @@ -140619,6 +142078,111 @@ Microsoft.Graph.Beta.Me.EmployeeExperience.LearningCourseActivitiesWithExternalc Microsoft.Graph.Beta.Me.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId.learningCourseActivitiesWithExternalcourseActivityIdRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.LearningCourseActivity Microsoft.Graph.Beta.Me.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId.learningCourseActivitiesWithExternalcourseActivityIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId.learningCourseActivitiesWithExternalcourseActivityIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.followersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.followersRequestBuilder.followersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.followersRequestBuilder.followersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.followersRequestBuilder.followersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.followersRequestBuilder.followersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.followersRequestBuilder.followersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.followersRequestBuilder.followersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.followersRequestBuilder.followersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.followersRequestBuilder.followersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.followersRequestBuilder.followersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.followersRequestBuilder.followersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.followersRequestBuilder::[StorylineFollowerId:string]:global.Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.followersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.followersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.followersRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.followersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.StorylineFollowerCollectionResponse +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.followersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.StorylineFollower; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.StorylineFollower +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.followersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.followersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.StorylineFollower; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.followersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.FollowersRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder.StorylineFollowerItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder.StorylineFollowerItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder.StorylineFollowerItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder.StorylineFollowerItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder.StorylineFollowerItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.StorylineFollower +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.StorylineFollower; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.StorylineFollower +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.StorylineFollower; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.followingsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.followingsRequestBuilder.followingsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.followingsRequestBuilder.followingsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.followingsRequestBuilder.followingsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.followingsRequestBuilder.followingsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.followingsRequestBuilder.followingsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.followingsRequestBuilder.followingsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.followingsRequestBuilder.followingsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.followingsRequestBuilder.followingsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.followingsRequestBuilder.followingsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.followingsRequestBuilder.followingsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.followingsRequestBuilder::[StorylineFollowingId:string]:global.Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.followingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.followingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.followingsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.followingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.StorylineFollowingCollectionResponse +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.followingsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.StorylineFollowing; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.StorylineFollowing +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.followingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.followingsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.StorylineFollowing; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.followingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.FollowingsRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder.StorylineFollowingItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder.StorylineFollowingItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder.StorylineFollowingItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder.StorylineFollowingItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder.StorylineFollowingItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.StorylineFollowing +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.StorylineFollowing; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.StorylineFollowing +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.StorylineFollowing; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.storylineRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.storylineRequestBuilder.storylineRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.storylineRequestBuilder.storylineRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.storylineRequestBuilder.storylineRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.storylineRequestBuilder.storylineRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.storylineRequestBuilder.storylineRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.storylineRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.storylineRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.storylineRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.storylineRequestBuilder::|public|followers:global.Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followers.FollowersRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.storylineRequestBuilder::|public|followings:global.Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.Followings.FollowingsRequestBuilder +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.storylineRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Storyline +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.storylineRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Storyline; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Storyline +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.storylineRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.storylineRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.storylineRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Storyline; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.storylineRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.EmployeeExperience.Storyline.StorylineRequestBuilder Microsoft.Graph.Beta.Me.Events.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.Events.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Me.Events.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -144627,16 +146191,21 @@ Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|pu Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|removeDeviceFirmwareConfigurationInterfaceManagement:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement.RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|requestRemoteAssistance:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RequestRemoteAssistance.RequestRemoteAssistanceRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|resetPasscode:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.ResetPasscode.ResetPasscodeRequestBuilder +Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|restoreManagedHomeScreen:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RestoreManagedHomeScreen.RestoreManagedHomeScreenRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|retire:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.Retire.RetireRequestBuilder +Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|retrieveDeviceLocalAdminAccountDetail:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.RetrieveDeviceLocalAdminAccountDetailRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|retrieveMacOSManagedDeviceLocalAdminAccountDetail:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.RetrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder +Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|retrieveRecoveryLockPasscode:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|revokeAppleVppLicenses:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RevokeAppleVppLicenses.RevokeAppleVppLicensesRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|rotateBitLockerKeys:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateBitLockerKeys.RotateBitLockerKeysRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|rotateFileVaultKey:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateFileVaultKey.RotateFileVaultKeyRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|rotateLocalAdminPassword:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateLocalAdminPassword.RotateLocalAdminPasswordRequestBuilder +Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|rotateRecoveryLockPasscode:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|securityBaselineStates:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.SecurityBaselineStates.SecurityBaselineStatesRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|sendCustomNotificationToCompanyPortal:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.SendCustomNotificationToCompanyPortal.SendCustomNotificationToCompanyPortalRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|setDeviceName:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.SetDeviceName.SetDeviceNameRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|shutDown:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.ShutDown.ShutDownRequestBuilder +Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|suspendManagedHomeScreen:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|syncDevice:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.SyncDevice.SyncDeviceRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -144788,6 +146357,13 @@ Microsoft.Graph.Beta.Me.ManagedDevices.Item.ResetPasscode.resetPasscodeRequestBu Microsoft.Graph.Beta.Me.ManagedDevices.Item.ResetPasscode.resetPasscodeRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Me.ManagedDevices.Item.ResetPasscode.resetPasscodeRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.ManagedDevices.Item.ResetPasscode.resetPasscodeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.ResetPasscode.ResetPasscodeRequestBuilder +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder.restoreManagedHomeScreenRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RestoreManagedHomeScreen.RestoreManagedHomeScreenRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.Retire.retireRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.Retire.retireRequestBuilder.retireRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.ManagedDevices.Item.Retire.retireRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -144795,6 +146371,13 @@ Microsoft.Graph.Beta.Me.ManagedDevices.Item.Retire.retireRequestBuilder::|public Microsoft.Graph.Beta.Me.ManagedDevices.Item.Retire.retireRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Me.ManagedDevices.Item.Retire.retireRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.ManagedDevices.Item.Retire.retireRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.Retire.RetireRequestBuilder +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder.retrieveDeviceLocalAdminAccountDetailRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DeviceLocalAdminAccountDetail +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.RetrieveDeviceLocalAdminAccountDetailRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -144802,6 +146385,24 @@ Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdmin Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MacOSManagedDeviceLocalAdminAccountDetail Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.RetrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|public|constructor():void +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|public|Value:string +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder.retrieveRecoveryLockPasscodeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder::|public|GetAsRetrieveRecoveryLockPasscodeGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeResponse +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeRequestBuilder +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeResponse-->global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeResponse Microsoft.Graph.Beta.Me.ManagedDevices.Item.RevokeAppleVppLicenses.revokeAppleVppLicensesRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.RevokeAppleVppLicenses.revokeAppleVppLicensesRequestBuilder.revokeAppleVppLicensesRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.ManagedDevices.Item.RevokeAppleVppLicenses.revokeAppleVppLicensesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -144830,6 +146431,13 @@ Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateLocalAdminPassword.rotateLocal Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateLocalAdminPassword.rotateLocalAdminPasswordRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateLocalAdminPassword.rotateLocalAdminPasswordRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateLocalAdminPassword.rotateLocalAdminPasswordRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateLocalAdminPassword.RotateLocalAdminPasswordRequestBuilder +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder.rotateRecoveryLockPasscodeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.SecurityBaselineStates.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.SecurityBaselineStates.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Me.ManagedDevices.Item.SecurityBaselineStates.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -144957,6 +146565,21 @@ Microsoft.Graph.Beta.Me.ManagedDevices.Item.ShutDown.shutDownRequestBuilder::|pu Microsoft.Graph.Beta.Me.ManagedDevices.Item.ShutDown.shutDownRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Me.ManagedDevices.Item.ShutDown.shutDownRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.ManagedDevices.Item.ShutDown.shutDownRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.ShutDown.ShutDownRequestBuilder +Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|public|TimeoutMinutes:string +Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody +Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder.suspendManagedHomeScreenRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.SyncDevice.syncDeviceRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.ManagedDevices.Item.SyncDevice.syncDeviceRequestBuilder.syncDeviceRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.ManagedDevices.Item.SyncDevice.syncDeviceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -150965,6 +152588,82 @@ Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detai Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -150978,6 +152677,7 @@ Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskIt Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -151156,6 +152856,82 @@ Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuil Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -151169,6 +152945,7 @@ Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuil Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -151394,6 +153171,82 @@ Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Details.detailsRequestBuilder::|publi Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -151407,6 +153260,7 @@ Microsoft.Graph.Beta.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|publi Microsoft.Graph.Beta.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Me.Planner.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Me.Planner.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Me.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -153432,14 +155286,36 @@ Microsoft.Graph.Beta.Me.Sponsors.Count.CountRequestBuilder::|public|GetAsync(req Microsoft.Graph.Beta.Me.Sponsors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Sponsors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Sponsors.Count.CountRequestBuilder Microsoft.Graph.Beta.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Beta.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Beta.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Beta.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryObject -Microsoft.Graph.Beta.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder +Microsoft.Graph.Beta.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|Ref:global.Microsoft.Graph.Beta.Me.Sponsors.Item.Ref.RefRequestBuilder +Microsoft.Graph.Beta.Me.Sponsors.Item.Ref.RefRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Sponsors.Item.Ref.RefRequestBuilder.RefRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Sponsors.Item.Ref.RefRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Sponsors.Item.Ref.RefRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Sponsors.Item.Ref.RefRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Sponsors.Item.Ref.RefRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Sponsors.Item.Ref.RefRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Sponsors.Item.Ref.RefRequestBuilder +Microsoft.Graph.Beta.Me.Sponsors.Ref.RefRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderDeleteQueryParameters::|public|Id:string +Microsoft.Graph.Beta.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Sponsors.Ref.RefRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Sponsors.Ref.RefRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Sponsors.Ref.RefRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Sponsors.Ref.RefRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.StringCollectionResponse +Microsoft.Graph.Beta.Me.Sponsors.Ref.RefRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ReferenceCreate; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Sponsors.Ref.RefRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Sponsors.Ref.RefRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Sponsors.Ref.RefRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ReferenceCreate; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Sponsors.Ref.RefRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Sponsors.Ref.RefRequestBuilder Microsoft.Graph.Beta.Me.Sponsors.sponsorsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.Sponsors.sponsorsRequestBuilder.sponsorsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Beta.Me.Sponsors.sponsorsRequestBuilder.sponsorsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -153455,6 +155331,7 @@ Microsoft.Graph.Beta.Me.Sponsors.sponsorsRequestBuilder::|public|constructor(pat Microsoft.Graph.Beta.Me.Sponsors.sponsorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Me.Sponsors.sponsorsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.Sponsors.Count.CountRequestBuilder Microsoft.Graph.Beta.Me.Sponsors.sponsorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryObjectCollectionResponse +Microsoft.Graph.Beta.Me.Sponsors.sponsorsRequestBuilder::|public|Ref:global.Microsoft.Graph.Beta.Me.Sponsors.Ref.RefRequestBuilder Microsoft.Graph.Beta.Me.Sponsors.sponsorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Sponsors.sponsorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Sponsors.SponsorsRequestBuilder Microsoft.Graph.Beta.Me.Teamwork.AssociatedTeams.associatedTeamsRequestBuilder-->BaseRequestBuilder @@ -153511,6 +155388,69 @@ Microsoft.Graph.Beta.Me.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder::| Microsoft.Graph.Beta.Me.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Team Microsoft.Graph.Beta.Me.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Teamwork.AssociatedTeams.Item.Team.TeamRequestBuilder +Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|ChannelId:string +Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|MessageId:string +Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|TeamId:string +Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody +Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder.deleteTargetedMessageRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder +Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|public|Value:List +Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse +Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|GetAsGetAllRetainedTargetedMessagesGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse +Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse +Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder +Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesResponse-->global.Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse +Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse +Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|public|Value:List +Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse +Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|GetAsGetAllTargetedMessagesGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse +Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse +Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder +Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesResponse-->global.Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse +Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse Microsoft.Graph.Beta.Me.Teamwork.InstalledApps.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.Teamwork.InstalledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Me.Teamwork.InstalledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -153616,6 +155556,9 @@ Microsoft.Graph.Beta.Me.Teamwork.teamworkRequestBuilder::|public|associatedTeams Microsoft.Graph.Beta.Me.Teamwork.teamworkRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Me.Teamwork.teamworkRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Me.Teamwork.teamworkRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Teamwork.teamworkRequestBuilder::|public|deleteTargetedMessage:global.Microsoft.Graph.Beta.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder +Microsoft.Graph.Beta.Me.Teamwork.teamworkRequestBuilder::|public|getAllRetainedTargetedMessages:global.Microsoft.Graph.Beta.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder +Microsoft.Graph.Beta.Me.Teamwork.teamworkRequestBuilder::|public|getAllTargetedMessages:global.Microsoft.Graph.Beta.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder Microsoft.Graph.Beta.Me.Teamwork.teamworkRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UserTeamwork Microsoft.Graph.Beta.Me.Teamwork.teamworkRequestBuilder::|public|installedApps:global.Microsoft.Graph.Beta.Me.Teamwork.InstalledApps.InstalledAppsRequestBuilder Microsoft.Graph.Beta.Me.Teamwork.teamworkRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.UserTeamwork; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UserTeamwork @@ -155148,6 +157091,7 @@ Microsoft.Graph.Beta.Models.accessPackageCatalog::|public|IsExternallyVisible:bo Microsoft.Graph.Beta.Models.accessPackageCatalog::|public|ModifiedBy:string Microsoft.Graph.Beta.Models.accessPackageCatalog::|public|ModifiedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.accessPackageCatalog::|public|OdataType:string +Microsoft.Graph.Beta.Models.accessPackageCatalog::|public|PrivilegeLevel:global.Microsoft.Graph.Beta.Models.PrivilegeLevel? Microsoft.Graph.Beta.Models.accessPackageCatalog::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.accessPackageCatalog::|public|UniqueName:string Microsoft.Graph.Beta.Models.accessPackageCatalog::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AccessPackageCatalog @@ -156198,6 +158142,43 @@ Microsoft.Graph.Beta.Models.activityHistoryItemCollectionResponse::|public|GetFi Microsoft.Graph.Beta.Models.activityHistoryItemCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.activityHistoryItemCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.activityHistoryItemCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ActivityHistoryItemCollectionResponse +Microsoft.Graph.Beta.Models.activityLogBase-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.activityLogBase::|public|ActivityType:global.Microsoft.Graph.Beta.Models.ActivityLogOperationType? +Microsoft.Graph.Beta.Models.activityLogBase::|public|Error:global.Microsoft.Graph.Beta.Models.PublicError +Microsoft.Graph.Beta.Models.activityLogBase::|public|EventDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.activityLogBase::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.activityLogBase::|public|OdataType:string +Microsoft.Graph.Beta.Models.activityLogBase::|public|PerformedBy:string +Microsoft.Graph.Beta.Models.activityLogBase::|public|ResultStatus:global.Microsoft.Graph.Beta.Models.ActivityLogResultStatus? +Microsoft.Graph.Beta.Models.activityLogBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.activityLogBase::|public|ServiceType:global.Microsoft.Graph.Beta.Models.ServiceType? +Microsoft.Graph.Beta.Models.activityLogBase::|public|Severity:global.Microsoft.Graph.Beta.Models.ActivityLogSeverity? +Microsoft.Graph.Beta.Models.activityLogBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ActivityLogBase +Microsoft.Graph.Beta.Models.activityLogBaseCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.activityLogBaseCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.activityLogBaseCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.activityLogBaseCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.activityLogBaseCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ActivityLogBaseCollectionResponse +Microsoft.Graph.Beta.Models.activityLogOperationType::0000-backupPolicyCreated +Microsoft.Graph.Beta.Models.activityLogOperationType::0001-backupPolicyActivated +Microsoft.Graph.Beta.Models.activityLogOperationType::0002-backupPolicyModified +Microsoft.Graph.Beta.Models.activityLogOperationType::0003-backupPolicyPaused +Microsoft.Graph.Beta.Models.activityLogOperationType::0004-backupPolicyRenamed +Microsoft.Graph.Beta.Models.activityLogOperationType::0005-dynamicRuleExecution +Microsoft.Graph.Beta.Models.activityLogOperationType::0006-dynamicRuleDeletion +Microsoft.Graph.Beta.Models.activityLogOperationType::0007-protectionUnitLevelOffboarding +Microsoft.Graph.Beta.Models.activityLogOperationType::0008-policyLevelOffboarding +Microsoft.Graph.Beta.Models.activityLogOperationType::0009-restoreTaskCreated +Microsoft.Graph.Beta.Models.activityLogOperationType::0010-restoreTaskCompleted +Microsoft.Graph.Beta.Models.activityLogOperationType::0011-unknownFutureValue +Microsoft.Graph.Beta.Models.activityLogResultStatus::0000-succeeded +Microsoft.Graph.Beta.Models.activityLogResultStatus::0001-failed +Microsoft.Graph.Beta.Models.activityLogResultStatus::0002-partiallySucceeded +Microsoft.Graph.Beta.Models.activityLogResultStatus::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.activityLogSeverity::0000-high +Microsoft.Graph.Beta.Models.activityLogSeverity::0001-medium +Microsoft.Graph.Beta.Models.activityLogSeverity::0002-low +Microsoft.Graph.Beta.Models.activityLogSeverity::0003-unknownFutureValue Microsoft.Graph.Beta.Models.activityMetadata::|public|Activity:global.Microsoft.Graph.Beta.Models.UserActivityType? Microsoft.Graph.Beta.Models.activityMetadata::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.activityMetadata::|public|BackingStore:IBackingStore @@ -157408,6 +159389,9 @@ Microsoft.Graph.Beta.Models.analyticsActivityType::0001-Meeting Microsoft.Graph.Beta.Models.analyticsActivityType::0002-Focus Microsoft.Graph.Beta.Models.analyticsActivityType::0003-Chat Microsoft.Graph.Beta.Models.analyticsActivityType::0004-Call +Microsoft.Graph.Beta.Models.androidAppCredentialProviderRoleState::0000-notConfigured +Microsoft.Graph.Beta.Models.androidAppCredentialProviderRoleState::0001-allowed +Microsoft.Graph.Beta.Models.androidAppCredentialProviderRoleState::0002-unknownFutureValue Microsoft.Graph.Beta.Models.androidCertificateProfileBase-->global.Microsoft.Graph.Beta.Models.DeviceConfiguration Microsoft.Graph.Beta.Models.androidCertificateProfileBase::|public|CertificateValidityPeriodScale:global.Microsoft.Graph.Beta.Models.CertificateValidityPeriodScale? Microsoft.Graph.Beta.Models.androidCertificateProfileBase::|public|CertificateValidityPeriodValue:int? @@ -157657,6 +159641,7 @@ Microsoft.Graph.Beta.Models.androidDeviceOwnerGeneralDeviceConfiguration::|publi Microsoft.Graph.Beta.Models.androidDeviceOwnerGeneralDeviceConfiguration::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.androidDeviceOwnerGeneralDeviceConfiguration::|public|GlobalProxy:global.Microsoft.Graph.Beta.Models.AndroidDeviceOwnerGlobalProxy Microsoft.Graph.Beta.Models.androidDeviceOwnerGeneralDeviceConfiguration::|public|GoogleAccountsBlocked:bool? +Microsoft.Graph.Beta.Models.androidDeviceOwnerGeneralDeviceConfiguration::|public|IsKioskModeExitCodeSet:bool? Microsoft.Graph.Beta.Models.androidDeviceOwnerGeneralDeviceConfiguration::|public|KioskCustomizationDeviceSettingsBlocked:bool? Microsoft.Graph.Beta.Models.androidDeviceOwnerGeneralDeviceConfiguration::|public|KioskCustomizationPowerButtonActionsBlocked:bool? Microsoft.Graph.Beta.Models.androidDeviceOwnerGeneralDeviceConfiguration::|public|KioskCustomizationStatusBar:global.Microsoft.Graph.Beta.Models.AndroidDeviceOwnerKioskCustomizationStatusBar? @@ -158327,6 +160312,7 @@ Microsoft.Graph.Beta.Models.androidForWorkImportedPFXCertificateProfile::|static Microsoft.Graph.Beta.Models.androidForWorkMobileAppConfiguration-->global.Microsoft.Graph.Beta.Models.ManagedDeviceMobileAppConfiguration Microsoft.Graph.Beta.Models.androidForWorkMobileAppConfiguration::|public|ConnectedAppsEnabled:bool? Microsoft.Graph.Beta.Models.androidForWorkMobileAppConfiguration::|public|constructor():void +Microsoft.Graph.Beta.Models.androidForWorkMobileAppConfiguration::|public|CredentialProviderRoleState:global.Microsoft.Graph.Beta.Models.AndroidAppCredentialProviderRoleState? Microsoft.Graph.Beta.Models.androidForWorkMobileAppConfiguration::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.androidForWorkMobileAppConfiguration::|public|OdataType:string Microsoft.Graph.Beta.Models.androidForWorkMobileAppConfiguration::|public|PackageId:string @@ -158439,25 +160425,6 @@ Microsoft.Graph.Beta.Models.androidForWorkWiFiConfiguration::|public|Serialize(w Microsoft.Graph.Beta.Models.androidForWorkWiFiConfiguration::|public|Ssid:string Microsoft.Graph.Beta.Models.androidForWorkWiFiConfiguration::|public|WiFiSecurityType:global.Microsoft.Graph.Beta.Models.AndroidWiFiSecurityType? Microsoft.Graph.Beta.Models.androidForWorkWiFiConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AndroidForWorkWiFiConfiguration -Microsoft.Graph.Beta.Models.androidFotaDeploymentAssignment::|public|AdditionalData:IDictionary -Microsoft.Graph.Beta.Models.androidFotaDeploymentAssignment::|public|AssignmentTarget:global.Microsoft.Graph.Beta.Models.DeviceAndAppManagementAssignmentTarget -Microsoft.Graph.Beta.Models.androidFotaDeploymentAssignment::|public|BackingStore:IBackingStore -Microsoft.Graph.Beta.Models.androidFotaDeploymentAssignment::|public|constructor():void -Microsoft.Graph.Beta.Models.androidFotaDeploymentAssignment::|public|DisplayName:string -Microsoft.Graph.Beta.Models.androidFotaDeploymentAssignment::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Beta.Models.androidFotaDeploymentAssignment::|public|Id:string -Microsoft.Graph.Beta.Models.androidFotaDeploymentAssignment::|public|OdataType:string -Microsoft.Graph.Beta.Models.androidFotaDeploymentAssignment::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Beta.Models.androidFotaDeploymentAssignment::|public|Target:global.Microsoft.Graph.Beta.Models.AndroidFotaDeploymentAssignmentTarget -Microsoft.Graph.Beta.Models.androidFotaDeploymentAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AndroidFotaDeploymentAssignment -Microsoft.Graph.Beta.Models.androidFotaDeploymentAssignmentTarget-->global.Microsoft.Graph.Beta.Models.DeviceAndAppManagementAssignmentTarget -Microsoft.Graph.Beta.Models.androidFotaDeploymentAssignmentTarget::|public|constructor():void -Microsoft.Graph.Beta.Models.androidFotaDeploymentAssignmentTarget::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Beta.Models.androidFotaDeploymentAssignmentTarget::|public|GroupId:string -Microsoft.Graph.Beta.Models.androidFotaDeploymentAssignmentTarget::|public|OdataType:string -Microsoft.Graph.Beta.Models.androidFotaDeploymentAssignmentTarget::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Beta.Models.androidFotaDeploymentAssignmentTarget::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AndroidFotaDeploymentAssignmentTarget -Microsoft.Graph.Beta.Models.androidFotaDeploymentAssignment~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.androidGeneralDeviceConfiguration-->global.Microsoft.Graph.Beta.Models.DeviceConfiguration Microsoft.Graph.Beta.Models.androidGeneralDeviceConfiguration::|public|AppsBlockClipboardSharing:bool? Microsoft.Graph.Beta.Models.androidGeneralDeviceConfiguration::|public|AppsBlockCopyPaste:bool? @@ -158683,6 +160650,7 @@ Microsoft.Graph.Beta.Models.androidManagedStoreAppConfiguration-->global.Microso Microsoft.Graph.Beta.Models.androidManagedStoreAppConfiguration::|public|AppSupportsOemConfig:bool? Microsoft.Graph.Beta.Models.androidManagedStoreAppConfiguration::|public|ConnectedAppsEnabled:bool? Microsoft.Graph.Beta.Models.androidManagedStoreAppConfiguration::|public|constructor():void +Microsoft.Graph.Beta.Models.androidManagedStoreAppConfiguration::|public|CredentialProviderRoleState:global.Microsoft.Graph.Beta.Models.AndroidAppCredentialProviderRoleState? Microsoft.Graph.Beta.Models.androidManagedStoreAppConfiguration::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.androidManagedStoreAppConfiguration::|public|OdataType:string Microsoft.Graph.Beta.Models.androidManagedStoreAppConfiguration::|public|PackageId:string @@ -159643,6 +161611,7 @@ Microsoft.Graph.Beta.Models.application::|public|IsDisabled:bool? Microsoft.Graph.Beta.Models.application::|public|IsFallbackPublicClient:bool? Microsoft.Graph.Beta.Models.application::|public|KeyCredentials:List Microsoft.Graph.Beta.Models.application::|public|Logo:byte[] +Microsoft.Graph.Beta.Models.application::|public|ManagerApplications:List Microsoft.Graph.Beta.Models.application::|public|NativeAuthenticationApisEnabled:global.Microsoft.Graph.Beta.Models.NativeAuthenticationApisEnabled? Microsoft.Graph.Beta.Models.application::|public|Notes:string Microsoft.Graph.Beta.Models.application::|public|OdataType:string @@ -159944,6 +161913,7 @@ Microsoft.Graph.Beta.Models.applicationTemplate::|public|Endpoints:List Microsoft.Graph.Beta.Models.applicationTemplate::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.applicationTemplate::|public|HomePageUrl:string Microsoft.Graph.Beta.Models.applicationTemplate::|public|InformationalUrls:global.Microsoft.Graph.Beta.Models.InformationalUrls +Microsoft.Graph.Beta.Models.applicationTemplate::|public|IsEntraIntegrated:bool? Microsoft.Graph.Beta.Models.applicationTemplate::|public|LastModifiedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.applicationTemplate::|public|LogoUrl:string Microsoft.Graph.Beta.Models.applicationTemplate::|public|OdataType:string @@ -162609,10 +164579,57 @@ Microsoft.Graph.Beta.Models.b2xIdentityUserFlowCollectionResponse::|public|GetFi Microsoft.Graph.Beta.Models.b2xIdentityUserFlowCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.b2xIdentityUserFlowCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.b2xIdentityUserFlowCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.B2xIdentityUserFlowCollectionResponse +Microsoft.Graph.Beta.Models.backupCountStatistics::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.backupCountStatistics::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.backupCountStatistics::|public|constructor():void +Microsoft.Graph.Beta.Models.backupCountStatistics::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.backupCountStatistics::|public|LastComputedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.backupCountStatistics::|public|OdataType:string +Microsoft.Graph.Beta.Models.backupCountStatistics::|public|OffboardRequested:int? +Microsoft.Graph.Beta.Models.backupCountStatistics::|public|ProtectedCompleted:int? +Microsoft.Graph.Beta.Models.backupCountStatistics::|public|ProtectedFailed:int? +Microsoft.Graph.Beta.Models.backupCountStatistics::|public|ProtectedInProgress:int? +Microsoft.Graph.Beta.Models.backupCountStatistics::|public|Removed:int? +Microsoft.Graph.Beta.Models.backupCountStatistics::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.backupCountStatistics::|public|Total:int? +Microsoft.Graph.Beta.Models.backupCountStatistics::|public|UnprotectedCompleted:int? +Microsoft.Graph.Beta.Models.backupCountStatistics::|public|UnprotectedFailed:int? +Microsoft.Graph.Beta.Models.backupCountStatistics::|public|UnprotectedInProgress:int? +Microsoft.Graph.Beta.Models.backupCountStatistics::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.BackupCountStatistics +Microsoft.Graph.Beta.Models.backupCountStatistics~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.backupPolicyActivityLog-->global.Microsoft.Graph.Beta.Models.ActivityLogBase +Microsoft.Graph.Beta.Models.backupPolicyActivityLog::|public|constructor():void +Microsoft.Graph.Beta.Models.backupPolicyActivityLog::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.backupPolicyActivityLog::|public|OdataType:string +Microsoft.Graph.Beta.Models.backupPolicyActivityLog::|public|OldPolicyName:string +Microsoft.Graph.Beta.Models.backupPolicyActivityLog::|public|PolicyId:string +Microsoft.Graph.Beta.Models.backupPolicyActivityLog::|public|PolicyName:string +Microsoft.Graph.Beta.Models.backupPolicyActivityLog::|public|PolicyStatus:global.Microsoft.Graph.Beta.Models.ProtectionPolicyStatus? +Microsoft.Graph.Beta.Models.backupPolicyActivityLog::|public|ProtectionUnitDetails:global.Microsoft.Graph.Beta.Models.ProtectionUnitDetails +Microsoft.Graph.Beta.Models.backupPolicyActivityLog::|public|RetentionPeriod:string +Microsoft.Graph.Beta.Models.backupPolicyActivityLog::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.backupPolicyActivityLog::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.BackupPolicyActivityLog Microsoft.Graph.Beta.Models.BackupPolicyProtectionMode::0000-standard Microsoft.Graph.Beta.Models.BackupPolicyProtectionMode::0001-fullServiceBackup Microsoft.Graph.Beta.Models.BackupPolicyProtectionMode::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.backupPolicyReport::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.backupPolicyReport::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.backupPolicyReport::|public|BackupPolicyId:string +Microsoft.Graph.Beta.Models.backupPolicyReport::|public|constructor():void +Microsoft.Graph.Beta.Models.backupPolicyReport::|public|CountStatistics:global.Microsoft.Graph.Beta.Models.BackupCountStatistics +Microsoft.Graph.Beta.Models.backupPolicyReport::|public|DisplayName:string +Microsoft.Graph.Beta.Models.backupPolicyReport::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.backupPolicyReport::|public|OdataType:string +Microsoft.Graph.Beta.Models.backupPolicyReport::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.backupPolicyReport::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.BackupPolicyReport +Microsoft.Graph.Beta.Models.backupPolicyReport~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.backupReport-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.backupReport::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.backupReport::|public|OdataType:string +Microsoft.Graph.Beta.Models.backupReport::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.backupReport::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.BackupReport Microsoft.Graph.Beta.Models.backupRestoreRoot-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|ActivityLogs:List Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|AllDrivesBackup:global.Microsoft.Graph.Beta.Models.AllDrivesBackup Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|AllMailboxesBackup:global.Microsoft.Graph.Beta.Models.AllMailboxesBackup Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|AllSitesBackup:global.Microsoft.Graph.Beta.Models.AllSitesBackup @@ -162633,6 +164650,7 @@ Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|OneDriveForBusinessProtec Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|OneDriveForBusinessRestoreSessions:List Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|ProtectionPolicies:List Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|ProtectionUnits:List +Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|Reports:global.Microsoft.Graph.Beta.Models.BackupReport Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|RestorePoints:List Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|RestoreSessions:List Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|Serialize(writer:ISerializationWriter):void @@ -163466,6 +165484,7 @@ Microsoft.Graph.Beta.Models.browseSessionBase::|public|ExpirationDateTime:DateTi Microsoft.Graph.Beta.Models.browseSessionBase::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.browseSessionBase::|public|OdataType:string Microsoft.Graph.Beta.Models.browseSessionBase::|public|RestorePointDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.browseSessionBase::|public|RestorePointId:string Microsoft.Graph.Beta.Models.browseSessionBase::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.browseSessionBase::|public|Status:global.Microsoft.Graph.Beta.Models.BrowseSessionStatus? Microsoft.Graph.Beta.Models.browseSessionBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.BrowseSessionBase @@ -165115,6 +167134,7 @@ Microsoft.Graph.Beta.Models.chat::|public|PermissionGrants:List Microsoft.Graph.Beta.Models.chat::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.chat::|public|Tabs:List +Microsoft.Graph.Beta.Models.chat::|public|TargetedMessages:List Microsoft.Graph.Beta.Models.chat::|public|TenantId:string Microsoft.Graph.Beta.Models.chat::|public|Topic:string Microsoft.Graph.Beta.Models.chat::|public|Viewpoint:global.Microsoft.Graph.Beta.Models.ChatViewpoint @@ -166559,6 +168579,7 @@ Microsoft.Graph.Beta.Models.cloudPcExportJobStatus::0002-completed Microsoft.Graph.Beta.Models.cloudPcExportJobStatus::0003-failed Microsoft.Graph.Beta.Models.cloudPcExportJobStatus::0004-unknownFutureValue Microsoft.Graph.Beta.Models.cloudPcExternalPartner-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.cloudPcExternalPartner::|public|AgentSetting:global.Microsoft.Graph.Beta.Models.CloudPcExternalPartnerAgentSetting Microsoft.Graph.Beta.Models.cloudPcExternalPartner::|public|ConnectionStatus:global.Microsoft.Graph.Beta.Models.CloudPcExternalPartnerStatus? Microsoft.Graph.Beta.Models.cloudPcExternalPartner::|public|EnableConnection:bool? Microsoft.Graph.Beta.Models.cloudPcExternalPartner::|public|GetFieldDeserializers():IDictionary> @@ -166568,6 +168589,80 @@ Microsoft.Graph.Beta.Models.cloudPcExternalPartner::|public|PartnerId:string Microsoft.Graph.Beta.Models.cloudPcExternalPartner::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.cloudPcExternalPartner::|public|StatusDetails:string Microsoft.Graph.Beta.Models.cloudPcExternalPartner::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcExternalPartner +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionErrorCode::0000-none +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionErrorCode::0001-executeActionFailed +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionErrorCode::0002-executeActionTimeout +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionErrorCode::0003-deviceNotFound +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionErrorCode::0004-deviceNotAvailable +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionErrorCode::0005-checkDiskSpaceFailed +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionErrorCode::0006-checkNetworkConnectionFailed +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionErrorCode::0007-agentNotFound +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionErrorCode::0008-invalidAgentFormat +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionErrorCode::0009-invalidAgentChecksum +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionErrorCode::0010-unknownFutureValue +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionReport::|public|ActionType:global.Microsoft.Graph.Beta.Models.CloudPcExternalPartnerActionType? +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionReport::|public|ActivityId:string +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionReport::|public|ActivityMessage:string +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionReport::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionReport::|public|AgentName:string +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionReport::|public|AgentSetting:global.Microsoft.Graph.Beta.Models.CloudPcExternalPartnerAgentSetting +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionReport::|public|AuthenticatedAppId:string +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionReport::|public|AuthenticatedAppName:string +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionReport::|public|AuthenticatedMethod:global.Microsoft.Graph.Beta.Models.CloudPcExternalPartnerAuthenticatedMethod? +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionReport::|public|AuthenticatedUserPrincipalName:string +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionReport::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionReport::|public|CloudPcId:string +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionReport::|public|CloudPcName:string +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionReport::|public|constructor():void +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionReport::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionReport::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionReport::|public|OdataType:string +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionReport::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionReport::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcExternalPartnerActionReport +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionReport~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionResult::|public|ActivityId:string +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionResult::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionResult::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionResult::|public|CloudPcId:string +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionResult::|public|constructor():void +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionResult::|public|ErrorCode:global.Microsoft.Graph.Beta.Models.CloudPcExternalPartnerActionErrorCode? +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionResult::|public|ErrorMessage:string +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionResult::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionResult::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionResult::|public|OdataType:string +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionResult::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionResult::|public|StartDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionResult::|public|State:global.Microsoft.Graph.Beta.Models.CloudPcExternalPartnerActionStatus? +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionResult::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcExternalPartnerActionResult +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionResult~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionStatus::0000-created +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionStatus::0001-pending +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionStatus::0002-canceled +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionStatus::0003-running +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionStatus::0004-succeeded +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionStatus::0005-failed +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionStatus::0006-unknownFutureValue +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionType::0000-configureAgent +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionType::0001-deployAgent +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerActionType::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerAgentSetting::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerAgentSetting::|public|AgentSha256:string +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerAgentSetting::|public|AgentUrl:string +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerAgentSetting::|public|AutoDeploymentEnabled:bool? +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerAgentSetting::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerAgentSetting::|public|constructor():void +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerAgentSetting::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerAgentSetting::|public|InstallParameters:List +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerAgentSetting::|public|OdataType:string +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerAgentSetting::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerAgentSetting::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcExternalPartnerAgentSetting +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerAgentSetting~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerAuthenticatedMethod::0000-gDAP +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerAuthenticatedMethod::0001-dAP +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerAuthenticatedMethod::0002-appOnly +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerAuthenticatedMethod::0003-normalUser +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerAuthenticatedMethod::0004-guestUser +Microsoft.Graph.Beta.Models.cloudPcExternalPartnerAuthenticatedMethod::0005-unknownFutureValue Microsoft.Graph.Beta.Models.cloudPcExternalPartnerCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Beta.Models.cloudPcExternalPartnerCollectionResponse::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.cloudPcExternalPartnerCollectionResponse::|public|Serialize(writer:ISerializationWriter):void @@ -169138,6 +171233,9 @@ Microsoft.Graph.Beta.Models.contentBase::|public|OdataType:string Microsoft.Graph.Beta.Models.contentBase::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.contentBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ContentBase Microsoft.Graph.Beta.Models.contentBase~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.contentCategory::0000-none +Microsoft.Graph.Beta.Models.contentCategory::0001-ai +Microsoft.Graph.Beta.Models.contentCategory::0002-unknownFutureValue Microsoft.Graph.Beta.Models.contentClassification::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.contentClassification::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.contentClassification::|public|Confidence:int? @@ -169549,6 +171647,8 @@ Microsoft.Graph.Beta.Models.copilotConversationState::0000-active Microsoft.Graph.Beta.Models.copilotConversationState::0001-disengagedForRai Microsoft.Graph.Beta.Models.copilotConversationState::0002-unknownFutureValue Microsoft.Graph.Beta.Models.copilotPackage-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.copilotPackage::|public|AppId:string +Microsoft.Graph.Beta.Models.copilotPackage::|public|AssetId:string Microsoft.Graph.Beta.Models.copilotPackage::|public|AvailableTo:global.Microsoft.Graph.Beta.Models.PackageStatus? Microsoft.Graph.Beta.Models.copilotPackage::|public|DeployedTo:global.Microsoft.Graph.Beta.Models.PackageStatus? Microsoft.Graph.Beta.Models.copilotPackage::|public|DisplayName:string @@ -169556,12 +171656,16 @@ Microsoft.Graph.Beta.Models.copilotPackage::|public|ElementTypes:List Microsoft.Graph.Beta.Models.copilotPackage::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.copilotPackage::|public|IsBlocked:bool? Microsoft.Graph.Beta.Models.copilotPackage::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.copilotPackage::|public|ManifestId:string +Microsoft.Graph.Beta.Models.copilotPackage::|public|ManifestVersion:string Microsoft.Graph.Beta.Models.copilotPackage::|public|OdataType:string +Microsoft.Graph.Beta.Models.copilotPackage::|public|Platform:string Microsoft.Graph.Beta.Models.copilotPackage::|public|Publisher:string Microsoft.Graph.Beta.Models.copilotPackage::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.copilotPackage::|public|ShortDescription:string Microsoft.Graph.Beta.Models.copilotPackage::|public|SupportedHosts:List Microsoft.Graph.Beta.Models.copilotPackage::|public|Type:global.Microsoft.Graph.Beta.Models.PackageType? +Microsoft.Graph.Beta.Models.copilotPackage::|public|Version:string Microsoft.Graph.Beta.Models.copilotPackage::|public|ZipFile:byte[] Microsoft.Graph.Beta.Models.copilotPackage::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CopilotPackage Microsoft.Graph.Beta.Models.copilotPackageDetail-->global.Microsoft.Graph.Beta.Models.CopilotPackage @@ -169572,11 +171676,9 @@ Microsoft.Graph.Beta.Models.copilotPackageDetail::|public|constructor():void Microsoft.Graph.Beta.Models.copilotPackageDetail::|public|ElementDetails:List Microsoft.Graph.Beta.Models.copilotPackageDetail::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.copilotPackageDetail::|public|LongDescription:string -Microsoft.Graph.Beta.Models.copilotPackageDetail::|public|ManifestVersion:string Microsoft.Graph.Beta.Models.copilotPackageDetail::|public|OdataType:string Microsoft.Graph.Beta.Models.copilotPackageDetail::|public|Sensitivity:string Microsoft.Graph.Beta.Models.copilotPackageDetail::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Beta.Models.copilotPackageDetail::|public|Version:string Microsoft.Graph.Beta.Models.copilotPackageDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CopilotPackageDetail Microsoft.Graph.Beta.Models.copilotPeopleAdminSetting-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.copilotPeopleAdminSetting::|public|EnhancedPersonalization:global.Microsoft.Graph.Beta.Models.EnhancedPersonalizationSetting @@ -169788,6 +171890,7 @@ Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationDefault::|public Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationDefault::|public|B2bCollaborationOutbound:global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyB2BSetting Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationDefault::|public|B2bDirectConnectInbound:global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyB2BSetting Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationDefault::|public|B2bDirectConnectOutbound:global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyB2BSetting +Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationDefault::|public|BlockServiceProviderOutboundAccess:bool? Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationDefault::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationDefault::|public|InboundTrust:global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyInboundTrust Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationDefault::|public|InvitationRedemptionIdentityProviderConfiguration:global.Microsoft.Graph.Beta.Models.DefaultInvitationRedemptionIdentityProviderConfiguration @@ -169802,6 +171905,7 @@ Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationPartner::|public Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationPartner::|public|B2bCollaborationOutbound:global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyB2BSetting Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationPartner::|public|B2bDirectConnectInbound:global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyB2BSetting Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationPartner::|public|B2bDirectConnectOutbound:global.Microsoft.Graph.Beta.Models.CrossTenantAccessPolicyB2BSetting +Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationPartner::|public|BlockServiceProviderOutboundAccess:bool? Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationPartner::|public|constructor():void Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationPartner::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.crossTenantAccessPolicyConfigurationPartner::|public|IdentitySynchronization:global.Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner @@ -170226,6 +172330,14 @@ Microsoft.Graph.Beta.Models.customDataProvidedResource::|public|NotificationEndp Microsoft.Graph.Beta.Models.customDataProvidedResource::|public|OdataType:string Microsoft.Graph.Beta.Models.customDataProvidedResource::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.customDataProvidedResource::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CustomDataProvidedResource +Microsoft.Graph.Beta.Models.customDataProvidedResourceFile-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.customDataProvidedResourceFile::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.customDataProvidedResourceFile::|public|Name:string +Microsoft.Graph.Beta.Models.customDataProvidedResourceFile::|public|OdataType:string +Microsoft.Graph.Beta.Models.customDataProvidedResourceFile::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.customDataProvidedResourceFile::|public|Size:long? +Microsoft.Graph.Beta.Models.customDataProvidedResourceFile::|public|UploadedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.customDataProvidedResourceFile::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CustomDataProvidedResourceFile Microsoft.Graph.Beta.Models.customDataProvidedResourceUploadSession-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.customDataProvidedResourceUploadSession::|public|CreatedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.customDataProvidedResourceUploadSession::|public|Data:global.Microsoft.Graph.Beta.Models.CustomExtensionData @@ -171507,6 +173619,7 @@ Microsoft.Graph.Beta.Models.depMacOSEnrollmentProfile::|public|RequestRequiresNe Microsoft.Graph.Beta.Models.depMacOSEnrollmentProfile::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.depMacOSEnrollmentProfile::|public|SetPrimarySetupAccountAsRegularUser:bool? Microsoft.Graph.Beta.Models.depMacOSEnrollmentProfile::|public|SkipPrimarySetupAccountCreation:bool? +Microsoft.Graph.Beta.Models.depMacOSEnrollmentProfile::|public|UsePlatformSSODuringSetupAssistant:bool? Microsoft.Graph.Beta.Models.depMacOSEnrollmentProfile::|public|ZoomDisabled:bool? Microsoft.Graph.Beta.Models.depMacOSEnrollmentProfile::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.DepMacOSEnrollmentProfile Microsoft.Graph.Beta.Models.depOnboardingSetting-->global.Microsoft.Graph.Beta.Models.Entity @@ -173184,6 +175297,15 @@ Microsoft.Graph.Beta.Models.deviceLicensingStatus::0012-removingDeviceLicense Microsoft.Graph.Beta.Models.deviceLicensingStatus::0013-deviceLicenseRemoveSucceed Microsoft.Graph.Beta.Models.deviceLicensingStatus::0014-deviceLicenseRemoveFailed Microsoft.Graph.Beta.Models.deviceLicensingStatus::0015-unknownFutureValue +Microsoft.Graph.Beta.Models.deviceLocalAdminAccountDetail::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.deviceLocalAdminAccountDetail::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.deviceLocalAdminAccountDetail::|public|constructor():void +Microsoft.Graph.Beta.Models.deviceLocalAdminAccountDetail::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.deviceLocalAdminAccountDetail::|public|OdataType:string +Microsoft.Graph.Beta.Models.deviceLocalAdminAccountDetail::|public|PasswordLastRotationDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.deviceLocalAdminAccountDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.deviceLocalAdminAccountDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.DeviceLocalAdminAccountDetail +Microsoft.Graph.Beta.Models.deviceLocalAdminAccountDetail~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.deviceLocalCredential-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.deviceLocalCredential::|public|AccountName:string Microsoft.Graph.Beta.Models.deviceLocalCredential::|public|AccountSid:string @@ -173439,6 +175561,7 @@ Microsoft.Graph.Beta.Models.DeviceManagement.deviceManagement::|public|ReusableS Microsoft.Graph.Beta.Models.DeviceManagement.deviceManagement::|public|RoleAssignments:List Microsoft.Graph.Beta.Models.DeviceManagement.deviceManagement::|public|RoleDefinitions:List Microsoft.Graph.Beta.Models.DeviceManagement.deviceManagement::|public|RoleScopeTags:List +Microsoft.Graph.Beta.Models.DeviceManagement.deviceManagement::|public|SamsungEFotaFirmwareVersions:List Microsoft.Graph.Beta.Models.DeviceManagement.deviceManagement::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.DeviceManagement.deviceManagement::|public|ServiceNowConnections:List Microsoft.Graph.Beta.Models.DeviceManagement.deviceManagement::|public|SettingDefinitions:List @@ -174626,6 +176749,7 @@ Microsoft.Graph.Beta.Models.deviceManagementConfigurationTemplateFamily::0013-de Microsoft.Graph.Beta.Models.deviceManagementConfigurationTemplateFamily::0014-deviceConfigurationPolicies Microsoft.Graph.Beta.Models.deviceManagementConfigurationTemplateFamily::0015-windowsOsRecoveryPolicies Microsoft.Graph.Beta.Models.deviceManagementConfigurationTemplateFamily::0016-companyPortal +Microsoft.Graph.Beta.Models.deviceManagementConfigurationTemplateFamily::0017-windowsRecoveryAndRemediationConfiguration Microsoft.Graph.Beta.Models.deviceManagementConfigurationWindowsSettingApplicability-->global.Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSettingApplicability Microsoft.Graph.Beta.Models.deviceManagementConfigurationWindowsSettingApplicability::|public|ConfigurationServiceProviderVersion:string Microsoft.Graph.Beta.Models.deviceManagementConfigurationWindowsSettingApplicability::|public|constructor():void @@ -176069,6 +178193,7 @@ Microsoft.Graph.Beta.Models.dlpAction::0008-sPBlockAnonymousAccess Microsoft.Graph.Beta.Models.dlpAction::0009-sPRuntimeAccessControl Microsoft.Graph.Beta.Models.dlpAction::0010-sPSharingNotifyUser Microsoft.Graph.Beta.Models.dlpAction::0011-sPSharingGenerateIncidentReport +Microsoft.Graph.Beta.Models.dlpAction::0012-restrictWebGrounding Microsoft.Graph.Beta.Models.dlpActionInfo::|public|Action:global.Microsoft.Graph.Beta.Models.DlpAction? Microsoft.Graph.Beta.Models.dlpActionInfo::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.dlpActionInfo::|public|BackingStore:IBackingStore @@ -176625,6 +178750,15 @@ Microsoft.Graph.Beta.Models.dropInPlaceMode::|public|GetFieldDeserializers():IDi Microsoft.Graph.Beta.Models.dropInPlaceMode::|public|OdataType:string Microsoft.Graph.Beta.Models.dropInPlaceMode::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.dropInPlaceMode::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.DropInPlaceMode +Microsoft.Graph.Beta.Models.dynamicRuleActivityLog-->global.Microsoft.Graph.Beta.Models.ActivityLogBase +Microsoft.Graph.Beta.Models.dynamicRuleActivityLog::|public|constructor():void +Microsoft.Graph.Beta.Models.dynamicRuleActivityLog::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.dynamicRuleActivityLog::|public|OdataType:string +Microsoft.Graph.Beta.Models.dynamicRuleActivityLog::|public|PolicyId:string +Microsoft.Graph.Beta.Models.dynamicRuleActivityLog::|public|PolicyName:string +Microsoft.Graph.Beta.Models.dynamicRuleActivityLog::|public|ProtectionUnitDetails:global.Microsoft.Graph.Beta.Models.ProtectionUnitDetails +Microsoft.Graph.Beta.Models.dynamicRuleActivityLog::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.dynamicRuleActivityLog::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.DynamicRuleActivityLog Microsoft.Graph.Beta.Models.eapFastConfiguration::0000-noProtectedAccessCredential Microsoft.Graph.Beta.Models.eapFastConfiguration::0001-useProtectedAccessCredential Microsoft.Graph.Beta.Models.eapFastConfiguration::0002-useProtectedAccessCredentialAndProvision @@ -178055,6 +180189,17 @@ Microsoft.Graph.Beta.Models.emailAuthenticationMethodConfiguration::|static|publ Microsoft.Graph.Beta.Models.emailCertificateType::0000-none Microsoft.Graph.Beta.Models.emailCertificateType::0001-certificate Microsoft.Graph.Beta.Models.emailCertificateType::0002-derivedCredential +Microsoft.Graph.Beta.Models.emailDetails::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.emailDetails::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.emailDetails::|public|Body:string +Microsoft.Graph.Beta.Models.emailDetails::|public|constructor():void +Microsoft.Graph.Beta.Models.emailDetails::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.emailDetails::|public|OdataType:string +Microsoft.Graph.Beta.Models.emailDetails::|public|SenderEmailAddress:string +Microsoft.Graph.Beta.Models.emailDetails::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.emailDetails::|public|Subject:string +Microsoft.Graph.Beta.Models.emailDetails::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.EmailDetails +Microsoft.Graph.Beta.Models.emailDetails~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.emailFileAssessmentRequest-->global.Microsoft.Graph.Beta.Models.ThreatAssessmentRequest Microsoft.Graph.Beta.Models.emailFileAssessmentRequest::|public|constructor():void Microsoft.Graph.Beta.Models.emailFileAssessmentRequest::|public|ContentData:string @@ -178264,6 +180409,7 @@ Microsoft.Graph.Beta.Models.employeeExperienceUser::|public|GetFieldDeserializer Microsoft.Graph.Beta.Models.employeeExperienceUser::|public|LearningCourseActivities:List Microsoft.Graph.Beta.Models.employeeExperienceUser::|public|OdataType:string Microsoft.Graph.Beta.Models.employeeExperienceUser::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.employeeExperienceUser::|public|Storyline:global.Microsoft.Graph.Beta.Models.Storyline Microsoft.Graph.Beta.Models.employeeExperienceUser::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.EmployeeExperienceUser Microsoft.Graph.Beta.Models.employeeExperience~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.employeeOrgData::|public|AdditionalData:IDictionary @@ -180044,7 +182190,6 @@ Microsoft.Graph.Beta.Models.externalTokenBasedSapIagConnectionInfo-->global.Micr Microsoft.Graph.Beta.Models.externalTokenBasedSapIagConnectionInfo::|public|AccessTokenUrl:string Microsoft.Graph.Beta.Models.externalTokenBasedSapIagConnectionInfo::|public|ClientId:string Microsoft.Graph.Beta.Models.externalTokenBasedSapIagConnectionInfo::|public|constructor():void -Microsoft.Graph.Beta.Models.externalTokenBasedSapIagConnectionInfo::|public|Domain:string Microsoft.Graph.Beta.Models.externalTokenBasedSapIagConnectionInfo::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.externalTokenBasedSapIagConnectionInfo::|public|KeyVaultName:string Microsoft.Graph.Beta.Models.externalTokenBasedSapIagConnectionInfo::|public|OdataType:string @@ -180268,6 +182413,10 @@ Microsoft.Graph.Beta.Models.fieldValueSet::|public|GetFieldDeserializers():IDict Microsoft.Graph.Beta.Models.fieldValueSet::|public|OdataType:string Microsoft.Graph.Beta.Models.fieldValueSet::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.fieldValueSet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.FieldValueSet +Microsoft.Graph.Beta.Models.fileArchiveStatus::0000-notArchived +Microsoft.Graph.Beta.Models.fileArchiveStatus::0001-fullyArchived +Microsoft.Graph.Beta.Models.fileArchiveStatus::0002-reactivating +Microsoft.Graph.Beta.Models.fileArchiveStatus::0003-unknownFutureValue Microsoft.Graph.Beta.Models.fileAssessmentRequest-->global.Microsoft.Graph.Beta.Models.ThreatAssessmentRequest Microsoft.Graph.Beta.Models.fileAssessmentRequest::|public|constructor():void Microsoft.Graph.Beta.Models.fileAssessmentRequest::|public|ContentData:string @@ -180326,6 +182475,7 @@ Microsoft.Graph.Beta.Models.fileHashType::0006-ctph Microsoft.Graph.Beta.Models.fileHashType::0007-unknownFutureValue Microsoft.Graph.Beta.Models.fileHash~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.fileObject::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.fileObject::|public|ArchiveStatus:global.Microsoft.Graph.Beta.Models.FileArchiveStatus? Microsoft.Graph.Beta.Models.fileObject::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.fileObject::|public|constructor():void Microsoft.Graph.Beta.Models.fileObject::|public|GetFieldDeserializers():IDictionary> @@ -180456,6 +182606,7 @@ Microsoft.Graph.Beta.Models.fileStorageContainerType::|public|GetFieldDeserializ Microsoft.Graph.Beta.Models.fileStorageContainerType::|public|Name:string Microsoft.Graph.Beta.Models.fileStorageContainerType::|public|OdataType:string Microsoft.Graph.Beta.Models.fileStorageContainerType::|public|OwningAppId:Guid? +Microsoft.Graph.Beta.Models.fileStorageContainerType::|public|Permissions:List Microsoft.Graph.Beta.Models.fileStorageContainerType::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.fileStorageContainerType::|public|Settings:global.Microsoft.Graph.Beta.Models.FileStorageContainerTypeSettings Microsoft.Graph.Beta.Models.fileStorageContainerType::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.FileStorageContainerType @@ -182824,6 +184975,18 @@ Microsoft.Graph.Beta.Models.IdentityGovernance.parameter::|public|Values:ListIAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.IdentityGovernance.previewFailedTask::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.IdentityGovernance.previewFailedTask::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.IdentityGovernance.previewFailedTask::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.previewFailedTask::|public|DefinitionId:string +Microsoft.Graph.Beta.Models.IdentityGovernance.previewFailedTask::|public|FailureReason:string +Microsoft.Graph.Beta.Models.IdentityGovernance.previewFailedTask::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.previewFailedTask::|public|Name:string +Microsoft.Graph.Beta.Models.IdentityGovernance.previewFailedTask::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.previewFailedTask::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.previewFailedTask::|public|TaskId:string +Microsoft.Graph.Beta.Models.IdentityGovernance.previewFailedTask::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.PreviewFailedTask +Microsoft.Graph.Beta.Models.IdentityGovernance.previewFailedTask~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.IdentityGovernance.ruleBasedSubjectSet-->global.Microsoft.Graph.Beta.Models.SubjectSet Microsoft.Graph.Beta.Models.IdentityGovernance.ruleBasedSubjectSet::|public|constructor():void Microsoft.Graph.Beta.Models.IdentityGovernance.ruleBasedSubjectSet::|public|GetFieldDeserializers():IDictionary> @@ -183071,6 +185234,7 @@ Microsoft.Graph.Beta.Models.IdentityGovernance.workflow::|public|GetFieldDeseria Microsoft.Graph.Beta.Models.IdentityGovernance.workflow::|public|Id:string Microsoft.Graph.Beta.Models.IdentityGovernance.workflow::|public|NextScheduleRunDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.IdentityGovernance.workflow::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.workflow::|public|PreviewScope:List Microsoft.Graph.Beta.Models.IdentityGovernance.workflow::|public|Runs:List Microsoft.Graph.Beta.Models.IdentityGovernance.workflow::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.IdentityGovernance.workflow::|public|TaskReports:List @@ -183123,6 +185287,7 @@ Microsoft.Graph.Beta.Models.IdentityGovernance.workflowExecutionType::0000-sched Microsoft.Graph.Beta.Models.IdentityGovernance.workflowExecutionType::0001-onDemand Microsoft.Graph.Beta.Models.IdentityGovernance.workflowExecutionType::0002-unknownFutureValue Microsoft.Graph.Beta.Models.IdentityGovernance.workflowExecutionType::0003-activatedWithScope +Microsoft.Graph.Beta.Models.IdentityGovernance.workflowExecutionType::0004-preview Microsoft.Graph.Beta.Models.IdentityGovernance.workflowsInsightsByCategory::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.IdentityGovernance.workflowsInsightsByCategory::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.IdentityGovernance.workflowsInsightsByCategory::|public|constructor():void @@ -183392,7 +185557,7 @@ Microsoft.Graph.Beta.Models.impactedResource::|public|ApiUrl:string Microsoft.Graph.Beta.Models.impactedResource::|public|DisplayName:string Microsoft.Graph.Beta.Models.impactedResource::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.impactedResource::|public|LastModifiedBy:string -Microsoft.Graph.Beta.Models.impactedResource::|public|LastModifiedDateTime:string +Microsoft.Graph.Beta.Models.impactedResource::|public|LastModifiedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.impactedResource::|public|OdataType:string Microsoft.Graph.Beta.Models.impactedResource::|public|Owner:string Microsoft.Graph.Beta.Models.impactedResource::|public|PortalUrl:string @@ -184621,7 +186786,6 @@ Microsoft.Graph.Beta.Models.intuneBrand::|public|OnlineSupportSiteName:string Microsoft.Graph.Beta.Models.intuneBrand::|public|OnlineSupportSiteUrl:string Microsoft.Graph.Beta.Models.intuneBrand::|public|PrivacyUrl:string Microsoft.Graph.Beta.Models.intuneBrand::|public|RoleScopeTagIds:List -Microsoft.Graph.Beta.Models.intuneBrand::|public|SendDeviceOwnershipChangePushNotification:bool? Microsoft.Graph.Beta.Models.intuneBrand::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.intuneBrand::|public|ShowAzureADEnterpriseApps:bool? Microsoft.Graph.Beta.Models.intuneBrand::|public|ShowConfigurationManagerApps:bool? @@ -184660,7 +186824,6 @@ Microsoft.Graph.Beta.Models.intuneBrandingProfile::|public|PrivacyUrl:string Microsoft.Graph.Beta.Models.intuneBrandingProfile::|public|ProfileDescription:string Microsoft.Graph.Beta.Models.intuneBrandingProfile::|public|ProfileName:string Microsoft.Graph.Beta.Models.intuneBrandingProfile::|public|RoleScopeTagIds:List -Microsoft.Graph.Beta.Models.intuneBrandingProfile::|public|SendDeviceOwnershipChangePushNotification:bool? Microsoft.Graph.Beta.Models.intuneBrandingProfile::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.intuneBrandingProfile::|public|ShowAzureADEnterpriseApps:bool? Microsoft.Graph.Beta.Models.intuneBrandingProfile::|public|ShowConfigurationManagerApps:bool? @@ -186886,6 +189049,7 @@ Microsoft.Graph.Beta.Models.list::|public|ContentTypes:List> +Microsoft.Graph.Beta.Models.list::|public|ItemCount:int? Microsoft.Graph.Beta.Models.list::|public|Items:List Microsoft.Graph.Beta.Models.list::|public|ListProp:global.Microsoft.Graph.Beta.Models.ListInfo Microsoft.Graph.Beta.Models.list::|public|OdataType:string @@ -187446,6 +189610,12 @@ Microsoft.Graph.Beta.Models.macOSDeviceFeaturesConfiguration::|public|SingleSign Microsoft.Graph.Beta.Models.macOSDeviceFeaturesConfiguration::|public|SingleSignOnExtensionPkinitCertificate:global.Microsoft.Graph.Beta.Models.MacOSCertificateProfileBase Microsoft.Graph.Beta.Models.macOSDeviceFeaturesConfiguration::|public|SleepDisabled:bool? Microsoft.Graph.Beta.Models.macOSDeviceFeaturesConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.MacOSDeviceFeaturesConfiguration +Microsoft.Graph.Beta.Models.macOSDeviceLocalAdminAccountDetail-->global.Microsoft.Graph.Beta.Models.DeviceLocalAdminAccountDetail +Microsoft.Graph.Beta.Models.macOSDeviceLocalAdminAccountDetail::|public|constructor():void +Microsoft.Graph.Beta.Models.macOSDeviceLocalAdminAccountDetail::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.macOSDeviceLocalAdminAccountDetail::|public|OdataType:string +Microsoft.Graph.Beta.Models.macOSDeviceLocalAdminAccountDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.macOSDeviceLocalAdminAccountDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.MacOSDeviceLocalAdminAccountDetail Microsoft.Graph.Beta.Models.macOSDmgApp-->global.Microsoft.Graph.Beta.Models.MobileLobApp Microsoft.Graph.Beta.Models.macOSDmgApp::|public|constructor():void Microsoft.Graph.Beta.Models.macOSDmgApp::|public|GetFieldDeserializers():IDictionary> @@ -191886,6 +194056,7 @@ Microsoft.Graph.Beta.Models.mobileAppAssignmentSettings~~>IAdditionalDataHolder; Microsoft.Graph.Beta.Models.mobileAppCatalogPackage-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.mobileAppCatalogPackage::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.mobileAppCatalogPackage::|public|OdataType:string +Microsoft.Graph.Beta.Models.mobileAppCatalogPackage::|public|ProductDescription:string Microsoft.Graph.Beta.Models.mobileAppCatalogPackage::|public|ProductDisplayName:string Microsoft.Graph.Beta.Models.mobileAppCatalogPackage::|public|ProductId:string Microsoft.Graph.Beta.Models.mobileAppCatalogPackage::|public|PublisherDisplayName:string @@ -192825,6 +194996,128 @@ Microsoft.Graph.Beta.Models.Networkaccess.cloudApplicationReport::|public|Transa Microsoft.Graph.Beta.Models.Networkaccess.cloudApplicationReport::|public|UserCount:int? Microsoft.Graph.Beta.Models.Networkaccess.cloudApplicationReport::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Networkaccess.CloudApplicationReport Microsoft.Graph.Beta.Models.Networkaccess.cloudApplicationReport~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallAction::0000-allow +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallAction::0001-block +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallAction::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationAddress::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationAddress::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationAddress::|public|constructor():void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationAddress::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationAddress::|public|OdataType:string +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationAddress::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationAddress::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallDestinationAddress +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationAddress~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationFqdnAddress-->global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallDestinationAddress +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationFqdnAddress::|public|constructor():void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationFqdnAddress::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationFqdnAddress::|public|OdataType:string +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationFqdnAddress::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationFqdnAddress::|public|Values:List +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationFqdnAddress::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallDestinationFqdnAddress +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationIpAddress-->global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallDestinationAddress +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationIpAddress::|public|constructor():void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationIpAddress::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationIpAddress::|public|OdataType:string +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationIpAddress::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationIpAddress::|public|Values:List +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationIpAddress::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallDestinationIpAddress +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationMatching::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationMatching::|public|Addresses:List +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationMatching::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationMatching::|public|constructor():void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationMatching::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationMatching::|public|OdataType:string +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationMatching::|public|Ports:List +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationMatching::|public|Protocols:global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallProtocol? +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationMatching::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationMatching::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallDestinationMatching +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallDestinationMatching~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallMatchingConditions::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallMatchingConditions::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallMatchingConditions::|public|constructor():void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallMatchingConditions::|public|Destinations:global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallDestinationMatching +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallMatchingConditions::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallMatchingConditions::|public|OdataType:string +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallMatchingConditions::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallMatchingConditions::|public|Sources:global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallSourceMatching +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallMatchingConditions::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallMatchingConditions +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallMatchingConditions~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicy-->global.Microsoft.Graph.Beta.Models.Networkaccess.Policy +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicy::|public|constructor():void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicy::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicy::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicy::|public|OdataType:string +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicy::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicy::|public|Settings:global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicySettings +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicy +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicyCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicyCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicyCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicyCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicyCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicyCollectionResponse +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicyLink-->global.Microsoft.Graph.Beta.Models.Networkaccess.PolicyLink +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicyLink::|public|constructor():void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicyLink::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicyLink::|public|OdataType:string +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicyLink::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicyLink::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicyLink +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicySettings::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicySettings::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicySettings::|public|constructor():void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicySettings::|public|DefaultAction:global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallAction? +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicySettings::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicySettings::|public|OdataType:string +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicySettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicySettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicySettings +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallPolicySettings~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallProtocol::0000-tcp +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallProtocol::0001-udp +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallProtocol::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallRule-->global.Microsoft.Graph.Beta.Models.Networkaccess.PolicyRule +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallRule::|public|Action:global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallAction? +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallRule::|public|constructor():void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallRule::|public|Description:string +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallRule::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallRule::|public|MatchingConditions:global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallMatchingConditions +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallRule::|public|OdataType:string +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallRule::|public|Priority:long? +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallRule::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallRule::|public|Settings:global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallRuleSettings +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallRule::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallRule +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallRuleSettings::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallRuleSettings::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallRuleSettings::|public|constructor():void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallRuleSettings::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallRuleSettings::|public|OdataType:string +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallRuleSettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallRuleSettings::|public|Status:global.Microsoft.Graph.Beta.Models.Networkaccess.SecurityRuleStatus? +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallRuleSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallRuleSettings +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallRuleSettings~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallSourceAddress::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallSourceAddress::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallSourceAddress::|public|constructor():void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallSourceAddress::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallSourceAddress::|public|OdataType:string +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallSourceAddress::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallSourceAddress::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallSourceAddress +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallSourceAddress~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallSourceIpAddress-->global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallSourceAddress +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallSourceIpAddress::|public|constructor():void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallSourceIpAddress::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallSourceIpAddress::|public|OdataType:string +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallSourceIpAddress::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallSourceIpAddress::|public|Values:List +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallSourceIpAddress::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallSourceIpAddress +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallSourceMatching::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallSourceMatching::|public|Addresses:List +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallSourceMatching::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallSourceMatching::|public|constructor():void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallSourceMatching::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallSourceMatching::|public|OdataType:string +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallSourceMatching::|public|Ports:List +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallSourceMatching::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallSourceMatching::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallSourceMatching +Microsoft.Graph.Beta.Models.Networkaccess.cloudFirewallSourceMatching~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.Networkaccess.conditionalAccessPolicy-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.Networkaccess.conditionalAccessPolicy::|public|CreatedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.Networkaccess.conditionalAccessPolicy::|public|Description:string @@ -192849,15 +195142,18 @@ Microsoft.Graph.Beta.Models.Networkaccess.connection-->global.Microsoft.Graph.Be Microsoft.Graph.Beta.Models.Networkaccess.connection::|public|AgentVersion:string Microsoft.Graph.Beta.Models.Networkaccess.connection::|public|ApplicationSnapshot:global.Microsoft.Graph.Beta.Models.Networkaccess.ApplicationSnapshot Microsoft.Graph.Beta.Models.Networkaccess.connection::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.Networkaccess.connection::|public|CrossTenantAccessType:global.Microsoft.Graph.Beta.Models.Networkaccess.CrossTenantAccessType? Microsoft.Graph.Beta.Models.Networkaccess.connection::|public|DestinationFqdn:string Microsoft.Graph.Beta.Models.Networkaccess.connection::|public|DestinationIp:string Microsoft.Graph.Beta.Models.Networkaccess.connection::|public|DestinationPort:int? Microsoft.Graph.Beta.Models.Networkaccess.connection::|public|DeviceCategory:global.Microsoft.Graph.Beta.Models.Networkaccess.DeviceCategory? Microsoft.Graph.Beta.Models.Networkaccess.connection::|public|DeviceId:string +Microsoft.Graph.Beta.Models.Networkaccess.connection::|public|DeviceJoinType:global.Microsoft.Graph.Beta.Models.Networkaccess.DeviceJoinType? Microsoft.Graph.Beta.Models.Networkaccess.connection::|public|DeviceOperatingSystem:string Microsoft.Graph.Beta.Models.Networkaccess.connection::|public|DeviceOperatingSystemVersion:string Microsoft.Graph.Beta.Models.Networkaccess.connection::|public|EndDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.Networkaccess.connection::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Networkaccess.connection::|public|HomeTenantId:string Microsoft.Graph.Beta.Models.Networkaccess.connection::|public|InitiatingProcessName:string Microsoft.Graph.Beta.Models.Networkaccess.connection::|public|LastUpdateDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.Networkaccess.connection::|public|NetworkProtocol:global.Microsoft.Graph.Beta.Models.Networkaccess.NetworkingProtocol? @@ -192943,6 +195239,9 @@ Microsoft.Graph.Beta.Models.Networkaccess.crossTenantAccessSettings::|public|Net Microsoft.Graph.Beta.Models.Networkaccess.crossTenantAccessSettings::|public|OdataType:string Microsoft.Graph.Beta.Models.Networkaccess.crossTenantAccessSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Networkaccess.crossTenantAccessSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Networkaccess.CrossTenantAccessSettings +Microsoft.Graph.Beta.Models.Networkaccess.crossTenantAccessType::0000-none +Microsoft.Graph.Beta.Models.Networkaccess.crossTenantAccessType::0001-b2bCollaboration +Microsoft.Graph.Beta.Models.Networkaccess.crossTenantAccessType::0002-unknownFutureValue Microsoft.Graph.Beta.Models.Networkaccess.crossTenantAccess~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.Networkaccess.crossTenantSummary::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.Networkaccess.crossTenantSummary::|public|AuthTransactionCount:int? @@ -193014,6 +195313,10 @@ Microsoft.Graph.Beta.Models.Networkaccess.deviceCategory::0000-client Microsoft.Graph.Beta.Models.Networkaccess.deviceCategory::0001-branch Microsoft.Graph.Beta.Models.Networkaccess.deviceCategory::0002-unknownFutureValue Microsoft.Graph.Beta.Models.Networkaccess.deviceCategory::0003-remoteNetwork +Microsoft.Graph.Beta.Models.Networkaccess.deviceJoinType::0000-none +Microsoft.Graph.Beta.Models.Networkaccess.deviceJoinType::0001-microsoftEntraJoined +Microsoft.Graph.Beta.Models.Networkaccess.deviceJoinType::0002-microsoftEntraRegistered +Microsoft.Graph.Beta.Models.Networkaccess.deviceJoinType::0003-unknownFutureValue Microsoft.Graph.Beta.Models.Networkaccess.deviceLink-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.Networkaccess.deviceLink::|public|BandwidthCapacityInMbps:global.Microsoft.Graph.Beta.Models.Networkaccess.BandwidthCapacityInMbps? Microsoft.Graph.Beta.Models.Networkaccess.deviceLink::|public|BgpConfiguration:global.Microsoft.Graph.Beta.Models.Networkaccess.BgpConfiguration @@ -193060,6 +195363,12 @@ Microsoft.Graph.Beta.Models.Networkaccess.deviceVendor::0013-versa Microsoft.Graph.Beta.Models.Networkaccess.deviceVendor::0014-other Microsoft.Graph.Beta.Models.Networkaccess.deviceVendor::0015-ciscoCatalyst Microsoft.Graph.Beta.Models.Networkaccess.deviceVendor::0016-unknownFutureValue +Microsoft.Graph.Beta.Models.Networkaccess.deviceVendor::0017-aviatrix +Microsoft.Graph.Beta.Models.Networkaccess.deviceVendor::0018-netskope +Microsoft.Graph.Beta.Models.Networkaccess.deviceVendor::0019-teridion +Microsoft.Graph.Beta.Models.Networkaccess.deviceVendor::0020-aristaNetworks +Microsoft.Graph.Beta.Models.Networkaccess.deviceVendor::0021-aristaVeloCloud +Microsoft.Graph.Beta.Models.Networkaccess.deviceVendor::0022-juniperNetworks Microsoft.Graph.Beta.Models.Networkaccess.device~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.Networkaccess.dhGroup::0000-dhGroup14 Microsoft.Graph.Beta.Models.Networkaccess.dhGroup::0001-dhGroup24 @@ -193439,6 +195748,7 @@ Microsoft.Graph.Beta.Models.Networkaccess.markdownBlockMessageConfiguration::|pu Microsoft.Graph.Beta.Models.Networkaccess.markdownBlockMessageConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Networkaccess.MarkdownBlockMessageConfiguration Microsoft.Graph.Beta.Models.Networkaccess.networkAccessRoot-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.Networkaccess.networkAccessRoot::|public|Alerts:List +Microsoft.Graph.Beta.Models.Networkaccess.networkAccessRoot::|public|CloudFirewallPolicies:List Microsoft.Graph.Beta.Models.Networkaccess.networkAccessRoot::|public|Connectivity:global.Microsoft.Graph.Beta.Models.Networkaccess.Connectivity Microsoft.Graph.Beta.Models.Networkaccess.networkAccessRoot::|public|FilteringPolicies:List Microsoft.Graph.Beta.Models.Networkaccess.networkAccessRoot::|public|FilteringProfiles:List @@ -193701,6 +196011,11 @@ Microsoft.Graph.Beta.Models.Networkaccess.region::0032-italyNorth Microsoft.Graph.Beta.Models.Networkaccess.region::0033-franceSouth Microsoft.Graph.Beta.Models.Networkaccess.region::0034-israelCentral Microsoft.Graph.Beta.Models.Networkaccess.region::0035-unknownFutureValue +Microsoft.Graph.Beta.Models.Networkaccess.region::0036-taiwanNorth +Microsoft.Graph.Beta.Models.Networkaccess.region::0037-mexicoCentral +Microsoft.Graph.Beta.Models.Networkaccess.region::0038-spainCentral +Microsoft.Graph.Beta.Models.Networkaccess.region::0039-jioIndiaCentral +Microsoft.Graph.Beta.Models.Networkaccess.region::0040-brazilSouthEast Microsoft.Graph.Beta.Models.Networkaccess.relatedDestination-->global.Microsoft.Graph.Beta.Models.Networkaccess.RelatedResource Microsoft.Graph.Beta.Models.Networkaccess.relatedDestination::|public|constructor():void Microsoft.Graph.Beta.Models.Networkaccess.relatedDestination::|public|Fqdn:string @@ -194444,6 +196759,10 @@ Microsoft.Graph.Beta.Models.notificationTemplateBrandingOptions::0003-includeCon Microsoft.Graph.Beta.Models.notificationTemplateBrandingOptions::0004-includeCompanyPortalLink Microsoft.Graph.Beta.Models.notificationTemplateBrandingOptions::0005-includeDeviceDetails Microsoft.Graph.Beta.Models.notificationTemplateBrandingOptions::0006-unknownFutureValue +Microsoft.Graph.Beta.Models.notifyMembers::0000-all +Microsoft.Graph.Beta.Models.notifyMembers::0001-allowSelected +Microsoft.Graph.Beta.Models.notifyMembers::0002-blockSelected +Microsoft.Graph.Beta.Models.notifyMembers::0003-unknownFutureValue Microsoft.Graph.Beta.Models.notifyUserAction-->global.Microsoft.Graph.Beta.Models.DlpActionInfo Microsoft.Graph.Beta.Models.notifyUserAction::|public|ActionLastModifiedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.notifyUserAction::|public|EmailText:string @@ -194662,6 +196981,31 @@ Microsoft.Graph.Beta.Models.ODataErrors.ODataError::|public|GetFieldDeserializer Microsoft.Graph.Beta.Models.ODataErrors.ODataError::|public|Message:string Microsoft.Graph.Beta.Models.ODataErrors.ODataError::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.ODataErrors.ODataError::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ODataErrors.ODataError +Microsoft.Graph.Beta.Models.offboardingActivityLog-->global.Microsoft.Graph.Beta.Models.ActivityLogBase +Microsoft.Graph.Beta.Models.offboardingActivityLog::|public|constructor():void +Microsoft.Graph.Beta.Models.offboardingActivityLog::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.offboardingActivityLog::|public|OdataType:string +Microsoft.Graph.Beta.Models.offboardingActivityLog::|public|OffboardingDetails:global.Microsoft.Graph.Beta.Models.OffboardingDetails +Microsoft.Graph.Beta.Models.offboardingActivityLog::|public|PolicyId:string +Microsoft.Graph.Beta.Models.offboardingActivityLog::|public|PolicyName:string +Microsoft.Graph.Beta.Models.offboardingActivityLog::|public|PolicyStatus:global.Microsoft.Graph.Beta.Models.ProtectionPolicyStatus? +Microsoft.Graph.Beta.Models.offboardingActivityLog::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.offboardingActivityLog::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OffboardingActivityLog +Microsoft.Graph.Beta.Models.offboardingDetails::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.offboardingDetails::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.offboardingDetails::|public|CancelledCount:int? +Microsoft.Graph.Beta.Models.offboardingDetails::|public|constructor():void +Microsoft.Graph.Beta.Models.offboardingDetails::|public|FailedCount:int? +Microsoft.Graph.Beta.Models.offboardingDetails::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.offboardingDetails::|public|OdataType:string +Microsoft.Graph.Beta.Models.offboardingDetails::|public|OffboardedCount:int? +Microsoft.Graph.Beta.Models.offboardingDetails::|public|OffboardEndDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.offboardingDetails::|public|OffboardingStatus:string +Microsoft.Graph.Beta.Models.offboardingDetails::|public|OffboardStartDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.offboardingDetails::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.offboardingDetails::|public|TotalRequestedCount:int? +Microsoft.Graph.Beta.Models.offboardingDetails::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OffboardingDetails +Microsoft.Graph.Beta.Models.offboardingDetails~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.offerShiftRequest-->global.Microsoft.Graph.Beta.Models.ScheduleChangeRequest Microsoft.Graph.Beta.Models.offerShiftRequest::|public|constructor():void Microsoft.Graph.Beta.Models.offerShiftRequest::|public|GetFieldDeserializers():IDictionary> @@ -195766,6 +198110,7 @@ Microsoft.Graph.Beta.Models.onPremisesPublishing::|public|OnPremisesApplicationS Microsoft.Graph.Beta.Models.onPremisesPublishing::|public|SegmentsConfiguration:global.Microsoft.Graph.Beta.Models.SegmentConfiguration Microsoft.Graph.Beta.Models.onPremisesPublishing::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.onPremisesPublishing::|public|SingleSignOnSettings:global.Microsoft.Graph.Beta.Models.OnPremisesPublishingSingleSignOn +Microsoft.Graph.Beta.Models.onPremisesPublishing::|public|TrafficRoutingMethod:global.Microsoft.Graph.Beta.Models.TrafficRoutingMethod? Microsoft.Graph.Beta.Models.onPremisesPublishing::|public|UseAlternateUrlForTranslationAndRedirect:bool? Microsoft.Graph.Beta.Models.onPremisesPublishing::|public|VerifiedCustomDomainCertificatesMetadata:global.Microsoft.Graph.Beta.Models.VerifiedCustomDomainCertificatesMetadata Microsoft.Graph.Beta.Models.onPremisesPublishing::|public|VerifiedCustomDomainKeyCredential:global.Microsoft.Graph.Beta.Models.KeyCredential @@ -196079,10 +198424,14 @@ Microsoft.Graph.Beta.Models.operationApprovalPolicySet::|public|Serialize(writer Microsoft.Graph.Beta.Models.operationApprovalPolicySet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OperationApprovalPolicySet Microsoft.Graph.Beta.Models.operationApprovalPolicySet~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.operationApprovalPolicyType::0000-unknown -Microsoft.Graph.Beta.Models.operationApprovalPolicyType::0001-app -Microsoft.Graph.Beta.Models.operationApprovalPolicyType::0002-script -Microsoft.Graph.Beta.Models.operationApprovalPolicyType::0003-role -Microsoft.Graph.Beta.Models.operationApprovalPolicyType::0004-unknownFutureValue +Microsoft.Graph.Beta.Models.operationApprovalPolicyType::0001-deviceWipe +Microsoft.Graph.Beta.Models.operationApprovalPolicyType::0002-deviceRetire +Microsoft.Graph.Beta.Models.operationApprovalPolicyType::0003-deviceDelete +Microsoft.Graph.Beta.Models.operationApprovalPolicyType::0004-app +Microsoft.Graph.Beta.Models.operationApprovalPolicyType::0005-script +Microsoft.Graph.Beta.Models.operationApprovalPolicyType::0006-role +Microsoft.Graph.Beta.Models.operationApprovalPolicyType::0007-unknownFutureValue +Microsoft.Graph.Beta.Models.operationApprovalPolicyType::0008-tenantConfiguration Microsoft.Graph.Beta.Models.operationApprovalRequest-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.operationApprovalRequest::|public|ApprovalJustification:string Microsoft.Graph.Beta.Models.operationApprovalRequest::|public|Approver:global.Microsoft.Graph.Beta.Models.IdentitySet @@ -196340,11 +198689,6 @@ Microsoft.Graph.Beta.Models.organizationalBrandingThemeLocalizationCollectionRes Microsoft.Graph.Beta.Models.organizationalBrandingThemeLocalizationCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.organizationalBrandingThemeLocalizationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OrganizationalBrandingThemeLocalizationCollectionResponse Microsoft.Graph.Beta.Models.organizationalBrandingThemeLocalization~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Graph.Beta.Models.organizationAllowedAudiences::0000-me -Microsoft.Graph.Beta.Models.organizationAllowedAudiences::0001-organization -Microsoft.Graph.Beta.Models.organizationAllowedAudiences::0002-federatedOrganizations -Microsoft.Graph.Beta.Models.organizationAllowedAudiences::0003-everyone -Microsoft.Graph.Beta.Models.organizationAllowedAudiences::0004-unknownFutureValue Microsoft.Graph.Beta.Models.organizationCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Beta.Models.organizationCollectionResponse::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.organizationCollectionResponse::|public|Serialize(writer:ISerializationWriter):void @@ -196620,6 +198964,18 @@ Microsoft.Graph.Beta.Models.overprovisionedUserFinding::|public|GetFieldDeserial Microsoft.Graph.Beta.Models.overprovisionedUserFinding::|public|OdataType:string Microsoft.Graph.Beta.Models.overprovisionedUserFinding::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.overprovisionedUserFinding::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OverprovisionedUserFinding +Microsoft.Graph.Beta.Models.ownerlessGroupPolicy-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.ownerlessGroupPolicy::|public|EmailInfo:global.Microsoft.Graph.Beta.Models.EmailDetails +Microsoft.Graph.Beta.Models.ownerlessGroupPolicy::|public|EnabledGroupIds:List +Microsoft.Graph.Beta.Models.ownerlessGroupPolicy::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.ownerlessGroupPolicy::|public|IsEnabled:bool? +Microsoft.Graph.Beta.Models.ownerlessGroupPolicy::|public|MaxMembersToNotify:long? +Microsoft.Graph.Beta.Models.ownerlessGroupPolicy::|public|NotificationDurationInWeeks:long? +Microsoft.Graph.Beta.Models.ownerlessGroupPolicy::|public|OdataType:string +Microsoft.Graph.Beta.Models.ownerlessGroupPolicy::|public|PolicyWebUrl:string +Microsoft.Graph.Beta.Models.ownerlessGroupPolicy::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.ownerlessGroupPolicy::|public|TargetOwners:global.Microsoft.Graph.Beta.Models.TargetOwners +Microsoft.Graph.Beta.Models.ownerlessGroupPolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OwnerlessGroupPolicy Microsoft.Graph.Beta.Models.ownerType::0000-unknown Microsoft.Graph.Beta.Models.ownerType::0001-company Microsoft.Graph.Beta.Models.ownerType::0002-personal @@ -198795,6 +201151,7 @@ Microsoft.Graph.Beta.Models.plannerTask::|public|IsOnMyDay:bool? Microsoft.Graph.Beta.Models.plannerTask::|public|IsOnMyDayLastModifiedDate:Date? Microsoft.Graph.Beta.Models.plannerTask::|public|LastModifiedBy:global.Microsoft.Graph.Beta.Models.IdentitySet Microsoft.Graph.Beta.Models.plannerTask::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.plannerTask::|public|Messages:List Microsoft.Graph.Beta.Models.plannerTask::|public|OdataType:string Microsoft.Graph.Beta.Models.plannerTask::|public|OrderHint:string Microsoft.Graph.Beta.Models.plannerTask::|public|PercentComplete:int? @@ -198809,6 +201166,62 @@ Microsoft.Graph.Beta.Models.plannerTask::|public|SpecifiedCompletionRequirements Microsoft.Graph.Beta.Models.plannerTask::|public|StartDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.plannerTask::|public|Title:string Microsoft.Graph.Beta.Models.plannerTask::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Models.plannerTaskChatMention::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.plannerTaskChatMention::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.plannerTaskChatMention::|public|constructor():void +Microsoft.Graph.Beta.Models.plannerTaskChatMention::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.plannerTaskChatMention::|public|Mentioned:string +Microsoft.Graph.Beta.Models.plannerTaskChatMention::|public|MentionType:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMentionType? +Microsoft.Graph.Beta.Models.plannerTaskChatMention::|public|OdataType:string +Microsoft.Graph.Beta.Models.plannerTaskChatMention::|public|Position:int? +Microsoft.Graph.Beta.Models.plannerTaskChatMention::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.plannerTaskChatMention::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMention +Microsoft.Graph.Beta.Models.plannerTaskChatMentionType::0000-user +Microsoft.Graph.Beta.Models.plannerTaskChatMentionType::0001-application +Microsoft.Graph.Beta.Models.plannerTaskChatMentionType::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.plannerTaskChatMention~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.plannerTaskChatMessage-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.plannerTaskChatMessage::|public|Content:string +Microsoft.Graph.Beta.Models.plannerTaskChatMessage::|public|CreatedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.plannerTaskChatMessage::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.plannerTaskChatMessage::|public|DeletedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.plannerTaskChatMessage::|public|EditedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.plannerTaskChatMessage::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.plannerTaskChatMessage::|public|Mentions:List +Microsoft.Graph.Beta.Models.plannerTaskChatMessage::|public|MessageType:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageType? +Microsoft.Graph.Beta.Models.plannerTaskChatMessage::|public|OdataType:string +Microsoft.Graph.Beta.Models.plannerTaskChatMessage::|public|ParentEntityId:string +Microsoft.Graph.Beta.Models.plannerTaskChatMessage::|public|Reactions:List +Microsoft.Graph.Beta.Models.plannerTaskChatMessage::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.plannerTaskChatMessage::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Models.plannerTaskChatMessageCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.plannerTaskChatMessageCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.plannerTaskChatMessageCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.plannerTaskChatMessageCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.plannerTaskChatMessageCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Models.plannerTaskChatMessageType::0000-richTextHtml +Microsoft.Graph.Beta.Models.plannerTaskChatMessageType::0001-plainText +Microsoft.Graph.Beta.Models.plannerTaskChatMessageType::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.plannerTaskChatReaction::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.plannerTaskChatReaction::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.plannerTaskChatReaction::|public|constructor():void +Microsoft.Graph.Beta.Models.plannerTaskChatReaction::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.plannerTaskChatReaction::|public|OdataType:string +Microsoft.Graph.Beta.Models.plannerTaskChatReaction::|public|ReactionEvents:List +Microsoft.Graph.Beta.Models.plannerTaskChatReaction::|public|ReactionType:string +Microsoft.Graph.Beta.Models.plannerTaskChatReaction::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.plannerTaskChatReaction::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PlannerTaskChatReaction +Microsoft.Graph.Beta.Models.plannerTaskChatReactionEvent::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.plannerTaskChatReactionEvent::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.plannerTaskChatReactionEvent::|public|constructor():void +Microsoft.Graph.Beta.Models.plannerTaskChatReactionEvent::|public|CreatedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.plannerTaskChatReactionEvent::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.plannerTaskChatReactionEvent::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.plannerTaskChatReactionEvent::|public|OdataType:string +Microsoft.Graph.Beta.Models.plannerTaskChatReactionEvent::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.plannerTaskChatReactionEvent::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PlannerTaskChatReactionEvent +Microsoft.Graph.Beta.Models.plannerTaskChatReactionEvent~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.plannerTaskChatReaction~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.plannerTaskCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Beta.Models.plannerTaskCollectionResponse::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.plannerTaskCollectionResponse::|public|Serialize(writer:ISerializationWriter):void @@ -199135,6 +201548,7 @@ Microsoft.Graph.Beta.Models.policyRoot::|public|MobileAppManagementPolicies:List Microsoft.Graph.Beta.Models.policyRoot::|public|MobileDeviceManagementPolicies:List Microsoft.Graph.Beta.Models.policyRoot::|public|OdataType:string Microsoft.Graph.Beta.Models.policyRoot::|public|OnPremAuthenticationPolicies:List +Microsoft.Graph.Beta.Models.policyRoot::|public|OwnerlessGroupPolicy:global.Microsoft.Graph.Beta.Models.OwnerlessGroupPolicy Microsoft.Graph.Beta.Models.policyRoot::|public|PermissionGrantPolicies:List Microsoft.Graph.Beta.Models.policyRoot::|public|PermissionGrantPreApprovalPolicies:List Microsoft.Graph.Beta.Models.policyRoot::|public|RoleManagementPolicies:List @@ -201413,6 +203827,9 @@ Microsoft.Graph.Beta.Models.privilegeEscalationUserFinding::|public|GetFieldDese Microsoft.Graph.Beta.Models.privilegeEscalationUserFinding::|public|OdataType:string Microsoft.Graph.Beta.Models.privilegeEscalationUserFinding::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.privilegeEscalationUserFinding::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PrivilegeEscalationUserFinding +Microsoft.Graph.Beta.Models.privilegeLevel::0000-standard +Microsoft.Graph.Beta.Models.privilegeLevel::0001-privileged +Microsoft.Graph.Beta.Models.privilegeLevel::0002-unknownFutureValue Microsoft.Graph.Beta.Models.privilegeManagementElevation-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.privilegeManagementElevation::|public|CertificatePayload:string Microsoft.Graph.Beta.Models.privilegeManagementElevation::|public|CompanyName:string @@ -201518,6 +203935,7 @@ Microsoft.Graph.Beta.Models.processContentMetadataBase::|public|AdditionalData:I Microsoft.Graph.Beta.Models.processContentMetadataBase::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.processContentMetadataBase::|public|constructor():void Microsoft.Graph.Beta.Models.processContentMetadataBase::|public|Content:global.Microsoft.Graph.Beta.Models.ContentBase +Microsoft.Graph.Beta.Models.processContentMetadataBase::|public|ContentCategory:global.Microsoft.Graph.Beta.Models.ContentCategory? Microsoft.Graph.Beta.Models.processContentMetadataBase::|public|CorrelationId:string Microsoft.Graph.Beta.Models.processContentMetadataBase::|public|CreatedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.processContentMetadataBase::|public|GetFieldDeserializers():IDictionary> @@ -201637,6 +204055,7 @@ Microsoft.Graph.Beta.Models.profileCardProperty-->global.Microsoft.Graph.Beta.Mo Microsoft.Graph.Beta.Models.profileCardProperty::|public|Annotations:List Microsoft.Graph.Beta.Models.profileCardProperty::|public|DirectoryPropertyName:string Microsoft.Graph.Beta.Models.profileCardProperty::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.profileCardProperty::|public|IsVisible:bool? Microsoft.Graph.Beta.Models.profileCardProperty::|public|OdataType:string Microsoft.Graph.Beta.Models.profileCardProperty::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.profileCardProperty::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ProfileCardProperty @@ -201658,9 +204077,8 @@ Microsoft.Graph.Beta.Models.profilePhotoCollectionResponse::|public|Serialize(wr Microsoft.Graph.Beta.Models.profilePhotoCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.profilePhotoCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ProfilePhotoCollectionResponse Microsoft.Graph.Beta.Models.profilePropertySetting-->global.Microsoft.Graph.Beta.Models.Entity -Microsoft.Graph.Beta.Models.profilePropertySetting::|public|AllowedAudiences:global.Microsoft.Graph.Beta.Models.OrganizationAllowedAudiences? +Microsoft.Graph.Beta.Models.profilePropertySetting::|public|DisplayName:string Microsoft.Graph.Beta.Models.profilePropertySetting::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Beta.Models.profilePropertySetting::|public|IsUserOverrideForAudienceEnabled:bool? Microsoft.Graph.Beta.Models.profilePropertySetting::|public|Name:string Microsoft.Graph.Beta.Models.profilePropertySetting::|public|OdataType:string Microsoft.Graph.Beta.Models.profilePropertySetting::|public|PrioritizedSourceUrls:List @@ -201954,6 +204372,7 @@ Microsoft.Graph.Beta.Models.protectionSource::0001-manual Microsoft.Graph.Beta.Models.protectionSource::0002-dynamicRule Microsoft.Graph.Beta.Models.protectionSource::0003-unknownFutureValue Microsoft.Graph.Beta.Models.protectionUnitBase-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.protectionUnitBase::|public|BackupRetentionPeriodInDays:int? Microsoft.Graph.Beta.Models.protectionUnitBase::|public|CreatedBy:global.Microsoft.Graph.Beta.Models.IdentitySet Microsoft.Graph.Beta.Models.protectionUnitBase::|public|CreatedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.protectionUnitBase::|public|Error:global.Microsoft.Graph.Beta.Models.PublicError @@ -201972,6 +204391,20 @@ Microsoft.Graph.Beta.Models.protectionUnitBaseCollectionResponse::|public|GetFie Microsoft.Graph.Beta.Models.protectionUnitBaseCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.protectionUnitBaseCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.protectionUnitBaseCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ProtectionUnitBaseCollectionResponse +Microsoft.Graph.Beta.Models.protectionUnitDetails::|public|AddedCount:int? +Microsoft.Graph.Beta.Models.protectionUnitDetails::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.protectionUnitDetails::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.protectionUnitDetails::|public|BackupConfigurationType:string +Microsoft.Graph.Beta.Models.protectionUnitDetails::|public|constructor():void +Microsoft.Graph.Beta.Models.protectionUnitDetails::|public|FailedCount:int? +Microsoft.Graph.Beta.Models.protectionUnitDetails::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.protectionUnitDetails::|public|OdataType:string +Microsoft.Graph.Beta.Models.protectionUnitDetails::|public|RemovedCount:int? +Microsoft.Graph.Beta.Models.protectionUnitDetails::|public|RequestedToAddCount:int? +Microsoft.Graph.Beta.Models.protectionUnitDetails::|public|RequestedToRemoveCount:int? +Microsoft.Graph.Beta.Models.protectionUnitDetails::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.protectionUnitDetails::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ProtectionUnitDetails +Microsoft.Graph.Beta.Models.protectionUnitDetails~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.protectionUnitsBulkJobBase-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.protectionUnitsBulkJobBase::|public|CreatedBy:global.Microsoft.Graph.Beta.Models.IdentitySet Microsoft.Graph.Beta.Models.protectionUnitsBulkJobBase::|public|CreatedDateTime:DateTimeOffset? @@ -203423,6 +205856,8 @@ Microsoft.Graph.Beta.Models.remoteAction::0035-pauseConfigurationRefresh Microsoft.Graph.Beta.Models.remoteAction::0036-initiateDeviceAttestation Microsoft.Graph.Beta.Models.remoteAction::0037-changeAssignments Microsoft.Graph.Beta.Models.remoteAction::0038-delete +Microsoft.Graph.Beta.Models.remoteAction::0039-suspendManagedHomeScreen +Microsoft.Graph.Beta.Models.remoteAction::0040-restoreManagedHomeScreen Microsoft.Graph.Beta.Models.remoteActionAudit-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.remoteActionAudit::|public|Action:global.Microsoft.Graph.Beta.Models.RemoteAction? Microsoft.Graph.Beta.Models.remoteActionAudit::|public|ActionState:global.Microsoft.Graph.Beta.Models.ActionState? @@ -204024,6 +206459,17 @@ Microsoft.Graph.Beta.Models.restoreArtifactBase::|public|Serialize(writer:ISeria Microsoft.Graph.Beta.Models.restoreArtifactBase::|public|StartDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.restoreArtifactBase::|public|Status:global.Microsoft.Graph.Beta.Models.ArtifactRestoreStatus? Microsoft.Graph.Beta.Models.restoreArtifactBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.RestoreArtifactBase +Microsoft.Graph.Beta.Models.restoreArtifactDetails::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.restoreArtifactDetails::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.restoreArtifactDetails::|public|constructor():void +Microsoft.Graph.Beta.Models.restoreArtifactDetails::|public|FailedCount:int? +Microsoft.Graph.Beta.Models.restoreArtifactDetails::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.restoreArtifactDetails::|public|OdataType:string +Microsoft.Graph.Beta.Models.restoreArtifactDetails::|public|RestoredCount:int? +Microsoft.Graph.Beta.Models.restoreArtifactDetails::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.restoreArtifactDetails::|public|TotalArtifactsCount:int? +Microsoft.Graph.Beta.Models.restoreArtifactDetails::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.RestoreArtifactDetails +Microsoft.Graph.Beta.Models.restoreArtifactDetails~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.restoreArtifactsBulkRequestBase-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.restoreArtifactsBulkRequestBase::|public|CreatedBy:global.Microsoft.Graph.Beta.Models.IdentitySet Microsoft.Graph.Beta.Models.restoreArtifactsBulkRequestBase::|public|CreatedDateTime:DateTimeOffset? @@ -204091,6 +206537,7 @@ Microsoft.Graph.Beta.Models.restorePointSearchResult~~>IAdditionalDataHolder; IB Microsoft.Graph.Beta.Models.restorePointTags::0000-none Microsoft.Graph.Beta.Models.restorePointTags::0001-fastRestore Microsoft.Graph.Beta.Models.restorePointTags::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.restorePointTags::0003-includeNewerItems Microsoft.Graph.Beta.Models.restoreSessionArtifactCount::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.restoreSessionArtifactCount::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.restoreSessionArtifactCount::|public|Completed:int? @@ -204129,6 +206576,18 @@ Microsoft.Graph.Beta.Models.restoreSessionStatus::0003-completedWithError Microsoft.Graph.Beta.Models.restoreSessionStatus::0004-completed Microsoft.Graph.Beta.Models.restoreSessionStatus::0005-unknownFutureValue Microsoft.Graph.Beta.Models.restoreSessionStatus::0006-failed +Microsoft.Graph.Beta.Models.restoreTaskActivityLog-->global.Microsoft.Graph.Beta.Models.ActivityLogBase +Microsoft.Graph.Beta.Models.restoreTaskActivityLog::|public|constructor():void +Microsoft.Graph.Beta.Models.restoreTaskActivityLog::|public|DestinationType:global.Microsoft.Graph.Beta.Models.DestinationType? +Microsoft.Graph.Beta.Models.restoreTaskActivityLog::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.restoreTaskActivityLog::|public|OdataType:string +Microsoft.Graph.Beta.Models.restoreTaskActivityLog::|public|RestoreArtifactDetails:global.Microsoft.Graph.Beta.Models.RestoreArtifactDetails +Microsoft.Graph.Beta.Models.restoreTaskActivityLog::|public|RestoreCompletionDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.restoreTaskActivityLog::|public|RestoreSessionId:string +Microsoft.Graph.Beta.Models.restoreTaskActivityLog::|public|RestoreSessionStatus:global.Microsoft.Graph.Beta.Models.RestoreSessionStatus? +Microsoft.Graph.Beta.Models.restoreTaskActivityLog::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.restoreTaskActivityLog::|public|Tags:global.Microsoft.Graph.Beta.Models.RestorePointTags? +Microsoft.Graph.Beta.Models.restoreTaskActivityLog::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.RestoreTaskActivityLog Microsoft.Graph.Beta.Models.restoreTimeRange::0000-before Microsoft.Graph.Beta.Models.restoreTimeRange::0001-after Microsoft.Graph.Beta.Models.restoreTimeRange::0002-beforeOrAfter @@ -205225,6 +207684,25 @@ Microsoft.Graph.Beta.Models.samlSingleSignOnSettings::|public|RelayState:string Microsoft.Graph.Beta.Models.samlSingleSignOnSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.samlSingleSignOnSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.SamlSingleSignOnSettings Microsoft.Graph.Beta.Models.samlSingleSignOnSettings~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.samsungEFotaFirmwareVersion::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.samsungEFotaFirmwareVersion::|public|AndroidProcessorVersionName:string +Microsoft.Graph.Beta.Models.samsungEFotaFirmwareVersion::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.samsungEFotaFirmwareVersion::|public|constructor():void +Microsoft.Graph.Beta.Models.samsungEFotaFirmwareVersion::|public|ConsumerSoftwareCustomizationCode:string +Microsoft.Graph.Beta.Models.samsungEFotaFirmwareVersion::|public|Description:string +Microsoft.Graph.Beta.Models.samsungEFotaFirmwareVersion::|public|DeviceModelName:string +Microsoft.Graph.Beta.Models.samsungEFotaFirmwareVersion::|public|FirmwareVersion:string +Microsoft.Graph.Beta.Models.samsungEFotaFirmwareVersion::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.samsungEFotaFirmwareVersion::|public|Id:string +Microsoft.Graph.Beta.Models.samsungEFotaFirmwareVersion::|public|OdataType:string +Microsoft.Graph.Beta.Models.samsungEFotaFirmwareVersion::|public|OsVersionName:string +Microsoft.Graph.Beta.Models.samsungEFotaFirmwareVersion::|public|ReleaseDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.samsungEFotaFirmwareVersion::|public|RequestFirmwareTypeName:string +Microsoft.Graph.Beta.Models.samsungEFotaFirmwareVersion::|public|SalesCode:string +Microsoft.Graph.Beta.Models.samsungEFotaFirmwareVersion::|public|SecurityPatchVersion:string +Microsoft.Graph.Beta.Models.samsungEFotaFirmwareVersion::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.samsungEFotaFirmwareVersion::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.SamsungEFotaFirmwareVersion +Microsoft.Graph.Beta.Models.samsungEFotaFirmwareVersion~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.schedule-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.schedule::|public|ActivitiesIncludedWhenCopyingShiftsEnabled:bool? Microsoft.Graph.Beta.Models.schedule::|public|DayNotes:List @@ -207506,6 +209984,24 @@ Microsoft.Graph.Beta.Models.Security.coreReportingSettingsAuditRecord::|public|G Microsoft.Graph.Beta.Models.Security.coreReportingSettingsAuditRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.coreReportingSettingsAuditRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.coreReportingSettingsAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CoreReportingSettingsAuditRecord +Microsoft.Graph.Beta.Models.Security.correlationReason::0000-repeatedAlertOccurrence +Microsoft.Graph.Beta.Models.Security.correlationReason::0001-sameGeography +Microsoft.Graph.Beta.Models.Security.correlationReason::0002-similarArtifacts +Microsoft.Graph.Beta.Models.Security.correlationReason::0003-sameTargetedAsset +Microsoft.Graph.Beta.Models.Security.correlationReason::0004-sameNetworkSegment +Microsoft.Graph.Beta.Models.Security.correlationReason::0005-eventSequence +Microsoft.Graph.Beta.Models.Security.correlationReason::0006-timeFrame +Microsoft.Graph.Beta.Models.Security.correlationReason::0007-sameThreatSource +Microsoft.Graph.Beta.Models.Security.correlationReason::0008-similarTTPsOrBehavior +Microsoft.Graph.Beta.Models.Security.correlationReason::0009-sameActor +Microsoft.Graph.Beta.Models.Security.correlationReason::0010-sameCampaign +Microsoft.Graph.Beta.Models.Security.correlationReason::0011-sharedIndicators +Microsoft.Graph.Beta.Models.Security.correlationReason::0012-sameAsset +Microsoft.Graph.Beta.Models.Security.correlationReason::0013-networkProximity +Microsoft.Graph.Beta.Models.Security.correlationReason::0014-eventCasualSequence +Microsoft.Graph.Beta.Models.Security.correlationReason::0015-temporalProximity +Microsoft.Graph.Beta.Models.Security.correlationReason::0016-lateralMovementPath +Microsoft.Graph.Beta.Models.Security.correlationReason::0017-unknownFutureValue Microsoft.Graph.Beta.Models.Security.cortanaBriefingAuditRecord-->global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.cortanaBriefingAuditRecord::|public|constructor():void Microsoft.Graph.Beta.Models.Security.cortanaBriefingAuditRecord::|public|GetFieldDeserializers():IDictionary> @@ -208096,6 +210592,319 @@ Microsoft.Graph.Beta.Models.Security.dispositionReviewStageCollectionResponse::| Microsoft.Graph.Beta.Models.Security.dispositionReviewStageCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.dispositionReviewStageCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.Security.dispositionReviewStageCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.DispositionReviewStageCollectionResponse +Microsoft.Graph.Beta.Models.Security.Dlp.appAccessContext::|public|AadSessionId:string +Microsoft.Graph.Beta.Models.Security.Dlp.appAccessContext::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.Dlp.appAccessContext::|public|ApiId:string +Microsoft.Graph.Beta.Models.Security.Dlp.appAccessContext::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.Dlp.appAccessContext::|public|ClientAppId:string +Microsoft.Graph.Beta.Models.Security.Dlp.appAccessContext::|public|ClientAppName:string +Microsoft.Graph.Beta.Models.Security.Dlp.appAccessContext::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.Dlp.appAccessContext::|public|CorrelationId:string +Microsoft.Graph.Beta.Models.Security.Dlp.appAccessContext::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.Dlp.appAccessContext::|public|IssuedAtDate:Date? +Microsoft.Graph.Beta.Models.Security.Dlp.appAccessContext::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.Dlp.appAccessContext::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.Dlp.appAccessContext::|public|UniqueTokenId:string +Microsoft.Graph.Beta.Models.Security.Dlp.appAccessContext::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.Dlp.AppAccessContext +Microsoft.Graph.Beta.Models.Security.Dlp.appAccessContext~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.Dlp.attachmentInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.Dlp.attachmentInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.Dlp.attachmentInfo::|public|Checksum:long? +Microsoft.Graph.Beta.Models.Security.Dlp.attachmentInfo::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.Dlp.attachmentInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.Dlp.attachmentInfo::|public|LabelNames:List +Microsoft.Graph.Beta.Models.Security.Dlp.attachmentInfo::|public|Labels:List +Microsoft.Graph.Beta.Models.Security.Dlp.attachmentInfo::|public|Name:string +Microsoft.Graph.Beta.Models.Security.Dlp.attachmentInfo::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.Dlp.attachmentInfo::|public|SensitiveInformationDetails:List +Microsoft.Graph.Beta.Models.Security.Dlp.attachmentInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.Dlp.attachmentInfo::|public|Size:long? +Microsoft.Graph.Beta.Models.Security.Dlp.attachmentInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.Dlp.AttachmentInfo +Microsoft.Graph.Beta.Models.Security.Dlp.attachmentInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.Dlp.attachmentSensitiveInformationDetails::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.Dlp.attachmentSensitiveInformationDetails::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.Dlp.attachmentSensitiveInformationDetails::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.Dlp.attachmentSensitiveInformationDetails::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.Dlp.attachmentSensitiveInformationDetails::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.Dlp.attachmentSensitiveInformationDetails::|public|SensitiveInformationDetailedClassificationAttributes:List +Microsoft.Graph.Beta.Models.Security.Dlp.attachmentSensitiveInformationDetails::|public|SensitiveInformationDetectionIndices:List +Microsoft.Graph.Beta.Models.Security.Dlp.attachmentSensitiveInformationDetails::|public|SensitiveType:string +Microsoft.Graph.Beta.Models.Security.Dlp.attachmentSensitiveInformationDetails::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.Dlp.attachmentSensitiveInformationDetails::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.Dlp.AttachmentSensitiveInformationDetails +Microsoft.Graph.Beta.Models.Security.Dlp.attachmentSensitiveInformationDetails~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.Dlp.auditRecordType::0000-unknown +Microsoft.Graph.Beta.Models.Security.Dlp.auditRecordType::0001-sharePointFileOperation +Microsoft.Graph.Beta.Models.Security.Dlp.auditRecordType::0002-complianceDlpSharePoint +Microsoft.Graph.Beta.Models.Security.Dlp.auditRecordType::0003-complianceDlpExchange +Microsoft.Graph.Beta.Models.Security.Dlp.auditRecordType::0004-dlpEndpoint +Microsoft.Graph.Beta.Models.Security.Dlp.auditRecordType::0005-complianceDlpEndpoint +Microsoft.Graph.Beta.Models.Security.Dlp.auditRecordType::0006-powerBiDlp +Microsoft.Graph.Beta.Models.Security.Dlp.auditRecordType::0007-complianceDlpApplications +Microsoft.Graph.Beta.Models.Security.Dlp.auditRecordType::0008-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|AgentBlueprintId:string +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|AgentBlueprintName:string +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|AgentId:string +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|AgentName:string +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|AgentPlatform:string +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|AgentVersion:string +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|AppAccessContext:global.Microsoft.Graph.Beta.Models.Security.Dlp.AppAccessContext +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|AppIdentity:string +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|ApplicationName:string +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|AssociatedAdminUnitIds:List +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|CorrelationIdentity:string +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|CreatedDateTime:Date? +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|IsRequiresCustomerKeyEncryption:bool? +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|Operation:string +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|OpId:string +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|OrganizationId:string +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|ParentId:string +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|Purpose:global.Microsoft.Graph.Beta.Models.Security.Dlp.PurposeType? +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|RecordType:global.Microsoft.Graph.Beta.Models.Security.Dlp.AuditRecordType? +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|ResultStatus:string +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|ScopingEntityIds:List +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|ScopingEntityType:int? +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|SessionIdentity:string +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|SubjectType:string +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|Subscription:global.Microsoft.Graph.Beta.Models.Security.Dlp.SubscriptionInfo +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|UserKey:string +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|UserType:global.Microsoft.Graph.Beta.Models.Security.Dlp.UserType? +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|Version:int? +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|public|Workload:string +Microsoft.Graph.Beta.Models.Security.Dlp.baseAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.Dlp.BaseAuditRecord +Microsoft.Graph.Beta.Models.Security.Dlp.complianceBaseAuditRecord-->global.Microsoft.Graph.Beta.Models.Security.Dlp.BaseAuditRecord +Microsoft.Graph.Beta.Models.Security.Dlp.complianceBaseAuditRecord::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.Dlp.complianceBaseAuditRecord::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.Dlp.complianceBaseAuditRecord::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.Dlp.complianceBaseAuditRecord::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.Dlp.complianceBaseAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceBaseAuditRecord +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDLPBaseAuditRecord-->global.Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceBaseAuditRecord +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDLPBaseAuditRecord::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDLPBaseAuditRecord::|public|EnforcementType:global.Microsoft.Graph.Beta.Models.Security.Dlp.EnforcementType? +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDLPBaseAuditRecord::|public|EvaluationSource:string +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDLPBaseAuditRecord::|public|ExceptionInfo:global.Microsoft.Graph.Beta.Models.Security.Dlp.ExceptionInfo +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDLPBaseAuditRecord::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDLPBaseAuditRecord::|public|IncidentId:Guid? +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDLPBaseAuditRecord::|public|IsSensitiveInfoDetectionIsIncluded:bool? +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDLPBaseAuditRecord::|public|Location:string +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDLPBaseAuditRecord::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDLPBaseAuditRecord::|public|PolicyDetails:List +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDLPBaseAuditRecord::|public|RemediationDetails:global.Microsoft.Graph.Beta.Models.Security.Dlp.RemediationInfo +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDLPBaseAuditRecord::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDLPBaseAuditRecord::|public|SessionMetadata:global.Microsoft.Graph.Beta.Models.Security.Dlp.SessionMetadataInfo +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDLPBaseAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDLPBaseAuditRecord +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDlpEndpointAuditRecord-->global.Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDLPBaseAuditRecord +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDlpEndpointAuditRecord::|public|AuthorizedGroup:string +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDlpEndpointAuditRecord::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDlpEndpointAuditRecord::|public|EndpointMetaData:global.Microsoft.Graph.Beta.Models.Security.Dlp.EndpointMetaDataInfo +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDlpEndpointAuditRecord::|public|EvidenceFile:string +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDlpEndpointAuditRecord::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDlpEndpointAuditRecord::|public|NetworkLocationContextInAction:string +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDlpEndpointAuditRecord::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDlpEndpointAuditRecord::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDlpEndpointAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDlpEndpointAuditRecord +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDlpExchangeAuditRecord-->global.Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDLPBaseAuditRecord +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDlpExchangeAuditRecord::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDlpExchangeAuditRecord::|public|ExchangeMetaData:global.Microsoft.Graph.Beta.Models.Security.Dlp.ExchangeMetaDataInfo +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDlpExchangeAuditRecord::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDlpExchangeAuditRecord::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDlpExchangeAuditRecord::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDlpExchangeAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDlpExchangeAuditRecord +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDlpSharePointAuditRecord-->global.Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDLPBaseAuditRecord +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDlpSharePointAuditRecord::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDlpSharePointAuditRecord::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDlpSharePointAuditRecord::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDlpSharePointAuditRecord::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDlpSharePointAuditRecord::|public|SharePointMetaData:global.Microsoft.Graph.Beta.Models.Security.Dlp.SharePointMetaDataInfo +Microsoft.Graph.Beta.Models.Security.Dlp.complianceDlpSharePointAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.Dlp.ComplianceDlpSharePointAuditRecord +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|Application:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|ApplicationSourceExecutableName:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|DestinationLocationType:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|DeviceName:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|DlpAuditEventMetadata:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|EndpointOperation:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|EnforcementMode:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|FileExtension:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|FileSize:long? +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|FileType:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|GroupId:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|GroupName:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|IsEaV2Enriched:bool? +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|IsHidden:bool? +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|IsJitTriggered:bool? +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|IsRmseEncrypted:bool? +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|IsViewableByExternalUsers:bool? +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|Justification:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|MarkOfTheWebData:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|MdatpDeviceId:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|OriginatingDomain:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|ParentArchiveHash:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|Platform:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|PolicyMatchDetails:List +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|PolicyMatchInfo:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|PreviousFileName:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|RemovableMediaDeviceAttributes:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|SensitiveInfoTypeData:List +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|SensitivityLabelEventData:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|SensitivityLabelIds:List +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|SensitivityLabelNames:List +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|Sha1:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|Sha256:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|SourceLocationType:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|TargetDomain:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|TargetFilePath:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|TargetPrinterName:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|public|TargetUrl:string +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.Dlp.EndpointMetaDataInfo +Microsoft.Graph.Beta.Models.Security.Dlp.endpointMetaDataInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.Dlp.enforcementType::0000-unknown +Microsoft.Graph.Beta.Models.Security.Dlp.enforcementType::0001-combined +Microsoft.Graph.Beta.Models.Security.Dlp.enforcementType::0002-separate +Microsoft.Graph.Beta.Models.Security.Dlp.enforcementType::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.Dlp.exceptionInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.Dlp.exceptionInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.Dlp.exceptionInfo::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.Dlp.exceptionInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.Dlp.exceptionInfo::|public|IsFalsePositive:bool? +Microsoft.Graph.Beta.Models.Security.Dlp.exceptionInfo::|public|Justification:string +Microsoft.Graph.Beta.Models.Security.Dlp.exceptionInfo::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.Dlp.exceptionInfo::|public|Reason:string +Microsoft.Graph.Beta.Models.Security.Dlp.exceptionInfo::|public|RuleIds:List +Microsoft.Graph.Beta.Models.Security.Dlp.exceptionInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.Dlp.exceptionInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.Dlp.ExceptionInfo +Microsoft.Graph.Beta.Models.Security.Dlp.exceptionInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.Dlp.exchangeMetaDataInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.Dlp.exchangeMetaDataInfo::|public|AttachmentDetails:List +Microsoft.Graph.Beta.Models.Security.Dlp.exchangeMetaDataInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.Dlp.exchangeMetaDataInfo::|public|BccRecipients:List +Microsoft.Graph.Beta.Models.Security.Dlp.exchangeMetaDataInfo::|public|CcRecipients:List +Microsoft.Graph.Beta.Models.Security.Dlp.exchangeMetaDataInfo::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.Dlp.exchangeMetaDataInfo::|public|DocId:string +Microsoft.Graph.Beta.Models.Security.Dlp.exchangeMetaDataInfo::|public|FileSize:long? +Microsoft.Graph.Beta.Models.Security.Dlp.exchangeMetaDataInfo::|public|From:string +Microsoft.Graph.Beta.Models.Security.Dlp.exchangeMetaDataInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.Dlp.exchangeMetaDataInfo::|public|ImmutableEntryId:string +Microsoft.Graph.Beta.Models.Security.Dlp.exchangeMetaDataInfo::|public|IsViewableByExternalUsers:bool? +Microsoft.Graph.Beta.Models.Security.Dlp.exchangeMetaDataInfo::|public|MessageId:string +Microsoft.Graph.Beta.Models.Security.Dlp.exchangeMetaDataInfo::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.Dlp.exchangeMetaDataInfo::|public|RecipientCount:int? +Microsoft.Graph.Beta.Models.Security.Dlp.exchangeMetaDataInfo::|public|SensitivityLabelIds:List +Microsoft.Graph.Beta.Models.Security.Dlp.exchangeMetaDataInfo::|public|SensitivityLabelNames:List +Microsoft.Graph.Beta.Models.Security.Dlp.exchangeMetaDataInfo::|public|SentDate:Date? +Microsoft.Graph.Beta.Models.Security.Dlp.exchangeMetaDataInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.Dlp.exchangeMetaDataInfo::|public|Subject:string +Microsoft.Graph.Beta.Models.Security.Dlp.exchangeMetaDataInfo::|public|ToRecipients:List +Microsoft.Graph.Beta.Models.Security.Dlp.exchangeMetaDataInfo::|public|UniqueId:string +Microsoft.Graph.Beta.Models.Security.Dlp.exchangeMetaDataInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.Dlp.ExchangeMetaDataInfo +Microsoft.Graph.Beta.Models.Security.Dlp.exchangeMetaDataInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.Dlp.purposeType::0000-audit +Microsoft.Graph.Beta.Models.Security.Dlp.purposeType::0001-di +Microsoft.Graph.Beta.Models.Security.Dlp.purposeType::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.Dlp.remediationActivityType::0000-unknown +Microsoft.Graph.Beta.Models.Security.Dlp.remediationActivityType::0001-templateTriggered +Microsoft.Graph.Beta.Models.Security.Dlp.remediationActivityType::0002-iwUnableToTakeAction +Microsoft.Graph.Beta.Models.Security.Dlp.remediationActivityType::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.Dlp.remediationInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.Dlp.remediationInfo::|public|AlertId:string +Microsoft.Graph.Beta.Models.Security.Dlp.remediationInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.Dlp.remediationInfo::|public|BccRecipients:List +Microsoft.Graph.Beta.Models.Security.Dlp.remediationInfo::|public|CcRecipients:List +Microsoft.Graph.Beta.Models.Security.Dlp.remediationInfo::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.Dlp.remediationInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.Dlp.remediationInfo::|public|IwUser:string +Microsoft.Graph.Beta.Models.Security.Dlp.remediationInfo::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.Dlp.remediationInfo::|public|Recipients:List +Microsoft.Graph.Beta.Models.Security.Dlp.remediationInfo::|public|RemediationActivity:global.Microsoft.Graph.Beta.Models.Security.Dlp.RemediationActivityType? +Microsoft.Graph.Beta.Models.Security.Dlp.remediationInfo::|public|Sender:string +Microsoft.Graph.Beta.Models.Security.Dlp.remediationInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.Dlp.remediationInfo::|public|Subject:string +Microsoft.Graph.Beta.Models.Security.Dlp.remediationInfo::|public|TemplateName:string +Microsoft.Graph.Beta.Models.Security.Dlp.remediationInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.Dlp.RemediationInfo +Microsoft.Graph.Beta.Models.Security.Dlp.remediationInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.Dlp.sensitiveInformationDetailedConfidenceLevelResult::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.Dlp.sensitiveInformationDetailedConfidenceLevelResult::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.Dlp.sensitiveInformationDetailedConfidenceLevelResult::|public|Confidence:int? +Microsoft.Graph.Beta.Models.Security.Dlp.sensitiveInformationDetailedConfidenceLevelResult::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.Dlp.sensitiveInformationDetailedConfidenceLevelResult::|public|Count:int? +Microsoft.Graph.Beta.Models.Security.Dlp.sensitiveInformationDetailedConfidenceLevelResult::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.Dlp.sensitiveInformationDetailedConfidenceLevelResult::|public|IsMatch:bool? +Microsoft.Graph.Beta.Models.Security.Dlp.sensitiveInformationDetailedConfidenceLevelResult::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.Dlp.sensitiveInformationDetailedConfidenceLevelResult::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.Dlp.sensitiveInformationDetailedConfidenceLevelResult::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.Dlp.SensitiveInformationDetailedConfidenceLevelResult +Microsoft.Graph.Beta.Models.Security.Dlp.sensitiveInformationDetailedConfidenceLevelResult~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.Dlp.sessionMetadataInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.Dlp.sessionMetadataInfo::|public|AppHost:string +Microsoft.Graph.Beta.Models.Security.Dlp.sessionMetadataInfo::|public|AppHostCategories:List +Microsoft.Graph.Beta.Models.Security.Dlp.sessionMetadataInfo::|public|AppHostFqdn:string +Microsoft.Graph.Beta.Models.Security.Dlp.sessionMetadataInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.Dlp.sessionMetadataInfo::|public|Browser:string +Microsoft.Graph.Beta.Models.Security.Dlp.sessionMetadataInfo::|public|BrowserVersion:string +Microsoft.Graph.Beta.Models.Security.Dlp.sessionMetadataInfo::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.Dlp.sessionMetadataInfo::|public|DeviceManagementType:string +Microsoft.Graph.Beta.Models.Security.Dlp.sessionMetadataInfo::|public|DeviceType:string +Microsoft.Graph.Beta.Models.Security.Dlp.sessionMetadataInfo::|public|EnforcementPlane:string +Microsoft.Graph.Beta.Models.Security.Dlp.sessionMetadataInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.Dlp.sessionMetadataInfo::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.Dlp.sessionMetadataInfo::|public|OsPlatform:string +Microsoft.Graph.Beta.Models.Security.Dlp.sessionMetadataInfo::|public|OsVersion:string +Microsoft.Graph.Beta.Models.Security.Dlp.sessionMetadataInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.Dlp.sessionMetadataInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.Dlp.SessionMetadataInfo +Microsoft.Graph.Beta.Models.Security.Dlp.sessionMetadataInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|AiFileActions:string +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|BlockedUserForFileAccess:string +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|FileId:string +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|FileName:string +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|FileOwner:string +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|FilePathUrl:string +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|FileSize:long? +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|From:string +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|IsJitTriggered:bool? +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|IsViewableByExternalUsers:bool? +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|IsVisibleOnlyToOdbOwner:bool? +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|ItemCreatedDate:Date? +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|ItemLastModifiedDate:Date? +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|ItemLastSharedDate:Date? +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|QuarantineLocationFileUrl:string +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|SensitivityLabelIds:List +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|SensitivityLabelNames:List +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|SharedBy:List +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|SharedWith:List +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|SiteAdmins:List +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|SiteCollectionGuid:string +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|SiteCollectionUrl:string +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|UniqueId:string +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|public|ViolatingAction:string +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.Dlp.SharePointMetaDataInfo +Microsoft.Graph.Beta.Models.Security.Dlp.sharePointMetaDataInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.Dlp.subscriptionInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.Dlp.subscriptionInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.Dlp.subscriptionInfo::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.Dlp.subscriptionInfo::|public|DlpSubscriptionId:string +Microsoft.Graph.Beta.Models.Security.Dlp.subscriptionInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.Dlp.subscriptionInfo::|public|Name:string +Microsoft.Graph.Beta.Models.Security.Dlp.subscriptionInfo::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.Dlp.subscriptionInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.Dlp.subscriptionInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.Dlp.SubscriptionInfo +Microsoft.Graph.Beta.Models.Security.Dlp.subscriptionInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.Dlp.userType::0000-regular +Microsoft.Graph.Beta.Models.Security.Dlp.userType::0001-admin +Microsoft.Graph.Beta.Models.Security.Dlp.userType::0002-system +Microsoft.Graph.Beta.Models.Security.Dlp.userType::0003-unknownFutureValue Microsoft.Graph.Beta.Models.Security.dlpEndpointAuditRecord-->global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.dlpEndpointAuditRecord::|public|constructor():void Microsoft.Graph.Beta.Models.Security.dlpEndpointAuditRecord::|public|GetFieldDeserializers():IDictionary> @@ -210101,6 +212910,15 @@ Microsoft.Graph.Beta.Models.Security.mdiAuditRecord::|public|GetFieldDeserialize Microsoft.Graph.Beta.Models.Security.mdiAuditRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.mdiAuditRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.mdiAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.MdiAuditRecord +Microsoft.Graph.Beta.Models.Security.mergeResponse::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.mergeResponse::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.mergeResponse::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.mergeResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.mergeResponse::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.mergeResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.mergeResponse::|public|TargetIncidentId:string +Microsoft.Graph.Beta.Models.Security.mergeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.MergeResponse +Microsoft.Graph.Beta.Models.Security.mergeResponse~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.Security.meshWorldsAuditRecord-->global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.meshWorldsAuditRecord::|public|constructor():void Microsoft.Graph.Beta.Models.Security.meshWorldsAuditRecord::|public|GetFieldDeserializers():IDictionary> @@ -213672,6 +216490,11 @@ Microsoft.Graph.Beta.Models.serviceTagNamedLocation::|public|OdataType:string Microsoft.Graph.Beta.Models.serviceTagNamedLocation::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.serviceTagNamedLocation::|public|ServiceTags:List Microsoft.Graph.Beta.Models.serviceTagNamedLocation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ServiceTagNamedLocation +Microsoft.Graph.Beta.Models.serviceType::0000-unknown +Microsoft.Graph.Beta.Models.serviceType::0001-sharePoint +Microsoft.Graph.Beta.Models.serviceType::0002-exchange +Microsoft.Graph.Beta.Models.serviceType::0003-oneDriveForBusiness +Microsoft.Graph.Beta.Models.serviceType::0004-unknownFutureValue Microsoft.Graph.Beta.Models.serviceUpdateCategory::0000-preventOrFixIssue Microsoft.Graph.Beta.Models.serviceUpdateCategory::0001-planForChange Microsoft.Graph.Beta.Models.serviceUpdateCategory::0002-stayInformed @@ -213965,6 +216788,7 @@ Microsoft.Graph.Beta.Models.sharePointGroup::|public|Description:string Microsoft.Graph.Beta.Models.sharePointGroup::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.sharePointGroup::|public|Members:List Microsoft.Graph.Beta.Models.sharePointGroup::|public|OdataType:string +Microsoft.Graph.Beta.Models.sharePointGroup::|public|PrincipalId:string Microsoft.Graph.Beta.Models.sharePointGroup::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.sharePointGroup::|public|Title:string Microsoft.Graph.Beta.Models.sharePointGroup::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.SharePointGroup @@ -213973,6 +216797,14 @@ Microsoft.Graph.Beta.Models.sharePointGroupCollectionResponse::|public|GetFieldD Microsoft.Graph.Beta.Models.sharePointGroupCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.sharePointGroupCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.sharePointGroupCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.SharePointGroupCollectionResponse +Microsoft.Graph.Beta.Models.sharePointGroupIdentity-->global.Microsoft.Graph.Beta.Models.Identity +Microsoft.Graph.Beta.Models.sharePointGroupIdentity::|public|constructor():void +Microsoft.Graph.Beta.Models.sharePointGroupIdentity::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.sharePointGroupIdentity::|public|OdataType:string +Microsoft.Graph.Beta.Models.sharePointGroupIdentity::|public|PrincipalId:string +Microsoft.Graph.Beta.Models.sharePointGroupIdentity::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.sharePointGroupIdentity::|public|Title:string +Microsoft.Graph.Beta.Models.sharePointGroupIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.SharePointGroupIdentity Microsoft.Graph.Beta.Models.sharePointGroupIdentityMapping-->global.Microsoft.Graph.Beta.Models.SharePointIdentityMapping Microsoft.Graph.Beta.Models.sharePointGroupIdentityMapping::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.sharePointGroupIdentityMapping::|public|GroupType:global.Microsoft.Graph.Beta.Models.SharePointIdentityMappingGroupType? @@ -214053,6 +216885,7 @@ Microsoft.Graph.Beta.Models.sharePointIdentitySet::|public|GetFieldDeserializers Microsoft.Graph.Beta.Models.sharePointIdentitySet::|public|Group:global.Microsoft.Graph.Beta.Models.Identity Microsoft.Graph.Beta.Models.sharePointIdentitySet::|public|OdataType:string Microsoft.Graph.Beta.Models.sharePointIdentitySet::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.sharePointIdentitySet::|public|SharePointGroup:global.Microsoft.Graph.Beta.Models.SharePointGroupIdentity Microsoft.Graph.Beta.Models.sharePointIdentitySet::|public|SiteGroup:global.Microsoft.Graph.Beta.Models.SharePointIdentity Microsoft.Graph.Beta.Models.sharePointIdentitySet::|public|SiteUser:global.Microsoft.Graph.Beta.Models.SharePointIdentity Microsoft.Graph.Beta.Models.sharePointIdentitySet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.SharePointIdentitySet @@ -214860,6 +217693,7 @@ Microsoft.Graph.Beta.Models.signInUserType::0001-guest Microsoft.Graph.Beta.Models.signInUserType::0002-unknownFutureValue Microsoft.Graph.Beta.Models.signUpIdentifierType::0000-emailAddress Microsoft.Graph.Beta.Models.signUpIdentifierType::0001-unknownFutureValue +Microsoft.Graph.Beta.Models.signUpIdentifierType::0002-federation Microsoft.Graph.Beta.Models.signUpIdentity::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.signUpIdentity::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.signUpIdentity::|public|constructor():void @@ -215685,6 +218519,35 @@ Microsoft.Graph.Beta.Models.storageSettings::|public|Quota:global.Microsoft.Grap Microsoft.Graph.Beta.Models.storageSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.storageSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.StorageSettings Microsoft.Graph.Beta.Models.storage~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.storyline-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.storyline::|public|Followers:List +Microsoft.Graph.Beta.Models.storyline::|public|Followings:List +Microsoft.Graph.Beta.Models.storyline::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.storyline::|public|OdataType:string +Microsoft.Graph.Beta.Models.storyline::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.storyline::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Storyline +Microsoft.Graph.Beta.Models.storylineFollower-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.storylineFollower::|public|Follower:global.Microsoft.Graph.Beta.Models.EngagementIdentitySet +Microsoft.Graph.Beta.Models.storylineFollower::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.storylineFollower::|public|OdataType:string +Microsoft.Graph.Beta.Models.storylineFollower::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.storylineFollower::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.StorylineFollower +Microsoft.Graph.Beta.Models.storylineFollowerCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.storylineFollowerCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.storylineFollowerCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.storylineFollowerCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.storylineFollowerCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.StorylineFollowerCollectionResponse +Microsoft.Graph.Beta.Models.storylineFollowing-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.storylineFollowing::|public|Following:global.Microsoft.Graph.Beta.Models.EngagementIdentitySet +Microsoft.Graph.Beta.Models.storylineFollowing::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.storylineFollowing::|public|OdataType:string +Microsoft.Graph.Beta.Models.storylineFollowing::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.storylineFollowing::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.StorylineFollowing +Microsoft.Graph.Beta.Models.storylineFollowingCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.storylineFollowingCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.storylineFollowingCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.storylineFollowingCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.storylineFollowingCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.StorylineFollowingCollectionResponse Microsoft.Graph.Beta.Models.StringCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Beta.Models.StringCollectionResponse::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.StringCollectionResponse::|public|Serialize(writer:ISerializationWriter):void @@ -216476,6 +219339,18 @@ Microsoft.Graph.Beta.Models.targetDeviceGroupCollectionResponse::|public|GetFiel Microsoft.Graph.Beta.Models.targetDeviceGroupCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.targetDeviceGroupCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.targetDeviceGroupCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TargetDeviceGroupCollectionResponse +Microsoft.Graph.Beta.Models.targetedChatMessage-->global.Microsoft.Graph.Beta.Models.ChatMessage +Microsoft.Graph.Beta.Models.targetedChatMessage::|public|constructor():void +Microsoft.Graph.Beta.Models.targetedChatMessage::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.targetedChatMessage::|public|OdataType:string +Microsoft.Graph.Beta.Models.targetedChatMessage::|public|Recipient:global.Microsoft.Graph.Beta.Models.Identity +Microsoft.Graph.Beta.Models.targetedChatMessage::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.targetedChatMessage::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TargetedChatMessage +Microsoft.Graph.Beta.Models.targetedChatMessageCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.targetedChatMessageCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.targetedChatMessageCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.targetedChatMessageCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.targetedChatMessageCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TargetedChatMessageCollectionResponse Microsoft.Graph.Beta.Models.targetedManagedAppConfiguration-->global.Microsoft.Graph.Beta.Models.ManagedAppConfiguration Microsoft.Graph.Beta.Models.targetedManagedAppConfiguration::|public|AppGroupType:global.Microsoft.Graph.Beta.Models.TargetedManagedAppGroupType? Microsoft.Graph.Beta.Models.targetedManagedAppConfiguration::|public|Apps:List @@ -216527,6 +219402,16 @@ Microsoft.Graph.Beta.Models.targetedManagedAppProtection::|public|OdataType:stri Microsoft.Graph.Beta.Models.targetedManagedAppProtection::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.targetedManagedAppProtection::|public|TargetedAppManagementLevels:global.Microsoft.Graph.Beta.Models.AppManagementLevel? Microsoft.Graph.Beta.Models.targetedManagedAppProtection::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TargetedManagedAppProtection +Microsoft.Graph.Beta.Models.targetOwners::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.targetOwners::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.targetOwners::|public|constructor():void +Microsoft.Graph.Beta.Models.targetOwners::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.targetOwners::|public|NotifyMembers:global.Microsoft.Graph.Beta.Models.NotifyMembers? +Microsoft.Graph.Beta.Models.targetOwners::|public|OdataType:string +Microsoft.Graph.Beta.Models.targetOwners::|public|SecurityGroups:List +Microsoft.Graph.Beta.Models.targetOwners::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.targetOwners::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TargetOwners +Microsoft.Graph.Beta.Models.targetOwners~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.targetPolicyEndpoints::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.targetPolicyEndpoints::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.targetPolicyEndpoints::|public|constructor():void @@ -218881,6 +221766,7 @@ Microsoft.Graph.Beta.Models.todoTaskList::|public|IsOwner:bool? Microsoft.Graph.Beta.Models.todoTaskList::|public|IsShared:bool? Microsoft.Graph.Beta.Models.todoTaskList::|public|OdataType:string Microsoft.Graph.Beta.Models.todoTaskList::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.todoTaskList::|public|SingleValueExtendedProperties:List Microsoft.Graph.Beta.Models.todoTaskList::|public|Tasks:List Microsoft.Graph.Beta.Models.todoTaskList::|public|WellknownListName:global.Microsoft.Graph.Beta.Models.WellknownListName? Microsoft.Graph.Beta.Models.todoTaskList::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TodoTaskList @@ -219007,6 +221893,11 @@ Microsoft.Graph.Beta.Models.toUppercaseTransformation::|public|GetFieldDeseriali Microsoft.Graph.Beta.Models.toUppercaseTransformation::|public|OdataType:string Microsoft.Graph.Beta.Models.toUppercaseTransformation::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.toUppercaseTransformation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ToUppercaseTransformation +Microsoft.Graph.Beta.Models.trafficRoutingMethod::0000-none +Microsoft.Graph.Beta.Models.trafficRoutingMethod::0001-random +Microsoft.Graph.Beta.Models.trafficRoutingMethod::0002-sessionPersistence +Microsoft.Graph.Beta.Models.trafficRoutingMethod::0003-performance +Microsoft.Graph.Beta.Models.trafficRoutingMethod::0004-unknownFutureValue Microsoft.Graph.Beta.Models.training-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.training::|public|AvailabilityStatus:global.Microsoft.Graph.Beta.Models.TrainingAvailabilityStatus? Microsoft.Graph.Beta.Models.training::|public|CreatedBy:global.Microsoft.Graph.Beta.Models.EmailIdentity @@ -223383,6 +226274,8 @@ Microsoft.Graph.Beta.Models.wiFiSecurityType::0002-wpaEnterprise Microsoft.Graph.Beta.Models.wiFiSecurityType::0003-wep Microsoft.Graph.Beta.Models.wiFiSecurityType::0004-wpa2Personal Microsoft.Graph.Beta.Models.wiFiSecurityType::0005-wpa2Enterprise +Microsoft.Graph.Beta.Models.wiFiSecurityType::0006-unknownFutureValue +Microsoft.Graph.Beta.Models.wiFiSecurityType::0007-wpa3Personal Microsoft.Graph.Beta.Models.win32CatalogApp-->global.Microsoft.Graph.Beta.Models.Win32LobApp Microsoft.Graph.Beta.Models.win32CatalogApp::|public|constructor():void Microsoft.Graph.Beta.Models.win32CatalogApp::|public|GetFieldDeserializers():IDictionary> @@ -223749,6 +226642,7 @@ Microsoft.Graph.Beta.Models.win32LobAutoUpdateSupersededAppsState::0002-unknownF Microsoft.Graph.Beta.Models.win32MobileAppCatalogPackage-->global.Microsoft.Graph.Beta.Models.MobileAppCatalogPackage Microsoft.Graph.Beta.Models.win32MobileAppCatalogPackage::|public|ApplicableArchitectures:global.Microsoft.Graph.Beta.Models.WindowsArchitecture? Microsoft.Graph.Beta.Models.win32MobileAppCatalogPackage::|public|BranchDisplayName:string +Microsoft.Graph.Beta.Models.win32MobileAppCatalogPackage::|public|BranchId:string Microsoft.Graph.Beta.Models.win32MobileAppCatalogPackage::|public|constructor():void Microsoft.Graph.Beta.Models.win32MobileAppCatalogPackage::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.win32MobileAppCatalogPackage::|public|Locales:List @@ -225017,6 +227911,13 @@ Microsoft.Graph.Beta.Models.windowsAutopilotUserlessEnrollmentStatus::0000-unkno Microsoft.Graph.Beta.Models.windowsAutopilotUserlessEnrollmentStatus::0001-allowed Microsoft.Graph.Beta.Models.windowsAutopilotUserlessEnrollmentStatus::0002-blocked Microsoft.Graph.Beta.Models.windowsAutopilotUserlessEnrollmentStatus::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.windowsAutoUpdateCatalogApp-->global.Microsoft.Graph.Beta.Models.MobileApp +Microsoft.Graph.Beta.Models.windowsAutoUpdateCatalogApp::|public|constructor():void +Microsoft.Graph.Beta.Models.windowsAutoUpdateCatalogApp::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.windowsAutoUpdateCatalogApp::|public|MobileAppCatalogPackageBranchId:string +Microsoft.Graph.Beta.Models.windowsAutoUpdateCatalogApp::|public|OdataType:string +Microsoft.Graph.Beta.Models.windowsAutoUpdateCatalogApp::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.windowsAutoUpdateCatalogApp::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WindowsAutoUpdateCatalogApp Microsoft.Graph.Beta.Models.windowsCertificateProfileBase-->global.Microsoft.Graph.Beta.Models.DeviceConfiguration Microsoft.Graph.Beta.Models.windowsCertificateProfileBase::|public|CertificateValidityPeriodScale:global.Microsoft.Graph.Beta.Models.CertificateValidityPeriodScale? Microsoft.Graph.Beta.Models.windowsCertificateProfileBase::|public|CertificateValidityPeriodValue:int? @@ -226394,6 +229295,7 @@ Microsoft.Graph.Beta.Models.windowsPrivacyDataCategory::0017-syncWithDevices Microsoft.Graph.Beta.Models.windowsPrivacyDataCategory::0018-trustedDevices Microsoft.Graph.Beta.Models.windowsProtectionState-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.windowsProtectionState::|public|AntiMalwareVersion:string +Microsoft.Graph.Beta.Models.windowsProtectionState::|public|ControlledConfigurationEnabled:bool? Microsoft.Graph.Beta.Models.windowsProtectionState::|public|DetectedMalwareState:List Microsoft.Graph.Beta.Models.windowsProtectionState::|public|DeviceState:global.Microsoft.Graph.Beta.Models.WindowsDeviceHealthState? Microsoft.Graph.Beta.Models.windowsProtectionState::|public|EngineVersion:string @@ -228868,7 +231770,6 @@ Microsoft.Graph.Beta.Models.zebraFotaConnectorState::0001-connected Microsoft.Graph.Beta.Models.zebraFotaConnectorState::0002-disconnected Microsoft.Graph.Beta.Models.zebraFotaConnectorState::0003-unknownFutureValue Microsoft.Graph.Beta.Models.zebraFotaDeployment-->global.Microsoft.Graph.Beta.Models.Entity -Microsoft.Graph.Beta.Models.zebraFotaDeployment::|public|DeploymentAssignments:List Microsoft.Graph.Beta.Models.zebraFotaDeployment::|public|DeploymentSettings:global.Microsoft.Graph.Beta.Models.ZebraFotaDeploymentSettings Microsoft.Graph.Beta.Models.zebraFotaDeployment::|public|DeploymentStatus:global.Microsoft.Graph.Beta.Models.ZebraFotaDeploymentStatus Microsoft.Graph.Beta.Models.zebraFotaDeployment::|public|Description:string @@ -229234,6 +232135,95 @@ Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSum Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.GetAlertSummariesWithStartDateTimeWithEndDateTimeResponse Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.cloudFirewallPoliciesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.cloudFirewallPoliciesRequestBuilder.cloudFirewallPoliciesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.cloudFirewallPoliciesRequestBuilder.cloudFirewallPoliciesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.cloudFirewallPoliciesRequestBuilder.cloudFirewallPoliciesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.cloudFirewallPoliciesRequestBuilder.cloudFirewallPoliciesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.cloudFirewallPoliciesRequestBuilder.cloudFirewallPoliciesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.cloudFirewallPoliciesRequestBuilder.cloudFirewallPoliciesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.cloudFirewallPoliciesRequestBuilder.cloudFirewallPoliciesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.cloudFirewallPoliciesRequestBuilder.cloudFirewallPoliciesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.cloudFirewallPoliciesRequestBuilder.cloudFirewallPoliciesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.cloudFirewallPoliciesRequestBuilder.cloudFirewallPoliciesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.cloudFirewallPoliciesRequestBuilder::[CloudFirewallPolicyId:string]:global.Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.CloudFirewallPolicyItemRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.cloudFirewallPoliciesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.cloudFirewallPoliciesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.cloudFirewallPoliciesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Count.CountRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.cloudFirewallPoliciesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicyCollectionResponse +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.cloudFirewallPoliciesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicy +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.cloudFirewallPoliciesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.cloudFirewallPoliciesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicy; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.cloudFirewallPoliciesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.CloudFirewallPoliciesRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Count.CountRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.CloudFirewallPolicyItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.CloudFirewallPolicyItemRequestBuilder.CloudFirewallPolicyItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.CloudFirewallPolicyItemRequestBuilder.CloudFirewallPolicyItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.CloudFirewallPolicyItemRequestBuilder.CloudFirewallPolicyItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.CloudFirewallPolicyItemRequestBuilder.CloudFirewallPolicyItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.CloudFirewallPolicyItemRequestBuilder.CloudFirewallPolicyItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.CloudFirewallPolicyItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.CloudFirewallPolicyItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.CloudFirewallPolicyItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.CloudFirewallPolicyItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicy +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.CloudFirewallPolicyItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicy +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.CloudFirewallPolicyItemRequestBuilder::|public|policyRules:global.Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.PolicyRulesRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.CloudFirewallPolicyItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.CloudFirewallPolicyItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.CloudFirewallPolicyItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Networkaccess.CloudFirewallPolicy; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.CloudFirewallPolicyItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.CloudFirewallPolicyItemRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Count.CountRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Item.PolicyRuleItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Item.PolicyRuleItemRequestBuilder.PolicyRuleItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Item.PolicyRuleItemRequestBuilder.PolicyRuleItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Item.PolicyRuleItemRequestBuilder.PolicyRuleItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Item.PolicyRuleItemRequestBuilder.PolicyRuleItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Item.PolicyRuleItemRequestBuilder.PolicyRuleItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Item.PolicyRuleItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Item.PolicyRuleItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Item.PolicyRuleItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Item.PolicyRuleItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Networkaccess.PolicyRule +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Item.PolicyRuleItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Networkaccess.PolicyRule; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Networkaccess.PolicyRule +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Item.PolicyRuleItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Item.PolicyRuleItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Item.PolicyRuleItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Networkaccess.PolicyRule; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Item.PolicyRuleItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Item.PolicyRuleItemRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.policyRulesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.policyRulesRequestBuilder.policyRulesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.policyRulesRequestBuilder.policyRulesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.policyRulesRequestBuilder.policyRulesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.policyRulesRequestBuilder.policyRulesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.policyRulesRequestBuilder.policyRulesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.policyRulesRequestBuilder.policyRulesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.policyRulesRequestBuilder.policyRulesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.policyRulesRequestBuilder.policyRulesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.policyRulesRequestBuilder.policyRulesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.policyRulesRequestBuilder.policyRulesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.policyRulesRequestBuilder::[PolicyRuleId:string]:global.Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Item.PolicyRuleItemRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.policyRulesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.policyRulesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.policyRulesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.Count.CountRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.policyRulesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Networkaccess.PolicyRuleCollectionResponse +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.policyRulesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.Networkaccess.PolicyRule; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Networkaccess.PolicyRule +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.policyRulesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.policyRulesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.Networkaccess.PolicyRule; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.policyRulesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.Item.PolicyRules.PolicyRulesRequestBuilder Microsoft.Graph.Beta.NetworkAccess.Connectivity.Branches.branchesRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.NetworkAccess.Connectivity.Branches.branchesRequestBuilder.branchesRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Beta.NetworkAccess.Connectivity.Branches.branchesRequestBuilder.branchesRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -230439,6 +233429,7 @@ Microsoft.Graph.Beta.NetworkAccess.networkAccessRequestBuilder.networkAccessRequ Microsoft.Graph.Beta.NetworkAccess.networkAccessRequestBuilder.networkAccessRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.NetworkAccess.networkAccessRequestBuilder.networkAccessRequestBuilderPatchRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.NetworkAccess.networkAccessRequestBuilder::|public|alerts:global.Microsoft.Graph.Beta.NetworkAccess.Alerts.AlertsRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.networkAccessRequestBuilder::|public|cloudFirewallPolicies:global.Microsoft.Graph.Beta.NetworkAccess.CloudFirewallPolicies.CloudFirewallPoliciesRequestBuilder Microsoft.Graph.Beta.NetworkAccess.networkAccessRequestBuilder::|public|connectivity:global.Microsoft.Graph.Beta.NetworkAccess.Connectivity.ConnectivityRequestBuilder Microsoft.Graph.Beta.NetworkAccess.networkAccessRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.NetworkAccess.networkAccessRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void @@ -230499,27 +233490,28 @@ Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinatio Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime.DestinationReportWithStartDateTimeWithEndDateTimeResponse Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse::|public|Value:List -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse-->global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters::|public|DiscoveredApplicationSegmentId:string -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; endDateTime?:DateTimeOffset?; startDateTime?:DateTimeOffset?):void -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|GetAsDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdGetResponse::|public|Value:List +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdGetResponse +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdResponse-->global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdGetResponse +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.deviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdResponse +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilderGetQueryParameters::|public|ApplicationId:string +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilderGetQueryParameters::|public|DiscoveredApplicationSegmentId:string +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; endDateTime?:DateTimeOffset?; startDateTime?:DateTimeOffset?):void +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder::|public|GetAsDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdGetResponse +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.DeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdResponse +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime.entitiesSummariesWithStartDateTimeWithEndDateTimeGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime.entitiesSummariesWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime.entitiesSummariesWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void @@ -230773,7 +233765,7 @@ Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|Delete Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Networkaccess.Reports Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime(endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilder Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime(endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder -Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId(endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId(endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationId.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdRequestBuilder Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime(endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilder Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessGetApplicationUsageAnalyticsWithStartDateTimeWithEndDateTimeWithAggregatedBy(aggregatedBy:string; endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetApplicationUsageAnalyticsWithStartDateTimeWithEndDateTimeWithAggregatedBy.MicrosoftGraphNetworkaccessGetApplicationUsageAnalyticsWithStartDateTimeWithEndDateTimeWithAggregatedByRequestBuilder Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessGetCloudApplicationReportWithStartDateTimeWithEndDateTimeuserIdUserId(endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetCloudApplicationReportWithStartDateTimeWithEndDateTimeuserIdUserId.MicrosoftGraphNetworkaccessGetCloudApplicationReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder @@ -234832,6 +237824,82 @@ Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Details.detailsRequestBuild Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -234845,6 +237913,7 @@ Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuild Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Planner.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -235096,6 +238165,82 @@ Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsR Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -235109,6 +238254,7 @@ Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemR Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -235287,6 +238433,82 @@ Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -235300,6 +238522,7 @@ Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -235597,6 +238820,82 @@ Microsoft.Graph.Beta.Planner.Tasks.Item.Details.detailsRequestBuilder::|public|T Microsoft.Graph.Beta.Planner.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Planner.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Planner.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Planner.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Planner.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Planner.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -235610,6 +238909,7 @@ Microsoft.Graph.Beta.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|c Microsoft.Graph.Beta.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Planner.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Planner.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Planner.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -237303,6 +240603,18 @@ Microsoft.Graph.Beta.Policies.OnPremAuthenticationPolicies.onPremAuthenticationP Microsoft.Graph.Beta.Policies.OnPremAuthenticationPolicies.onPremAuthenticationPoliciesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Policies.OnPremAuthenticationPolicies.onPremAuthenticationPoliciesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.OnPremAuthenticationPolicy; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Policies.OnPremAuthenticationPolicies.onPremAuthenticationPoliciesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.OnPremAuthenticationPolicies.OnPremAuthenticationPoliciesRequestBuilder +Microsoft.Graph.Beta.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder.ownerlessGroupPolicyRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder.ownerlessGroupPolicyRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder.ownerlessGroupPolicyRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder.ownerlessGroupPolicyRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.OwnerlessGroupPolicy +Microsoft.Graph.Beta.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.OwnerlessGroupPolicy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.OwnerlessGroupPolicy +Microsoft.Graph.Beta.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.OwnerlessGroupPolicy; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Policies.OwnerlessGroupPolicy.OwnerlessGroupPolicyRequestBuilder Microsoft.Graph.Beta.Policies.PermissionGrantPolicies.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Policies.PermissionGrantPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Policies.PermissionGrantPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -237514,6 +240826,7 @@ Microsoft.Graph.Beta.Policies.policiesRequestBuilder::|public|identitySecurityDe Microsoft.Graph.Beta.Policies.policiesRequestBuilder::|public|mobileAppManagementPolicies:global.Microsoft.Graph.Beta.Policies.MobileAppManagementPolicies.MobileAppManagementPoliciesRequestBuilder Microsoft.Graph.Beta.Policies.policiesRequestBuilder::|public|mobileDeviceManagementPolicies:global.Microsoft.Graph.Beta.Policies.MobileDeviceManagementPolicies.MobileDeviceManagementPoliciesRequestBuilder Microsoft.Graph.Beta.Policies.policiesRequestBuilder::|public|onPremAuthenticationPolicies:global.Microsoft.Graph.Beta.Policies.OnPremAuthenticationPolicies.OnPremAuthenticationPoliciesRequestBuilder +Microsoft.Graph.Beta.Policies.policiesRequestBuilder::|public|ownerlessGroupPolicy:global.Microsoft.Graph.Beta.Policies.OwnerlessGroupPolicy.OwnerlessGroupPolicyRequestBuilder Microsoft.Graph.Beta.Policies.policiesRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PolicyRoot; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PolicyRoot Microsoft.Graph.Beta.Policies.policiesRequestBuilder::|public|permissionGrantPolicies:global.Microsoft.Graph.Beta.Policies.PermissionGrantPolicies.PermissionGrantPoliciesRequestBuilder Microsoft.Graph.Beta.Policies.policiesRequestBuilder::|public|permissionGrantPreApprovalPolicies:global.Microsoft.Graph.Beta.Policies.PermissionGrantPreApprovalPolicies.PermissionGrantPreApprovalPoliciesRequestBuilder @@ -253095,6 +256408,7 @@ Microsoft.Graph.Beta.Security.Alerts_v2.alerts_v2RequestBuilder::|public|constru Microsoft.Graph.Beta.Security.Alerts_v2.alerts_v2RequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Security.Alerts_v2.alerts_v2RequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Security.Alerts_v2.Count.CountRequestBuilder Microsoft.Graph.Beta.Security.Alerts_v2.alerts_v2RequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.AlertCollectionResponse +Microsoft.Graph.Beta.Security.Alerts_v2.alerts_v2RequestBuilder::|public|microsoftGraphSecurityMoveAlerts:global.Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MicrosoftGraphSecurityMoveAlertsRequestBuilder Microsoft.Graph.Beta.Security.Alerts_v2.alerts_v2RequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.Security.Alert; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.Alert Microsoft.Graph.Beta.Security.Alerts_v2.alerts_v2RequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.Alerts_v2.alerts_v2RequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.Alert; requestConfiguration?:Action>):RequestInformation @@ -253141,6 +256455,24 @@ Microsoft.Graph.Beta.Security.Alerts_v2.Item.Comments.Count.CountRequestBuilder: Microsoft.Graph.Beta.Security.Alerts_v2.Item.Comments.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? Microsoft.Graph.Beta.Security.Alerts_v2.Item.Comments.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.Alerts_v2.Item.Comments.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.Alerts_v2.Item.Comments.Count.CountRequestBuilder +Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.microsoftGraphSecurityMoveAlertsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.microsoftGraphSecurityMoveAlertsRequestBuilder.microsoftGraphSecurityMoveAlertsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.microsoftGraphSecurityMoveAlertsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.microsoftGraphSecurityMoveAlertsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.microsoftGraphSecurityMoveAlertsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MoveAlertsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.MergeResponse +Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.microsoftGraphSecurityMoveAlertsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MoveAlertsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.microsoftGraphSecurityMoveAlertsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MicrosoftGraphSecurityMoveAlertsRequestBuilder +Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|AlertComment:string +Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|AlertIds:List +Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|IncidentId:string +Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|NewCorrelationReasons:global.Microsoft.Graph.Beta.Models.Security.CorrelationReason? +Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MoveAlertsPostRequestBody +Microsoft.Graph.Beta.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Security.AttackSimulation.attackSimulationRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Security.AttackSimulation.attackSimulationRequestBuilder.attackSimulationRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Security.AttackSimulation.attackSimulationRequestBuilder.attackSimulationRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -256419,6 +259751,7 @@ Microsoft.Graph.Beta.Security.Incidents.incidentsRequestBuilder::|public|constru Microsoft.Graph.Beta.Security.Incidents.incidentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Security.Incidents.incidentsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Security.Incidents.Count.CountRequestBuilder Microsoft.Graph.Beta.Security.Incidents.incidentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.IncidentCollectionResponse +Microsoft.Graph.Beta.Security.Incidents.incidentsRequestBuilder::|public|microsoftGraphSecurityMergeIncidents:global.Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MicrosoftGraphSecurityMergeIncidentsRequestBuilder Microsoft.Graph.Beta.Security.Incidents.incidentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.Security.Incident; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.Incident Microsoft.Graph.Beta.Security.Incidents.incidentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.Incidents.incidentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.Incident; requestConfiguration?:Action>):RequestInformation @@ -256492,6 +259825,23 @@ Microsoft.Graph.Beta.Security.Incidents.Item.IncidentItemRequestBuilder::|public Microsoft.Graph.Beta.Security.Incidents.Item.IncidentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.Incidents.Item.IncidentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.Incident; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.Incidents.Item.IncidentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.Incidents.Item.IncidentItemRequestBuilder +Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|public|IncidentComment:string +Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|public|IncidentIds:List +Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|public|MergeReasons:global.Microsoft.Graph.Beta.Models.Security.CorrelationReason? +Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MergeIncidentsPostRequestBody +Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.microsoftGraphSecurityMergeIncidentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.microsoftGraphSecurityMergeIncidentsRequestBuilder.microsoftGraphSecurityMergeIncidentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.microsoftGraphSecurityMergeIncidentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.microsoftGraphSecurityMergeIncidentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.microsoftGraphSecurityMergeIncidentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MergeIncidentsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.MergeResponse +Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.microsoftGraphSecurityMergeIncidentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MergeIncidentsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.microsoftGraphSecurityMergeIncidentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MicrosoftGraphSecurityMergeIncidentsRequestBuilder Microsoft.Graph.Beta.Security.IncidentTasks.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Security.IncidentTasks.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Security.IncidentTasks.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -273497,6 +276847,50 @@ Microsoft.Graph.Beta.Solutions.Approval.Provision.provisionRequestBuilder::|publ Microsoft.Graph.Beta.Solutions.Approval.Provision.provisionRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Solutions.Approval.Provision.provisionRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Solutions.Approval.Provision.provisionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Solutions.Approval.Provision.ProvisionRequestBuilder +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.activityLogsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.activityLogsRequestBuilder.activityLogsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.activityLogsRequestBuilder.activityLogsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.activityLogsRequestBuilder.activityLogsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.activityLogsRequestBuilder.activityLogsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.activityLogsRequestBuilder.activityLogsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.activityLogsRequestBuilder.activityLogsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.activityLogsRequestBuilder.activityLogsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.activityLogsRequestBuilder.activityLogsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.activityLogsRequestBuilder.activityLogsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.activityLogsRequestBuilder.activityLogsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.activityLogsRequestBuilder::[ActivityLogBaseId:string]:global.Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Item.ActivityLogBaseItemRequestBuilder +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.activityLogsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.activityLogsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.activityLogsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Count.CountRequestBuilder +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.activityLogsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ActivityLogBaseCollectionResponse +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.activityLogsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ActivityLogBase; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ActivityLogBase +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.activityLogsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.activityLogsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ActivityLogBase; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.activityLogsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.ActivityLogsRequestBuilder +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Count.CountRequestBuilder +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Item.ActivityLogBaseItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Item.ActivityLogBaseItemRequestBuilder.ActivityLogBaseItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Item.ActivityLogBaseItemRequestBuilder.ActivityLogBaseItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Item.ActivityLogBaseItemRequestBuilder.ActivityLogBaseItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Item.ActivityLogBaseItemRequestBuilder.ActivityLogBaseItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Item.ActivityLogBaseItemRequestBuilder.ActivityLogBaseItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Item.ActivityLogBaseItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Item.ActivityLogBaseItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Item.ActivityLogBaseItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Item.ActivityLogBaseItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ActivityLogBase +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Item.ActivityLogBaseItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ActivityLogBase; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ActivityLogBase +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Item.ActivityLogBaseItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Item.ActivityLogBaseItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Item.ActivityLogBaseItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ActivityLogBase; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Item.ActivityLogBaseItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.Item.ActivityLogBaseItemRequestBuilder Microsoft.Graph.Beta.Solutions.BackupRestore.AllDrivesBackup.allDrivesBackupRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Solutions.BackupRestore.AllDrivesBackup.allDrivesBackupRequestBuilder.allDrivesBackupRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Solutions.BackupRestore.AllDrivesBackup.allDrivesBackupRequestBuilder.allDrivesBackupRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -273620,6 +277014,7 @@ Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder.backupR Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder.backupRestoreRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder.backupRestoreRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder.backupRestoreRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|activityLogs:global.Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.ActivityLogsRequestBuilder Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|allDrivesBackup:global.Microsoft.Graph.Beta.Solutions.BackupRestore.AllDrivesBackup.AllDrivesBackupRequestBuilder Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|allMailboxesBackup:global.Microsoft.Graph.Beta.Solutions.BackupRestore.AllMailboxesBackup.AllMailboxesBackupRequestBuilder Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|allSitesBackup:global.Microsoft.Graph.Beta.Solutions.BackupRestore.AllSitesBackup.AllSitesBackupRequestBuilder @@ -273644,6 +277039,7 @@ Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|publi Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.BackupRestoreRoot; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.BackupRestoreRoot Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|protectionPolicies:global.Microsoft.Graph.Beta.Solutions.BackupRestore.ProtectionPolicies.ProtectionPoliciesRequestBuilder Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|protectionUnits:global.Microsoft.Graph.Beta.Solutions.BackupRestore.ProtectionUnits.ProtectionUnitsRequestBuilder +Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|reports:global.Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.ReportsRequestBuilder Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|restorePoints:global.Microsoft.Graph.Beta.Solutions.BackupRestore.RestorePoints.RestorePointsRequestBuilder Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|restoreSessions:global.Microsoft.Graph.Beta.Solutions.BackupRestore.RestoreSessions.RestoreSessionsRequestBuilder Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|serviceApps:global.Microsoft.Graph.Beta.Solutions.BackupRestore.ServiceApps.ServiceAppsRequestBuilder @@ -274998,6 +278394,29 @@ Microsoft.Graph.Beta.Solutions.BackupRestore.ProtectionUnits.protectionUnitsRequ Microsoft.Graph.Beta.Solutions.BackupRestore.ProtectionUnits.protectionUnitsRequestBuilder::|public|graphSiteProtectionUnit:global.Microsoft.Graph.Beta.Solutions.BackupRestore.ProtectionUnits.GraphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder Microsoft.Graph.Beta.Solutions.BackupRestore.ProtectionUnits.protectionUnitsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Solutions.BackupRestore.ProtectionUnits.protectionUnitsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Solutions.BackupRestore.ProtectionUnits.ProtectionUnitsRequestBuilder +Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.GetStatisticsByPolicyWithPolicyId.getStatisticsByPolicyWithPolicyIdRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.GetStatisticsByPolicyWithPolicyId.getStatisticsByPolicyWithPolicyIdRequestBuilder.getStatisticsByPolicyWithPolicyIdRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.GetStatisticsByPolicyWithPolicyId.getStatisticsByPolicyWithPolicyIdRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; policyId?:string):void +Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.GetStatisticsByPolicyWithPolicyId.getStatisticsByPolicyWithPolicyIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.GetStatisticsByPolicyWithPolicyId.getStatisticsByPolicyWithPolicyIdRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.BackupPolicyReport +Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.GetStatisticsByPolicyWithPolicyId.getStatisticsByPolicyWithPolicyIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.GetStatisticsByPolicyWithPolicyId.getStatisticsByPolicyWithPolicyIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.GetStatisticsByPolicyWithPolicyId.GetStatisticsByPolicyWithPolicyIdRequestBuilder +Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.reportsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.reportsRequestBuilder.reportsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.reportsRequestBuilder.reportsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.reportsRequestBuilder.reportsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.reportsRequestBuilder.reportsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.reportsRequestBuilder.reportsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.reportsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.reportsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.reportsRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.reportsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.BackupReport +Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.reportsRequestBuilder::|public|getStatisticsByPolicyWithPolicyId(policyId:string):global.Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.GetStatisticsByPolicyWithPolicyId.GetStatisticsByPolicyWithPolicyIdRequestBuilder +Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.reportsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.BackupReport; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.BackupReport +Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.reportsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.reportsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.reportsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.BackupReport; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.reportsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Solutions.BackupRestore.Reports.ReportsRequestBuilder Microsoft.Graph.Beta.Solutions.BackupRestore.RestorePoints.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Solutions.BackupRestore.RestorePoints.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Solutions.BackupRestore.RestorePoints.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -276351,6 +279770,7 @@ Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Busines Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.BusinessScenarioTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.BusinessScenarioTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.BusinessScenarioTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.BusinessScenarioTask +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.BusinessScenarioTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.BusinessScenarioTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.BusinessScenarioTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.BusinessScenarioTask Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.BusinessScenarioTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.BusinessScenarioTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -276372,6 +279792,82 @@ Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Details Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder.progressTaskBoardFormatRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Solutions.BusinessScenarios.Item.Planner.Tasks.Item.ProgressTaskBoardFormat.progressTaskBoardFormatRequestBuilder.progressTaskBoardFormatRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -278332,6 +281828,13 @@ Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Activate.activateReques Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Activate.activateRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Activate.activateRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Activate.activateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Activate.ActivateRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Archive.archiveRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Archive.archiveRequestBuilder.archiveRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Archive.archiveRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Archive.archiveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Archive.archiveRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Archive.archiveRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Archive.archiveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Archive.ArchiveRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Columns.columnsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Columns.columnsRequestBuilder.columnsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Columns.columnsRequestBuilder.columnsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -278402,6 +281905,7 @@ Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerIte Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder.FileStorageContainerItemRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder.FileStorageContainerItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|activate:global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Activate.ActivateRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|archive:global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Archive.ArchiveRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|columns:global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Columns.ColumnsRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void @@ -278420,6 +281924,7 @@ Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerIte Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.FileStorageContainer; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|unarchive:global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unarchive.UnarchiveRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|unlock:global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unlock.UnlockRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.lockPostRequestBody::|public|AdditionalData:IDictionary @@ -279017,6 +282522,13 @@ Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.SharePointGroups.shareP Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.SharePointGroups.sharePointGroupsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.SharePointGroups.sharePointGroupsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.SharePointGroup; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.SharePointGroups.sharePointGroupsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.SharePointGroups.SharePointGroupsRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unarchive.unarchiveRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unarchive.unarchiveRequestBuilder.unarchiveRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unarchive.unarchiveRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unarchive.unarchiveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unarchive.unarchiveRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unarchive.unarchiveRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unarchive.unarchiveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unarchive.UnarchiveRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unlock.unlockRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unlock.unlockRequestBuilder.unlockRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unlock.unlockRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -279153,10 +282665,96 @@ Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.FileStorageContaine Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.FileStorageContainerType Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.FileStorageContainerType; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.FileStorageContainerType +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder::|public|permissions:global.Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.PermissionsRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.FileStorageContainerType; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.FileStorageContainerTypeItemRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Count.CountRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.grantPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.grantPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.grantPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.grantPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.grantPostRequestBody::|public|Recipients:List +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.grantPostRequestBody::|public|Roles:List +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.grantPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.grantPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantPostRequestBody +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.grantPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.grantPostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.grantPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.grantPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.grantPostResponse::|public|Value:List +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.grantPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantPostResponse +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.grantRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.grantRequestBuilder.grantRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.grantRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.grantRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.grantRequestBuilder::|public|PostAsGrantPostResponseAsync(body:global.Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantPostResponse +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.grantRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantResponse +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.grantRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.grantRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.grantResponse-->global.Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantPostResponse +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.grantResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantResponse +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.PermissionItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.PermissionItemRequestBuilder.PermissionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.PermissionItemRequestBuilder.PermissionItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.PermissionItemRequestBuilder.PermissionItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.PermissionItemRequestBuilder.PermissionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.PermissionItemRequestBuilder.PermissionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.PermissionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.PermissionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.PermissionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.PermissionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Permission +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.PermissionItemRequestBuilder::|public|grant:global.Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.Grant.GrantRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.PermissionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Permission; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Permission +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.PermissionItemRequestBuilder::|public|revokeGrants:global.Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Permission; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.PermissionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.PermissionItemRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Grantees:List +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder.revokeGrantsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Permission +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.permissionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.permissionsRequestBuilder::[PermissionId:string]:global.Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Item.PermissionItemRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.permissionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.permissionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.permissionsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.Count.CountRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.permissionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PermissionCollectionResponse +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.permissionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.Permission; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Permission +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.permissionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.permissionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.Permission; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.permissionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.ContainerTypes.Item.Permissions.PermissionsRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -279193,6 +282791,13 @@ Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Activate.activat Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Activate.activateRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Activate.activateRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Activate.activateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Activate.ActivateRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Archive.archiveRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Archive.archiveRequestBuilder.archiveRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Archive.archiveRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Archive.archiveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Archive.archiveRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Archive.archiveRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Archive.archiveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Archive.ArchiveRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Columns.columnsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Columns.columnsRequestBuilder.columnsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Columns.columnsRequestBuilder.columnsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -279263,6 +282868,7 @@ Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageConta Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder.FileStorageContainerItemRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder.FileStorageContainerItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|activate:global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Activate.ActivateRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|archive:global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Archive.ArchiveRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|columns:global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Columns.ColumnsRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void @@ -279281,6 +282887,7 @@ Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageConta Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.FileStorageContainer; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|unarchive:global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unarchive.UnarchiveRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|unlock:global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unlock.UnlockRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.lockPostRequestBody::|public|AdditionalData:IDictionary @@ -279878,6 +283485,13 @@ Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.SharePointGroups Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.sharePointGroupsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.sharePointGroupsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.SharePointGroup; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.sharePointGroupsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.SharePointGroupsRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unarchive.unarchiveRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unarchive.unarchiveRequestBuilder.unarchiveRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unarchive.unarchiveRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unarchive.unarchiveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unarchive.unarchiveRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unarchive.unarchiveRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unarchive.unarchiveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unarchive.UnarchiveRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unlock.unlockRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unlock.unlockRequestBuilder.unlockRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unlock.unlockRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -281340,6 +284954,82 @@ Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Ta Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -281353,6 +285043,7 @@ Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Ta Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -281531,6 +285222,82 @@ Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Deta Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -281544,6 +285311,7 @@ Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Plan Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -283214,6 +286982,82 @@ Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.T Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -283227,6 +287071,7 @@ Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.T Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -283405,6 +287250,82 @@ Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Det Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -283418,6 +287339,7 @@ Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Pla Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -285754,6 +289676,82 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Pl Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -285767,6 +289765,7 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Pl Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -285945,6 +289944,82 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Pl Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -285958,6 +290033,7 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Pl Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -287628,6 +291704,82 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.P Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -287641,6 +291793,7 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.P Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -287819,6 +291972,82 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.P Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -287832,6 +292061,7 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.P Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -290182,6 +294412,82 @@ Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -290195,6 +294501,7 @@ Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -290373,6 +294680,82 @@ Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -290386,6 +294769,7 @@ Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -292060,6 +296444,82 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -292073,6 +296533,7 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -292251,6 +296712,82 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -292264,6 +296801,7 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -293934,6 +298472,82 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -293947,6 +298561,7 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -294125,6 +298740,82 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -294138,6 +298829,7 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -304498,6 +309190,7 @@ Microsoft.Graph.Beta.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|remov Microsoft.Graph.Beta.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|sendActivityNotification:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder Microsoft.Graph.Beta.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|startMigration:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Beta.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|tabs:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.Tabs.TabsRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|targetedMessages:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder Microsoft.Graph.Beta.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Chat; requestConfiguration?:Action>):RequestInformation @@ -305431,6 +310124,328 @@ Microsoft.Graph.Beta.Users.Item.Chats.Item.Tabs.tabsRequestBuilder::|public|Post Microsoft.Graph.Beta.Users.Item.Chats.Item.Tabs.tabsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Chats.Item.Tabs.tabsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.TeamsTab; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Chats.Item.Tabs.tabsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.Tabs.TabsRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::[ChatMessageHostedContentId:string]:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageHostedContentCollectionResponse +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse-->global.Microsoft.Graph.Beta.Models.BaseDeltaFunctionResponse +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaResponse-->global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|public|AdditionalMessage:global.Microsoft.Graph.Beta.Models.ChatMessage +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|public|MessageIds:List +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|public|TargetChatIds:List +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostResponse::|public|Value:List +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostResponse +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatRequestBuilder.forwardToChatRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatRequestBuilder::|public|PostAsForwardToChatPostResponseAsync(body:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostResponse +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatResponse +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatResponse-->global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatPostResponse +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.forwardToChatResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatResponse +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessage +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|hostedContents:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessage +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|softDelete:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|undoSoftDelete:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::[ChatMessageHostedContentId:string]:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageHostedContentCollectionResponse +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder.softDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder.undoSoftDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::[ChatMessageId:string]:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|delta:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|forwardToChat:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ForwardToChat.ForwardToChatRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessageCollectionResponse +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessage +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Beta.Models.ChatMessage +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChatMessage +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TargetedChatMessage +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|hostedContents:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.TargetedChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TargetedChatMessage +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|replies:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.TargetedChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::[TargetedChatMessageId:string]:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TargetedChatMessageCollectionResponse +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.TargetedChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TargetedChatMessage +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.TargetedChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder Microsoft.Graph.Beta.Users.Item.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Users.Item.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Users.Item.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|constructor():void @@ -308523,6 +313538,7 @@ Microsoft.Graph.Beta.Users.Item.EmployeeExperience.employeeExperienceRequestBuil Microsoft.Graph.Beta.Users.Item.EmployeeExperience.employeeExperienceRequestBuilder::|public|learningCourseActivities:global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.LearningCourseActivities.LearningCourseActivitiesRequestBuilder Microsoft.Graph.Beta.Users.Item.EmployeeExperience.employeeExperienceRequestBuilder::|public|learningCourseActivitiesWithExternalcourseActivityId(externalcourseActivityId:string):global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder Microsoft.Graph.Beta.Users.Item.EmployeeExperience.employeeExperienceRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.EmployeeExperienceUser; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EmployeeExperienceUser +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.employeeExperienceRequestBuilder::|public|storyline:global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.StorylineRequestBuilder Microsoft.Graph.Beta.Users.Item.EmployeeExperience.employeeExperienceRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.EmployeeExperience.employeeExperienceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.EmployeeExperience.employeeExperienceRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.EmployeeExperienceUser; requestConfiguration?:Action>):RequestInformation @@ -308571,6 +313587,111 @@ Microsoft.Graph.Beta.Users.Item.EmployeeExperience.LearningCourseActivitiesWithE Microsoft.Graph.Beta.Users.Item.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId.learningCourseActivitiesWithExternalcourseActivityIdRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.LearningCourseActivity Microsoft.Graph.Beta.Users.Item.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId.learningCourseActivitiesWithExternalcourseActivityIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId.learningCourseActivitiesWithExternalcourseActivityIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.LearningCourseActivitiesWithExternalcourseActivityId.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.followersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.followersRequestBuilder.followersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.followersRequestBuilder.followersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.followersRequestBuilder.followersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.followersRequestBuilder.followersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.followersRequestBuilder.followersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.followersRequestBuilder.followersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.followersRequestBuilder.followersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.followersRequestBuilder.followersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.followersRequestBuilder.followersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.followersRequestBuilder.followersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.followersRequestBuilder::[StorylineFollowerId:string]:global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.followersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.followersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.followersRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.followersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.StorylineFollowerCollectionResponse +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.followersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.StorylineFollower; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.StorylineFollower +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.followersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.followersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.StorylineFollower; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.followersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.FollowersRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder.StorylineFollowerItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder.StorylineFollowerItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder.StorylineFollowerItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder.StorylineFollowerItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder.StorylineFollowerItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.StorylineFollower +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.StorylineFollower; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.StorylineFollower +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.StorylineFollower; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.Item.StorylineFollowerItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.followingsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.followingsRequestBuilder.followingsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.followingsRequestBuilder.followingsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.followingsRequestBuilder.followingsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.followingsRequestBuilder.followingsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.followingsRequestBuilder.followingsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.followingsRequestBuilder.followingsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.followingsRequestBuilder.followingsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.followingsRequestBuilder.followingsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.followingsRequestBuilder.followingsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.followingsRequestBuilder.followingsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.followingsRequestBuilder::[StorylineFollowingId:string]:global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.followingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.followingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.followingsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.followingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.StorylineFollowingCollectionResponse +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.followingsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.StorylineFollowing; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.StorylineFollowing +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.followingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.followingsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.StorylineFollowing; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.followingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.FollowingsRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder.StorylineFollowingItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder.StorylineFollowingItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder.StorylineFollowingItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder.StorylineFollowingItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder.StorylineFollowingItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.StorylineFollowing +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.StorylineFollowing; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.StorylineFollowing +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.StorylineFollowing; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.Item.StorylineFollowingItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.storylineRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.storylineRequestBuilder.storylineRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.storylineRequestBuilder.storylineRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.storylineRequestBuilder.storylineRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.storylineRequestBuilder.storylineRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.storylineRequestBuilder.storylineRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.storylineRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.storylineRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.storylineRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.storylineRequestBuilder::|public|followers:global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followers.FollowersRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.storylineRequestBuilder::|public|followings:global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.Followings.FollowingsRequestBuilder +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.storylineRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Storyline +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.storylineRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Storyline; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Storyline +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.storylineRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.storylineRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.storylineRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Storyline; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.storylineRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.EmployeeExperience.Storyline.StorylineRequestBuilder Microsoft.Graph.Beta.Users.Item.Events.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.Events.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Users.Item.Events.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -312578,16 +317699,21 @@ Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuil Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|removeDeviceFirmwareConfigurationInterfaceManagement:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RemoveDeviceFirmwareConfigurationInterfaceManagement.RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|requestRemoteAssistance:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RequestRemoteAssistance.RequestRemoteAssistanceRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|resetPasscode:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ResetPasscode.ResetPasscodeRequestBuilder +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|restoreManagedHomeScreen:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RestoreManagedHomeScreen.RestoreManagedHomeScreenRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|retire:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.Retire.RetireRequestBuilder +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|retrieveDeviceLocalAdminAccountDetail:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.RetrieveDeviceLocalAdminAccountDetailRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|retrieveMacOSManagedDeviceLocalAdminAccountDetail:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.RetrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|retrieveRecoveryLockPasscode:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|revokeAppleVppLicenses:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RevokeAppleVppLicenses.RevokeAppleVppLicensesRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|rotateBitLockerKeys:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateBitLockerKeys.RotateBitLockerKeysRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|rotateFileVaultKey:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateFileVaultKey.RotateFileVaultKeyRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|rotateLocalAdminPassword:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateLocalAdminPassword.RotateLocalAdminPasswordRequestBuilder +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|rotateRecoveryLockPasscode:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|securityBaselineStates:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SecurityBaselineStates.SecurityBaselineStatesRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|sendCustomNotificationToCompanyPortal:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SendCustomNotificationToCompanyPortal.SendCustomNotificationToCompanyPortalRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|setDeviceName:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SetDeviceName.SetDeviceNameRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|shutDown:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ShutDown.ShutDownRequestBuilder +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|suspendManagedHomeScreen:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|syncDevice:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SyncDevice.SyncDeviceRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ManagedDeviceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -312739,6 +317865,13 @@ Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ResetPasscode.resetPasscodeR Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ResetPasscode.resetPasscodeRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ResetPasscode.resetPasscodeRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ResetPasscode.resetPasscodeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ResetPasscode.ResetPasscodeRequestBuilder +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder.restoreManagedHomeScreenRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RestoreManagedHomeScreen.restoreManagedHomeScreenRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RestoreManagedHomeScreen.RestoreManagedHomeScreenRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.Retire.retireRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.Retire.retireRequestBuilder.retireRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.Retire.retireRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -312746,6 +317879,13 @@ Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.Retire.retireRequestBuilder: Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.Retire.retireRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.Retire.retireRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.Retire.retireRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.Retire.RetireRequestBuilder +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder.retrieveDeviceLocalAdminAccountDetailRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DeviceLocalAdminAccountDetail +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.retrieveDeviceLocalAdminAccountDetailRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveDeviceLocalAdminAccountDetail.RetrieveDeviceLocalAdminAccountDetailRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -312753,6 +317893,24 @@ Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveMacOSManagedDeviceLo Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MacOSManagedDeviceLocalAdminAccountDetail Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.retrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveMacOSManagedDeviceLocalAdminAccountDetail.RetrieveMacOSManagedDeviceLocalAdminAccountDetailRequestBuilder +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|public|Value:string +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeGetResponse~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder.retrieveRecoveryLockPasscodeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder::|public|GetAsRetrieveRecoveryLockPasscodeGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeResponse +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeRequestBuilder +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeResponse-->global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeGetResponse +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.retrieveRecoveryLockPasscodeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RetrieveRecoveryLockPasscode.RetrieveRecoveryLockPasscodeResponse Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RevokeAppleVppLicenses.revokeAppleVppLicensesRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RevokeAppleVppLicenses.revokeAppleVppLicensesRequestBuilder.revokeAppleVppLicensesRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RevokeAppleVppLicenses.revokeAppleVppLicensesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -312781,6 +317939,13 @@ Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateLocalAdminPassword.rot Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateLocalAdminPassword.rotateLocalAdminPasswordRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateLocalAdminPassword.rotateLocalAdminPasswordRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateLocalAdminPassword.rotateLocalAdminPasswordRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateLocalAdminPassword.RotateLocalAdminPasswordRequestBuilder +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder.rotateRecoveryLockPasscodeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateRecoveryLockPasscode.rotateRecoveryLockPasscodeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.RotateRecoveryLockPasscode.RotateRecoveryLockPasscodeRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SecurityBaselineStates.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SecurityBaselineStates.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SecurityBaselineStates.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -312908,6 +318073,21 @@ Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ShutDown.shutDownRequestBuil Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ShutDown.shutDownRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ShutDown.shutDownRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ShutDown.shutDownRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.ShutDown.ShutDownRequestBuilder +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|public|TimeoutMinutes:string +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder.suspendManagedHomeScreenRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.suspendManagedHomeScreenRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SuspendManagedHomeScreen.SuspendManagedHomeScreenRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SyncDevice.syncDeviceRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SyncDevice.syncDeviceRequestBuilder.syncDeviceRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.ManagedDevices.Item.SyncDevice.syncDeviceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -318782,6 +323962,82 @@ Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Detai Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -318795,6 +324051,7 @@ Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Plann Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -318973,6 +324230,82 @@ Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Details.detailsReq Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -318986,6 +324319,7 @@ Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemReq Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -319211,6 +324545,82 @@ Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Details.detailsRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder.PlannerTaskChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder::[PlannerTaskChatMessageId:string]:global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Item.PlannerTaskChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessageCollectionResponse +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTaskChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.PlannerTaskItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.PlannerTaskItemRequestBuilder.PlannerTaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -319224,6 +324634,7 @@ Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.PlannerTaskItemRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Details.DetailsRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask +Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerTask Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|progressTaskBoardFormat:global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.ProgressTaskBoardFormat.ProgressTaskBoardFormatRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.Tasks.Item.PlannerTaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -321249,14 +326660,36 @@ Microsoft.Graph.Beta.Users.Item.Sponsors.Count.CountRequestBuilder::|public|GetA Microsoft.Graph.Beta.Users.Item.Sponsors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Sponsors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Sponsors.Count.CountRequestBuilder Microsoft.Graph.Beta.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Beta.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Beta.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Beta.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryObject -Microsoft.Graph.Beta.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|Ref:global.Microsoft.Graph.Beta.Users.Item.Sponsors.Item.Ref.RefRequestBuilder +Microsoft.Graph.Beta.Users.Item.Sponsors.Item.Ref.RefRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Sponsors.Item.Ref.RefRequestBuilder.RefRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Sponsors.Item.Ref.RefRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Sponsors.Item.Ref.RefRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Sponsors.Item.Ref.RefRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Sponsors.Item.Ref.RefRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Sponsors.Item.Ref.RefRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Sponsors.Item.Ref.RefRequestBuilder +Microsoft.Graph.Beta.Users.Item.Sponsors.Ref.RefRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderDeleteQueryParameters::|public|Id:string +Microsoft.Graph.Beta.Users.Item.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Sponsors.Ref.RefRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Sponsors.Ref.RefRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Sponsors.Ref.RefRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Sponsors.Ref.RefRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.StringCollectionResponse +Microsoft.Graph.Beta.Users.Item.Sponsors.Ref.RefRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ReferenceCreate; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Sponsors.Ref.RefRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Sponsors.Ref.RefRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Sponsors.Ref.RefRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ReferenceCreate; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Sponsors.Ref.RefRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Sponsors.Ref.RefRequestBuilder Microsoft.Graph.Beta.Users.Item.Sponsors.sponsorsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.Sponsors.sponsorsRequestBuilder.sponsorsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Beta.Users.Item.Sponsors.sponsorsRequestBuilder.sponsorsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -321272,6 +326705,7 @@ Microsoft.Graph.Beta.Users.Item.Sponsors.sponsorsRequestBuilder::|public|constru Microsoft.Graph.Beta.Users.Item.Sponsors.sponsorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Users.Item.Sponsors.sponsorsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.Sponsors.Count.CountRequestBuilder Microsoft.Graph.Beta.Users.Item.Sponsors.sponsorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryObjectCollectionResponse +Microsoft.Graph.Beta.Users.Item.Sponsors.sponsorsRequestBuilder::|public|Ref:global.Microsoft.Graph.Beta.Users.Item.Sponsors.Ref.RefRequestBuilder Microsoft.Graph.Beta.Users.Item.Sponsors.sponsorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Sponsors.sponsorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Sponsors.SponsorsRequestBuilder Microsoft.Graph.Beta.Users.Item.Teamwork.AssociatedTeams.associatedTeamsRequestBuilder-->BaseRequestBuilder @@ -321328,6 +326762,69 @@ Microsoft.Graph.Beta.Users.Item.Teamwork.AssociatedTeams.Item.Team.teamRequestBu Microsoft.Graph.Beta.Users.Item.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Team Microsoft.Graph.Beta.Users.Item.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Teamwork.AssociatedTeams.Item.Team.TeamRequestBuilder +Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|ChannelId:string +Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|MessageId:string +Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|TeamId:string +Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody +Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder.deleteTargetedMessageRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|public|Value:List +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|GetAsGetAllRetainedTargetedMessagesGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesResponse-->global.Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|public|Value:List +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|GetAsGetAllTargetedMessagesGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesResponse-->global.Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse +Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse Microsoft.Graph.Beta.Users.Item.Teamwork.InstalledApps.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.Teamwork.InstalledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Users.Item.Teamwork.InstalledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -321433,6 +326930,9 @@ Microsoft.Graph.Beta.Users.Item.Teamwork.teamworkRequestBuilder::|public|associa Microsoft.Graph.Beta.Users.Item.Teamwork.teamworkRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Users.Item.Teamwork.teamworkRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Users.Item.Teamwork.teamworkRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Teamwork.teamworkRequestBuilder::|public|deleteTargetedMessage:global.Microsoft.Graph.Beta.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder +Microsoft.Graph.Beta.Users.Item.Teamwork.teamworkRequestBuilder::|public|getAllRetainedTargetedMessages:global.Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder +Microsoft.Graph.Beta.Users.Item.Teamwork.teamworkRequestBuilder::|public|getAllTargetedMessages:global.Microsoft.Graph.Beta.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder Microsoft.Graph.Beta.Users.Item.Teamwork.teamworkRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UserTeamwork Microsoft.Graph.Beta.Users.Item.Teamwork.teamworkRequestBuilder::|public|installedApps:global.Microsoft.Graph.Beta.Users.Item.Teamwork.InstalledApps.InstalledAppsRequestBuilder Microsoft.Graph.Beta.Users.Item.Teamwork.teamworkRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.UserTeamwork; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UserTeamwork diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index ef6a2dddc312..9303d58d46ef 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "E72BD3BC45ED6E9974FF36103ECF6FDFAD0B31B474BBAD87424D012737D1B158F13563510F197FEEC67DDB4314B2FDDA3EB267A3EEE251322154599941C864A5", + "descriptionHash": "838E3F86DD3058574CEB9C3AA96BA3274A6358FB05C380AED575FF3BA31A197BB78DEDEFAE3B68E020A8774A4CB8B13E28426B86E6D4B4188D4BB72C63137A9A", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.30.0",