diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchivePostResponse.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchivePostResponse.cs index 535a72ad964..e19797c829f 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchivePostResponse.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchivePostResponse.cs @@ -34,6 +34,7 @@ public ArchivePostResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoritePostResponse.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoritePostResponse.cs index 29b132f7674..570563049a6 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoritePostResponse.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoritePostResponse.cs @@ -34,6 +34,7 @@ public FavoritePostResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadPostResponse.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadPostResponse.cs index 236070f90f6..3077932c26d 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadPostResponse.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadPostResponse.cs @@ -34,6 +34,7 @@ public MarkReadPostResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadPostResponse.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadPostResponse.cs index c4dbd5f3500..92fb8b019a4 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadPostResponse.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadPostResponse.cs @@ -34,6 +34,7 @@ public MarkUnreadPostResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchivePostResponse.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchivePostResponse.cs index b58a4e11193..4fda2126160 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchivePostResponse.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchivePostResponse.cs @@ -34,6 +34,7 @@ public UnarchivePostResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoritePostResponse.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoritePostResponse.cs index ce9ef43d8f7..c5d52ace9b3 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoritePostResponse.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoritePostResponse.cs @@ -34,6 +34,7 @@ public UnfavoritePostResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.cs index 8fde2896c53..d1b1d6a26a8 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. + /// 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.Models.ApplicationTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. + /// 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. + /// 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/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.cs index b3f96c488cb..8faca48cf0a 100644 --- a/src/Microsoft.Graph/Generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.cs @@ -41,7 +41,7 @@ public ApplicationTemplateItemRequestBuilder(string rawUrl, IRequestAdapter requ { } /// - /// Retrieve the properties of an applicationTemplate object. + /// Retrieve the properties of an applicationTemplate object. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license. /// Find more info here /// /// A @@ -65,7 +65,7 @@ public ApplicationTemplateItemRequestBuilder(string rawUrl, IRequestAdapter requ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ApplicationTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the properties of an applicationTemplate object. + /// Retrieve the properties of an applicationTemplate object. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -93,7 +93,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve the properties of an applicationTemplate object. + /// Retrieve the properties of an applicationTemplate object. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ApplicationTemplateItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index 1492344e692..44914112958 100644 --- a/src/Microsoft.Graph/Generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.cs index 2e6fa4f5e1a..8f87f9130a1 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/applications/{application%2Did}/appManagementPolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -138,7 +138,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -159,7 +159,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Applications/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Applications/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index da96837c4b3..840e52f225b 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Applications/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Applications/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index 9483f84df63..3effa511445 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Owners/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Owners/Ref/RefRequestBuilder.cs index 9c683c3f44c..5761780917b 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Owners/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Owners/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/applications/{application%2Did}/owners/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/applications/{application%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/applications/{application%2Did}/owners/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsPostRequestBody.cs index ad245dd2445..52b708a3aed 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsPostRequestBody.cs @@ -83,6 +83,7 @@ public ValidateCredentialsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + UseSavedCredentials = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsPostRequestBody.cs index 4e333d671c8..08233fa7ae3 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsPostRequestBody.cs @@ -83,6 +83,7 @@ public ValidateCredentialsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + UseSavedCredentials = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs index f66eab9207c..23369c90e71 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/applications/{application%2Did}/tokenIssuancePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs index 6f2f78f0cd2..ee123607ca3 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/applications/{application%2Did}/tokenLifetimePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Chats/Item/ChatItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/ChatItemRequestBuilder.cs index ac7cc83e837..972920e0b0c 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/ChatItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/ChatItemRequestBuilder.cs @@ -14,6 +14,7 @@ using Microsoft.Graph.Chats.Item.SendActivityNotification; using Microsoft.Graph.Chats.Item.StartMigration; using Microsoft.Graph.Chats.Item.Tabs; +using Microsoft.Graph.Chats.Item.TargetedMessages; using Microsoft.Graph.Chats.Item.UnhideForUser; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; @@ -103,6 +104,11 @@ public partial class ChatItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Chats.Item.Tabs.TabsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder TargetedMessages + { + get => new global::Microsoft.Graph.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the unhideForUser method. public global::Microsoft.Graph.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 00000000000..51675e4ca18 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..18034070d1e --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..e8113f45b38 --- /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.Chats.Item.TargetedMessages.Item.HostedContents.Count; +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.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.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.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to hostedContents for 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to hostedContents for 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..d43924f24fd --- /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.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property hostedContents in 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property hostedContents for 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..32d2a3d2b78 --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetStreamContent(body, "application/octet-stream"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..2c46ae9aadb --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..b26505ed280 --- /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.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/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 00000000000..6b88ce823da --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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 get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/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 00000000000..365f971147f --- /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.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.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.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse(); + } + } +} +#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 00000000000..751573da885 --- /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.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents; +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction; +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete; +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete; +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder HostedContents + { + get => new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the softDelete method. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder SoftDelete + { + get => new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the undoSoftDelete method. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder UndoSoftDelete + { + get => new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property replies in 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.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property replies for 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.Models.ChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..0dc766ba7eb --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..e6fdcdcf901 --- /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.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count; +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.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.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.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to hostedContents for 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to hostedContents for 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..07d91ed5881 --- /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.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property hostedContents in 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property hostedContents for 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..a49699a344b --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetStreamContent(body, "application/octet-stream"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..decf6a73b5a --- /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.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.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.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 00000000000..79209fa306d --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.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.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action setReaction + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.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.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..77645e9c198 --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.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.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..9a822112564 --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.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.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..9b00bd8c417 --- /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.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.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.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 00000000000..0054a17bde3 --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.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.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action unsetReaction + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.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.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..7e24b09ef5f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/RepliesRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count; +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta; +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item; +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the delta method. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder Delta + { + get => new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.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.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.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to replies for 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.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to replies for 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.Models.ChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..92df8fa9a7a --- /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.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.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/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 00000000000..8a44e847133 --- /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.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.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.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..b0931931692 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents; +using Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder HostedContents + { + get => new global::Microsoft.Graph.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.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder Replies + { + get => new global::Microsoft.Graph.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.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property targetedMessages in 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.Models.TargetedChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property targetedMessages for 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.Models.TargetedChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..a0adf51cfe8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Chats.Item.TargetedMessages.Count; +using Microsoft.Graph.Chats.Item.TargetedMessages.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.Chats.Item.TargetedMessages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.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.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("targetedChatMessage%2Did", position); + return new global::Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to targetedMessages for 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.Models.TargetedChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// 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.Models.TargetedChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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/Communications/Calls/Item/RecordResponse/RecordResponsePostRequestBody.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/RecordResponse/RecordResponsePostRequestBody.cs index cf7c7080f8f..9b8e0634c0b 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/RecordResponse/RecordResponsePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/RecordResponse/RecordResponsePostRequestBody.cs @@ -107,6 +107,8 @@ public RecordResponsePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + BargeInAllowed = false; + PlayBeep = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index 06ef4ea68e7..264d04287fe 100644 --- a/src/Microsoft.Graph/Generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index b0cfce81265..ca7af2443fe 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index ffc88d4dfe6..8cefdc341a5 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index 4c3648c1ef4..3d8b2f3167d 100644 --- a/src/Microsoft.Graph/Generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index c0ed5be9a22..bc15bfc0e78 100644 --- a/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index d4eee813a2e..ad2309c177b 100644 --- a/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs index 26f4bc62b5e..c453c002842 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs @@ -34,6 +34,7 @@ public CleanWindowsDevicePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + KeepUserData = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs index 41430424240..737025dd084 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs @@ -34,6 +34,7 @@ public WindowsDefenderScanPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + QuickScan = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/Wipe/WipePostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/Wipe/WipePostRequestBody.cs index ae172fe5a6c..9ba76c2e42e 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/Wipe/WipePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/Wipe/WipePostRequestBody.cs @@ -62,6 +62,9 @@ public WipePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + KeepEnrollmentData = false; + KeepUserData = false; + PersistEsimDataPlan = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VerifyWindowsEnrollmentAutoDiscoveryWithDomainName/VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameGetResponse.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VerifyWindowsEnrollmentAutoDiscoveryWithDomainName/VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameGetResponse.cs index 50f2314a937..2eac651fd8f 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VerifyWindowsEnrollmentAutoDiscoveryWithDomainName/VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameGetResponse.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VerifyWindowsEnrollmentAutoDiscoveryWithDomainName/VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameGetResponse.cs @@ -34,6 +34,7 @@ public VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameGetResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index b9d9e0a2ae2..c95a3e5f73b 100644 --- a/src/Microsoft.Graph/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Devices/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Devices/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index 930cba52f96..68782befa44 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Devices/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Devices/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index b8072c67860..318a624e962 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.cs index 4222eb04477..0b5f3d2af43 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredOwners/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredOwners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/devices/{device%2Did}/registeredOwners/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredOwners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/devices/{device%2Did}/registeredOwners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/devices/{device%2Did}/registeredOwners/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.cs index b60cecf7b58..49acbce69d0 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredUsers/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredUsers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/devices/{device%2Did}/registeredUsers/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredUsers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/devices/{device%2Did}/registeredUsers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/devices/{device%2Did}/registeredUsers/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Ref/RefRequestBuilder.cs index 943db517ede..c0303deaa10 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/administrativeUnits/{administrativeUnit%2Did}/members/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/administrativeUnits/{administrativeUnit%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/directory/administrativeUnits/{administrativeUnit%2Did}/members/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/administrativeUnits/{administrativeUnit%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/directory/administrativeUnits/{administrativeUnit%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/directory/administrativeUnits/{administrativeUnit%2Did}/members/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index fd3fa08e5b0..9529e61d49d 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index ef25fc75d82..56a40b65b17 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index ff4d36821aa..5c95356fd2b 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index 2203c626015..8b32306d2a2 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index 197c235a6d2..bce2c576158 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index cc214970c3f..dfc5edf6e99 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index b65611828eb..fc6cc752d1f 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index 79df749ff21..ea53abc984f 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index 86e9be18747..82e478d6d0c 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index 1645759f497..ce0e341c74b 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index 7a750259903..224d6d3e684 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index 10537668b0b..2c6333cd2f9 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Ref/RefRequestBuilder.cs index f4e4a151b4f..d48906f6f1f 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/directoryRoles/{directoryRole%2Did}/members/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Domains/Item/ForceDelete/ForceDeletePostRequestBody.cs b/src/Microsoft.Graph/Generated/Domains/Item/ForceDelete/ForceDeletePostRequestBody.cs index f62a4b1afb8..bdbe649d358 100644 --- a/src/Microsoft.Graph/Generated/Domains/Item/ForceDelete/ForceDeletePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Domains/Item/ForceDelete/ForceDeletePostRequestBody.cs @@ -34,6 +34,7 @@ public ForceDeletePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + DisableUserAccounts = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Domains/Item/Promote/PromotePostResponse.cs b/src/Microsoft.Graph/Generated/Domains/Item/Promote/PromotePostResponse.cs index 118900e6a3f..9db51222e2e 100644 --- a/src/Microsoft.Graph/Generated/Domains/Item/Promote/PromotePostResponse.cs +++ b/src/Microsoft.Graph/Generated/Domains/Item/Promote/PromotePostResponse.cs @@ -34,6 +34,7 @@ public PromotePostResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Copy/CopyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Copy/CopyPostRequestBody.cs index 21a7fd3de5b..90e14beacb8 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Copy/CopyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Copy/CopyPostRequestBody.cs @@ -73,6 +73,8 @@ public CopyPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ChildrenOnly = false; + IncludeAllVersionHistory = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs index 3fa8b0f3d8d..a7eb6e7245b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs @@ -127,6 +127,8 @@ public CreateLinkPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + RetainInheritedPermissions = false; + SendNotification = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Invite/InvitePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Invite/InvitePostRequestBody.cs index e293c7d9b48..a07ac5e2e32 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Invite/InvitePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Invite/InvitePostRequestBody.cs @@ -127,6 +127,9 @@ public InvitePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + RequireSignIn = false; + RetainInheritedPermissions = false; + SendInvitation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/CreateSession/CreateSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/CreateSession/CreateSessionPostRequestBody.cs index 7df92885507..ebb81b7d2f0 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/CreateSession/CreateSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/CreateSession/CreateSessionPostRequestBody.cs @@ -34,6 +34,7 @@ public CreateSessionPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + PersistChanges = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/Merge/MergePostRequestBody.cs index c4c73c1a975..2bab301d9f8 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddPostRequestBody.cs index 95152e45c93..41d999ad93f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddPostRequestBody.cs @@ -50,6 +50,7 @@ public AddPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + HasHeaders = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/Merge/MergePostRequestBody.cs index a6253918c5d..b24de7608d9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/Merge/MergePostRequestBody.cs index ca1fa4707cd..ec47ab0bd29 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/RangeNamespace/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/RangeNamespace/Merge/MergePostRequestBody.cs index 209eb10b6be..0a8ed24644c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/RangeNamespace/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/RangeNamespace/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/Merge/MergePostRequestBody.cs index 2864aedae1b..2754c7e3393 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/DataBodyRange/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/DataBodyRange/Merge/MergePostRequestBody.cs index 254e71d3212..f8914578d02 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/DataBodyRange/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/DataBodyRange/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/HeaderRowRange/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/HeaderRowRange/Merge/MergePostRequestBody.cs index b625ca8a8e6..69fd26cd791 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/HeaderRowRange/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/HeaderRowRange/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/RangeNamespace/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/RangeNamespace/Merge/MergePostRequestBody.cs index c6a709b6862..dcaf26aed31 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/RangeNamespace/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/RangeNamespace/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/RangeNamespace/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/RangeNamespace/Merge/MergePostRequestBody.cs index cc8031973a5..bf47cd0df00 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/RangeNamespace/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/RangeNamespace/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyPostRequestBody.cs index b3dd8a0ea90..32787476590 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyPostRequestBody.cs @@ -67,6 +67,7 @@ public ApplyPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + MatchCase = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/TotalRowRange/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/TotalRowRange/Merge/MergePostRequestBody.cs index bbc3d74adb5..b6cbde00b2a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/TotalRowRange/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/TotalRowRange/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/Merge/MergePostRequestBody.cs index a4770619dbd..5bf075a846b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/Merge/MergePostRequestBody.cs index 94f1ace86bf..5cc27e5b961 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeNamespace/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeNamespace/Merge/MergePostRequestBody.cs index c7089af18f3..86ffb6f4a9c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeNamespace/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeNamespace/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/Merge/MergePostRequestBody.cs index ae30abb901c..0c3ec55dda2 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddPostRequestBody.cs index c4af8814b01..a8c225d31d0 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddPostRequestBody.cs @@ -50,6 +50,7 @@ public AddPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + HasHeaders = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/Merge/MergePostRequestBody.cs index a0613c19654..29c62cce6ad 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/Merge/MergePostRequestBody.cs index 54f9091095e..f31ee03fd5c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/RangeNamespace/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/RangeNamespace/Merge/MergePostRequestBody.cs index afd07aa77cf..906c6b96346 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/RangeNamespace/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/RangeNamespace/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/Merge/MergePostRequestBody.cs index bd27532ac0d..d34eeee8f7f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/Merge/MergePostRequestBody.cs index e8f8293ee8c..8c3d1502da9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/Merge/MergePostRequestBody.cs index 04593687512..485e64257c3 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/RangeNamespace/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/RangeNamespace/Merge/MergePostRequestBody.cs index cdba73596e4..24a91a52944 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/RangeNamespace/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/RangeNamespace/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/RangeNamespace/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/RangeNamespace/Merge/MergePostRequestBody.cs index e7eb40361d8..5a39dc0968f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/RangeNamespace/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/RangeNamespace/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyPostRequestBody.cs index 52cce8cfbf2..ded847657c5 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyPostRequestBody.cs @@ -67,6 +67,7 @@ public ApplyPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + MatchCase = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/Merge/MergePostRequestBody.cs index 8203366eed5..7c1ac7bb93d 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRange/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRange/Merge/MergePostRequestBody.cs index f45ed22c639..879e2eb36d7 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRange/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRange/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/Merge/MergePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/Merge/MergePostRequestBody.cs index 86f8cbbf517..2a6a44332d2 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/Merge/MergePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/Merge/MergePostRequestBody.cs @@ -34,6 +34,7 @@ public MergePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Across = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs index 01de65b2c18..99a5ef9bf33 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs @@ -50,6 +50,7 @@ public AssociateWithHubSitesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + PropagateToExistingLists = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs index 4b08da4a583..40a087d90b2 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs @@ -34,6 +34,7 @@ public IsPublishedGetResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/CreateLink/CreateLinkPostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/CreateLink/CreateLinkPostRequestBody.cs index 354892672b2..e4e4558aaeb 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/CreateLink/CreateLinkPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/CreateLink/CreateLinkPostRequestBody.cs @@ -127,6 +127,8 @@ public CreateLinkPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + RetainInheritedPermissions = false; + SendNotification = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs index bfb2084a7a8..1955db70e93 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Ref/RefRequestBuilder.cs index 6b175714ed0..4427115bff1 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/members/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/education/classes/{educationClass%2Did}/members/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/education/classes/{educationClass%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/education/classes/{educationClass%2Did}/members/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.cs index a45a9cb0f20..6da8a96763d 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/education/classes/{educationClass%2Did}/teachers/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilder.cs index 3f033ab1605..2447c6e53fd 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/categories/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/education/me/assignments/{educationAssignment%2Did}/categories/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -136,7 +136,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -157,7 +157,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/categories/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Ref/RefRequestBuilder.cs index 3d578ec9cdb..653c52d5c9b 100644 --- a/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/education/schools/{educationSchool%2Did}/classes/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Ref/RefRequestBuilder.cs index ad959846d12..10354a062de 100644 --- a/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/users/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/users/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/education/schools/{educationSchool%2Did}/users/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/users/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/education/schools/{educationSchool%2Did}/users/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/education/schools/{educationSchool%2Did}/users/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs index 31366b2d56d..dd86ef40b0b 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/categories/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/categories/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -136,7 +136,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -157,7 +157,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/categories/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostResponse.cs b/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostResponse.cs index 23a80ea658d..18dcf856a08 100644 --- a/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostResponse.cs +++ b/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostResponse.cs @@ -34,6 +34,7 @@ public AddGroupPostResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostResponse.cs b/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostResponse.cs index fb43e563fd6..37651d557dc 100644 --- a/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostResponse.cs +++ b/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostResponse.cs @@ -34,6 +34,7 @@ public RemoveGroupPostResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index 362b6568b3a..19439e8254e 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index 0ead36f0a59..0b1f07a4b9a 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index a02b3a44ba0..3442f2a673f 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index e706c28b0a3..6f9aa495e97 100644 --- a/src/Microsoft.Graph/Generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.cs index f714fd154bc..0505380d679 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/groups/{group%2Did}/acceptedSenders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs index 90b73ceb240..597decdce10 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs @@ -50,6 +50,7 @@ public AcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs index 516fd14fa05..a0bea2daded 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs @@ -67,6 +67,7 @@ public DeclinePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 3a467f5333e..7da41f99f66 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -67,6 +67,7 @@ public TentativelyAcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Accept/AcceptPostRequestBody.cs index e58c990eb09..f142348a5d9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Accept/AcceptPostRequestBody.cs @@ -50,6 +50,7 @@ public AcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Decline/DeclinePostRequestBody.cs index f985d495eaf..25bd106e2a1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Decline/DeclinePostRequestBody.cs @@ -67,6 +67,7 @@ public DeclinePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 62a5388a9e9..fffc4462a64 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -67,6 +67,7 @@ public TentativelyAcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index cb36c4219c1..3ada8041b80 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index e50f47b520b..f12bdf25f1e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostResponse.cs index 8c5f689b737..6377636732b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostResponse.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupPostResponse.cs @@ -34,6 +34,7 @@ public AddGroupPostResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostResponse.cs index afdd24128c4..cdfcb219d91 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostResponse.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupPostResponse.cs @@ -34,6 +34,7 @@ public RemoveGroupPostResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Members/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Members/Ref/RefRequestBuilder.cs index fef9a31b7fa..cea6d99d957 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Members/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Members/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/members/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/groups/{group%2Did}/members/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/groups/{group%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/groups/{group%2Did}/members/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Owners/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Owners/Ref/RefRequestBuilder.cs index 960ca4bbea4..032f9e536e7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Owners/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Owners/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/owners/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/groups/{group%2Did}/owners/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/groups/{group%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/groups/{group%2Did}/owners/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.cs index 7586e081ff9..f5032f45128 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/groups/{group%2Did}/rejectedSenders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs index 93c626ac0ae..0d4c0dcb2c8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs @@ -50,6 +50,7 @@ public AssociateWithHubSitesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + PropagateToExistingLists = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs index f4c6fd253de..69eee8679ec 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs @@ -34,6 +34,7 @@ public IsPublishedGetResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs index 23021557f8e..8e4cd6a30d6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs @@ -50,6 +50,7 @@ public AssociateWithHubSitesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + PropagateToExistingLists = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs index 7281d166b3f..3c4da95bc56 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs @@ -34,6 +34,7 @@ public IsPublishedGetResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs index 114d09063cf..0306e20faf2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs @@ -127,6 +127,8 @@ public CreateLinkPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + RetainInheritedPermissions = false; + SendNotification = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Archive/ArchivePostRequestBody.cs index db3b734acb4..3962fdfa860 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Archive/ArchivePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Archive/ArchivePostRequestBody.cs @@ -34,6 +34,7 @@ public ArchivePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ShouldSetSpoSiteReadOnlyForMembers = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Archive/ArchivePostRequestBody.cs index b5f4cd031cc..3868872e18e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Archive/ArchivePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Archive/ArchivePostRequestBody.cs @@ -34,6 +34,7 @@ public ArchivePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ShouldSetSpoSiteReadOnlyForMembers = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs index 7106fe7486f..b3e539a8848 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs @@ -34,6 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Archive/ArchivePostRequestBody.cs index a2e05e9cb04..3fbd18655d2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Archive/ArchivePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Archive/ArchivePostRequestBody.cs @@ -34,6 +34,7 @@ public ArchivePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ShouldSetSpoSiteReadOnlyForMembers = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs index 7dfdeceed67..e2f2c064262 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs @@ -34,6 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/Share/SharePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/Share/SharePostRequestBody.cs index 44f6ddeafdf..2072d4973fe 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/Share/SharePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/Share/SharePostRequestBody.cs @@ -46,6 +46,7 @@ public SharePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + NotifyTeam = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs index 941b6b7ac95..30faa64534b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs @@ -67,6 +67,7 @@ public ClockInPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs index ef7656704c2..0720976a5f6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs @@ -51,6 +51,7 @@ public ClockOutPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs index 4a44fea630a..4f40d29f656 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs @@ -51,6 +51,7 @@ public EndBreakPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs index 466f35fb814..8beaa3c1952 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs @@ -51,6 +51,7 @@ public StartBreakPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAttributeCollection/GraphOnAttributeCollectionExternalUsersSelfServiceSignUp/Attributes/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAttributeCollection/GraphOnAttributeCollectionExternalUsersSelfServiceSignUp/Attributes/Ref/RefRequestBuilder.cs index e77b4753ff2..65faca3716a 100644 --- a/src/Microsoft.Graph/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAttributeCollection/GraphOnAttributeCollectionExternalUsersSelfServiceSignUp/Attributes/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAttributeCollection/GraphOnAttributeCollectionExternalUsersSelfServiceSignUp/Attributes/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -138,7 +138,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -159,7 +159,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAuthenticationMethodLoadStart/GraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/IdentityProviders/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAuthenticationMethodLoadStart/GraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/IdentityProviders/Ref/RefRequestBuilder.cs index 846b587e685..65478307249 100644 --- a/src/Microsoft.Graph/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAuthenticationMethodLoadStart/GraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/IdentityProviders/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAuthenticationMethodLoadStart/GraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/IdentityProviders/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -138,7 +138,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -159,7 +159,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Ref/RefRequestBuilder.cs index 2f1b7d2ebec..2ac5be55005 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/userFlowIdentityProviders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/userFlowIdentityProviders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/userFlowIdentityProviders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/userFlowIdentityProviders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -136,7 +136,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/userFlowIdentityProviders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -157,7 +157,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/userFlowIdentityProviders/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Evaluate/EvaluatePostRequestBody.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Evaluate/EvaluatePostRequestBody.cs index 85b8ef7fad7..c9630fd08dd 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Evaluate/EvaluatePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Evaluate/EvaluatePostRequestBody.cs @@ -83,6 +83,7 @@ public EvaluatePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + AppliedPoliciesOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Ref/RefRequestBuilder.cs index 3499d97b95f..b69cd662e4f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleAccessPackages/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleAccessPackages/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleAccessPackages/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleAccessPackages/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleAccessPackages/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleAccessPackages/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Ref/RefRequestBuilder.cs index 59ab2700487..39691cfb083 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleGroups/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleGroups/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleGroups/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Ref/RefRequestBuilder.cs index 0a9eccf7d71..cf8d87fb201 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/externalSponsors/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/externalSponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/externalSponsors/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/externalSponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -138,7 +138,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/externalSponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -159,7 +159,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/externalSponsors/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Ref/RefRequestBuilder.cs index 01b97050301..5da20926c11 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/internalSponsors/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/internalSponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/internalSponsors/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/internalSponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -138,7 +138,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/internalSponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -159,7 +159,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/internalSponsors/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs index d40750e5ce4..fb69524439f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs @@ -12,6 +12,8 @@ using Microsoft.Graph.IdentityGovernance.EntitlementManagement.ResourceRoleScopes; using Microsoft.Graph.IdentityGovernance.EntitlementManagement.Resources; using Microsoft.Graph.IdentityGovernance.EntitlementManagement.Settings; +using Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects; +using Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -90,6 +92,11 @@ public partial class EntitlementManagementRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Settings.SettingsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the subjects property of the microsoft.graph.entitlementManagement entity. + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.SubjectsRequestBuilder Subjects + { + get => new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.SubjectsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// @@ -177,6 +184,16 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.EntitlementManagement.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// + /// Provides operations to manage the subjects property of the microsoft.graph.entitlementManagement entity. + /// + /// A + /// Alternate key of accessPackageSubject + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.SubjectsWithObjectIdRequestBuilder SubjectsWithObjectId(string objectId) + { + if(string.IsNullOrEmpty(objectId)) throw new ArgumentNullException(nameof(objectId)); + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.SubjectsWithObjectIdRequestBuilder(PathParameters, RequestAdapter, objectId); + } + /// /// Delete navigation property entitlementManagement for identityGovernance /// /// A diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..283851084ee --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default 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/entitlementManagement/subjects/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL 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/entitlementManagement/subjects/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::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/EntitlementManagement/Subjects/Item/AccessPackageSubjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/Item/AccessPackageSubjectItemRequestBuilder.cs new file mode 100644 index 00000000000..3e1bb9513cd --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/Item/AccessPackageSubjectItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item +{ + /// + /// Provides operations to manage the subjects property of the microsoft.graph.entitlementManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AccessPackageSubjectItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the connectedOrganization property of the microsoft.graph.accessPackageSubject entity. + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.ConnectedOrganizationRequestBuilder ConnectedOrganization + { + get => new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.ConnectedOrganizationRequestBuilder(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 AccessPackageSubjectItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/subjects/{accessPackageSubject%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public AccessPackageSubjectItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/subjects/{accessPackageSubject%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property subjects for identityGovernance + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get subjects 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 +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AccessPackageSubject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property subjects in identityGovernance + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.AccessPackageSubject body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.AccessPackageSubject body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AccessPackageSubject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property subjects for identityGovernance + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 subjects from identityGovernance + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> 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 subjects in identityGovernance + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.AccessPackageSubject body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.AccessPackageSubject body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AccessPackageSubjectItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get subjects from identityGovernance + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AccessPackageSubjectItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AccessPackageSubjectItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AccessPackageSubjectItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/Item/ConnectedOrganization/ConnectedOrganizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/Item/ConnectedOrganization/ConnectedOrganizationRequestBuilder.cs new file mode 100644 index 00000000000..a82f061c73a --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/Item/ConnectedOrganization/ConnectedOrganizationRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization +{ + /// + /// Provides operations to manage the connectedOrganization property of the microsoft.graph.accessPackageSubject entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConnectedOrganizationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConnectedOrganizationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/subjects/{accessPackageSubject%2Did}/connectedOrganization{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConnectedOrganizationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/subjects/{accessPackageSubject%2Did}/connectedOrganization{?%24expand,%24select}", rawUrl) + { + } + /// + /// The connected organization of the subject. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConnectedOrganization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The connected organization of the subject. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.ConnectedOrganizationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.ConnectedOrganizationRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The connected organization of the subject. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConnectedOrganizationRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConnectedOrganizationRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/SubjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/SubjectsRequestBuilder.cs new file mode 100644 index 00000000000..cc895414b09 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/SubjectsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count; +using Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects +{ + /// + /// Provides operations to manage the subjects property of the microsoft.graph.entitlementManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the subjects property of the microsoft.graph.entitlementManagement entity. + /// The unique identifier of accessPackageSubject + /// A + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("accessPackageSubject%2Did", position); + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SubjectsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/subjects{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SubjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/subjects{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get subjects 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 +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AccessPackageSubjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to subjects for identityGovernance + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.AccessPackageSubject body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.AccessPackageSubject body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AccessPackageSubject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get subjects from identityGovernance + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 subjects for identityGovernance + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.AccessPackageSubject body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.AccessPackageSubject body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.SubjectsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.SubjectsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get subjects from identityGovernance + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/SubjectsWithObjectId/SubjectsWithObjectIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/SubjectsWithObjectId/SubjectsWithObjectIdRequestBuilder.cs new file mode 100644 index 00000000000..92bd6fc1770 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/SubjectsWithObjectId/SubjectsWithObjectIdRequestBuilder.cs @@ -0,0 +1,231 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId +{ + /// + /// Provides operations to manage the subjects property of the microsoft.graph.entitlementManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsWithObjectIdRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Alternate key of accessPackageSubject + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SubjectsWithObjectIdRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string objectId = "") : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/subjects(objectId='{objectId}'){?%24expand,%24select}", pathParameters) + { + if (!string.IsNullOrWhiteSpace(objectId)) PathParameters.Add("objectId", objectId); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SubjectsWithObjectIdRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/subjects(objectId='{objectId}'){?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property subjects for identityGovernance + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get subjects 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 +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AccessPackageSubject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property subjects in identityGovernance + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.AccessPackageSubject body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.AccessPackageSubject body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AccessPackageSubject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property subjects for identityGovernance + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation 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 subjects from identityGovernance + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> 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 subjects in identityGovernance + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.AccessPackageSubject body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.AccessPackageSubject body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.SubjectsWithObjectIdRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.SubjectsWithObjectIdRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsWithObjectIdRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get subjects from identityGovernance + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsWithObjectIdRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsWithObjectIdRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsWithObjectIdRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/CreationOptions/CreationOptionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/CreationOptions/CreationOptionsRequestBuilder.cs index 0774dca2fe9..5a3ed5c498d 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/CreationOptions/CreationOptionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/CreationOptions/CreationOptionsRequestBuilder.cs @@ -35,7 +35,8 @@ public CreationOptionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// Invoke function creationOptions + /// Retrieve creation options required to generate and register a Microsoft Entra ID-compatible passkey. This function returns WebAuthn credential creation options that include a challenge, relying party information, and user information, which are used by the client to create a new FIDO2 credential. The challenge property and credential IDs in excludeCredentials are Base64URL-encoded without padding. All binary data in the response follows Base64URL encoding as defined in RFC 4648 Section 5. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -58,7 +59,7 @@ public CreationOptionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WebauthnCredentialCreationOptions.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function creationOptions + /// Retrieve creation options required to generate and register a Microsoft Entra ID-compatible passkey. This function returns WebAuthn credential creation options that include a challenge, relying party information, and user information, which are used by the client to create a new FIDO2 credential. The challenge property and credential IDs in excludeCredentials are Base64URL-encoded without padding. All binary data in the response follows Base64URL encoding as defined in RFC 4648 Section 5. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs index 1c94a1004dc..5af7db2fcc4 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs @@ -50,6 +50,7 @@ public AcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs index e068307b9e0..451a41dcc1d 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs @@ -67,6 +67,7 @@ public DeclinePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index be6a417a4cd..28c62efa19a 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -67,6 +67,7 @@ public TentativelyAcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs index 8f67c1becab..7dddca6bdd8 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs @@ -50,6 +50,7 @@ public AcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs index bf1cadc6358..301b57c9c64 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs @@ -67,6 +67,7 @@ public DeclinePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index f3e6200e34e..3f400b3f5cf 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -67,6 +67,7 @@ public TentativelyAcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs index ba57f94d521..cdfb953e3b2 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs @@ -50,6 +50,7 @@ public AcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs index 2d77a8cbe01..a6d5544244a 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs @@ -67,6 +67,7 @@ public DeclinePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 920da9c70d9..94d80ad1cd6 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -67,6 +67,7 @@ public TentativelyAcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs index 9491ce2a0b1..cb20a890e89 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs @@ -14,6 +14,7 @@ using Microsoft.Graph.Me.Chats.Item.SendActivityNotification; using Microsoft.Graph.Me.Chats.Item.StartMigration; using Microsoft.Graph.Me.Chats.Item.Tabs; +using Microsoft.Graph.Me.Chats.Item.TargetedMessages; using Microsoft.Graph.Me.Chats.Item.UnhideForUser; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; @@ -103,6 +104,11 @@ public partial class ChatItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.Chats.Item.Tabs.TabsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder TargetedMessages + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the unhideForUser method. public global::Microsoft.Graph.Me.Chats.Item.UnhideForUser.UnhideForUserRequestBuilder UnhideForUser { 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 00000000000..28e912fa13b --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..5032e40beeb --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/HostedContentsRequestBuilder.cs new file mode 100644 index 00000000000..7124ce423d2 --- /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.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count; +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents +{ + /// + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + /// The unique identifier of chatMessageHostedContent + /// A + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("chatMessageHostedContent%2Did", position); + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public HostedContentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to hostedContents for me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to hostedContents for me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs new file mode 100644 index 00000000000..f6d6f01510e --- /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.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item +{ + /// + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the media for the user entity. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ChatMessageHostedContentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ChatMessageHostedContentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property hostedContents for me + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property hostedContents in me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property hostedContents for me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property hostedContents in me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs new file mode 100644 index 00000000000..acee8d027fc --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value +{ + /// + /// Provides operations to manage the media for the user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", rawUrl) + { + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetStreamContent(body, "application/octet-stream"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderPutRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..e1f89e078a4 --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaGetResponse.cs new file mode 100644 index 00000000000..fd75022fe33 --- /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.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaRequestBuilder.cs new file mode 100644 index 00000000000..e622172103b --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta +{ + /// + /// Provides operations to call the delta method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Delta/DeltaResponse.cs new file mode 100644 index 00000000000..68df8a5426c --- /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.Me.Chats.Item.TargetedMessages.Item.Replies.Delta +{ + [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaResponse : global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs new file mode 100644 index 00000000000..3da256d95ef --- /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.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents; +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction; +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete; +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete; +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item +{ + /// + /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder HostedContents + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the softDelete method. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder SoftDelete + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the undoSoftDelete method. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder UndoSoftDelete + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property replies for me + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property replies in me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property replies for me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property replies in me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..77a721990ab --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs new file mode 100644 index 00000000000..0ddecd84edd --- /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.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count; +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents +{ + /// + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + /// The unique identifier of chatMessageHostedContent + /// A + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("chatMessageHostedContent%2Did", position); + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public HostedContentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to hostedContents for me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to hostedContents for me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HostedContentsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs new file mode 100644 index 00000000000..41ab29eef1a --- /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.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item +{ + /// + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the media for the user entity. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ChatMessageHostedContentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ChatMessageHostedContentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property hostedContents for me + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property hostedContents in me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property hostedContents for me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property hostedContents in me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs new file mode 100644 index 00000000000..6db64d6fcc0 --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value +{ + /// + /// Provides operations to manage the media for the user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", rawUrl) + { + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetStreamContent(body, "application/octet-stream"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentRequestBuilderPutRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs new file mode 100644 index 00000000000..dffd3f05875 --- /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.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SetReactionPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The reactionType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionType + { + get { return BackingStore?.Get("reactionType"); } + set { BackingStore?.Set("reactionType", value); } + } +#nullable restore +#else + public string ReactionType + { + get { return BackingStore?.Get("reactionType"); } + set { BackingStore?.Set("reactionType", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SetReactionPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "reactionType", n => { ReactionType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("reactionType", ReactionType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs new file mode 100644 index 00000000000..b61be799250 --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction +{ + /// + /// Provides operations to call the setReaction method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SetReactionRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SetReactionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/setReaction", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SetReactionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/setReaction", rawUrl) + { + } + /// + /// Invoke action setReaction + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action setReaction + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SetReactionRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs new file mode 100644 index 00000000000..88d8b67176d --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete +{ + /// + /// Provides operations to call the softDelete method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SoftDeleteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SoftDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/softDelete", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/softDelete", rawUrl) + { + } + /// + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a single chatMessage or a chat message reply in a channel or a chat. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SoftDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs new file mode 100644 index 00000000000..073fe9c1b1c --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete +{ + /// + /// Provides operations to call the undoSoftDelete method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UndoSoftDeleteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UndoSoftDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/undoSoftDelete", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public UndoSoftDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/undoSoftDelete", rawUrl) + { + } + /// + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UndoSoftDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs new file mode 100644 index 00000000000..8294a489af1 --- /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.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UnsetReactionPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The reactionType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionType + { + get { return BackingStore?.Get("reactionType"); } + set { BackingStore?.Set("reactionType", value); } + } +#nullable restore +#else + public string ReactionType + { + get { return BackingStore?.Get("reactionType"); } + set { BackingStore?.Set("reactionType", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public UnsetReactionPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "reactionType", n => { ReactionType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("reactionType", ReactionType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs new file mode 100644 index 00000000000..4b826cb8324 --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction +{ + /// + /// Provides operations to call the unsetReaction method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnsetReactionRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UnsetReactionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/unsetReaction", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public UnsetReactionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/unsetReaction", rawUrl) + { + } + /// + /// Invoke action unsetReaction + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action unsetReaction + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnsetReactionRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/RepliesRequestBuilder.cs new file mode 100644 index 00000000000..173fd9f079e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/RepliesRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count; +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta; +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item; +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies +{ + /// + /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RepliesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the delta method. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder Delta + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. + /// The unique identifier of chatMessage + /// A + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("chatMessage%2Did", position); + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RepliesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RepliesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to replies for me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to replies for me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RepliesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RepliesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RepliesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..dd29a6cb827 --- /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.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..134e5d6c25e --- /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.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs new file mode 100644 index 00000000000..c1c8c4af325 --- /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.Me.Chats.Item.TargetedMessages.Item.HostedContents; +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item +{ + /// + /// Provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder HostedContents + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder Replies + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TargetedChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public TargetedChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property targetedMessages for me + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property targetedMessages in me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.TargetedChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property targetedMessages for me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// 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.Models.TargetedChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// 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 00000000000..b0a5be1a4a7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count; +using Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.TargetedMessages +{ + /// + /// Provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TargetedMessagesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the targetedMessages property of the microsoft.graph.chat entity. + /// The unique identifier of targetedChatMessage + /// A + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("targetedChatMessage%2Did", position); + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TargetedMessagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public TargetedMessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/targetedMessages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to targetedMessages for me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.TargetedChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// 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.Models.TargetedChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// 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/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Accept/AcceptPostRequestBody.cs index 19902f45a31..502ac79285b 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Accept/AcceptPostRequestBody.cs @@ -50,6 +50,7 @@ public AcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Decline/DeclinePostRequestBody.cs index 8c84924c78d..89ffb3642ef 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Decline/DeclinePostRequestBody.cs @@ -67,6 +67,7 @@ public DeclinePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 83a85edb23b..6defa67291c 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -67,6 +67,7 @@ public TentativelyAcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/FindMeetingTimes/FindMeetingTimesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/FindMeetingTimes/FindMeetingTimesPostRequestBody.cs index 295f584ee8b..e3a9a7145b6 100644 --- a/src/Microsoft.Graph/Generated/Me/FindMeetingTimes/FindMeetingTimesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/FindMeetingTimes/FindMeetingTimesPostRequestBody.cs @@ -107,6 +107,8 @@ public FindMeetingTimesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsOrganizerOptional = false; + ReturnSuggestionReasons = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index d22ac717c86..fe81778118a 100644 --- a/src/Microsoft.Graph/Generated/Me/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index 523027cc455..b2eabf86277 100644 --- a/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Archive/ArchivePostRequestBody.cs index b94c870b48d..c9ee4cd0468 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Archive/ArchivePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Archive/ArchivePostRequestBody.cs @@ -34,6 +34,7 @@ public ArchivePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ShouldSetSpoSiteReadOnlyForMembers = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs index 89b20893988..317803e726e 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs @@ -34,6 +34,7 @@ public ArchivePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ShouldSetSpoSiteReadOnlyForMembers = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs index ce3fcd881df..a882c9ab193 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs @@ -34,6 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs index b84822f3cf9..24719fab0d7 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs @@ -34,6 +34,7 @@ public ArchivePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ShouldSetSpoSiteReadOnlyForMembers = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs index 17a9510cab0..5f53b820c8d 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs @@ -34,6 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Share/SharePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Share/SharePostRequestBody.cs index 83644a6378d..1650e516481 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Share/SharePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Share/SharePostRequestBody.cs @@ -46,6 +46,7 @@ public SharePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + NotifyTeam = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs index 01c66e07693..6719c343a86 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs @@ -67,6 +67,7 @@ public ClockInPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs index d6b5ea54d91..490b61b0e5e 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs @@ -51,6 +51,7 @@ public ClockOutPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs index 59cd3e5b6b8..0a3e8d0355e 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs @@ -51,6 +51,7 @@ public EndBreakPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs index b1fabb7025d..69c774d828e 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs @@ -51,6 +51,7 @@ public StartBreakPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs index 807beea913e..7ae5597b636 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs @@ -34,6 +34,7 @@ public CleanWindowsDevicePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + KeepUserData = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs index cb80a53df35..48cb3a2353e 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs @@ -34,6 +34,7 @@ public WindowsDefenderScanPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + QuickScan = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Wipe/WipePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Wipe/WipePostRequestBody.cs index 014744f4f50..175d155dca8 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Wipe/WipePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Wipe/WipePostRequestBody.cs @@ -62,6 +62,9 @@ public WipePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + KeepEnrollmentData = false; + KeepUserData = false; + PersistEsimDataPlan = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/RevokeSignInSessions/RevokeSignInSessionsPostResponse.cs b/src/Microsoft.Graph/Generated/Me/RevokeSignInSessions/RevokeSignInSessionsPostResponse.cs index 57daa272b19..46d67bbb1e6 100644 --- a/src/Microsoft.Graph/Generated/Me/RevokeSignInSessions/RevokeSignInSessionsPostResponse.cs +++ b/src/Microsoft.Graph/Generated/Me/RevokeSignInSessions/RevokeSignInSessionsPostResponse.cs @@ -34,6 +34,7 @@ public RevokeSignInSessionsPostResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/SendMail/SendMailPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/SendMail/SendMailPostRequestBody.cs index da8a93f3502..b96b07cc76b 100644 --- a/src/Microsoft.Graph/Generated/Me/SendMail/SendMailPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/SendMail/SendMailPostRequestBody.cs @@ -51,6 +51,7 @@ public SendMailPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SaveToSentItems = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Me/Sponsors/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Sponsors/Ref/RefRequestBuilder.cs index b7ab316cf62..8f8648059f6 100644 --- a/src/Microsoft.Graph/Generated/Me/Sponsors/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Sponsors/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// 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) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -136,7 +136,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/me/sponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -157,7 +157,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/me/sponsors/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); 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 00000000000..d2676708db2 --- /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.Me.Teamwork.DeleteTargetedMessage +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeleteTargetedMessagePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The channelId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ChannelId + { + get { return BackingStore?.Get("channelId"); } + set { BackingStore?.Set("channelId", value); } + } +#nullable restore +#else + public string ChannelId + { + get { return BackingStore?.Get("channelId"); } + set { BackingStore?.Set("channelId", value); } + } +#endif + /// The messageId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MessageId + { + get { return BackingStore?.Get("messageId"); } + set { BackingStore?.Set("messageId", value); } + } +#nullable restore +#else + public string MessageId + { + get { return BackingStore?.Get("messageId"); } + set { BackingStore?.Set("messageId", value); } + } +#endif + /// The teamId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TeamId + { + get { return BackingStore?.Get("teamId"); } + set { BackingStore?.Set("teamId", value); } + } +#nullable restore +#else + public string TeamId + { + get { return BackingStore?.Get("teamId"); } + set { BackingStore?.Set("teamId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DeleteTargetedMessagePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "channelId", n => { ChannelId = n.GetStringValue(); } }, + { "messageId", n => { MessageId = n.GetStringValue(); } }, + { "teamId", n => { TeamId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("channelId", ChannelId); + writer.WriteStringValue("messageId", MessageId); + writer.WriteStringValue("teamId", TeamId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/DeleteTargetedMessage/DeleteTargetedMessageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/DeleteTargetedMessage/DeleteTargetedMessageRequestBuilder.cs new file mode 100644 index 00000000000..3a670956b1a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/DeleteTargetedMessage/DeleteTargetedMessageRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage +{ + /// + /// Provides operations to call the deleteTargetedMessage method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeleteTargetedMessageRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeleteTargetedMessageRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/deleteTargetedMessage", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeleteTargetedMessageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/deleteTargetedMessage", rawUrl) + { + } + /// + /// 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.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// 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.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeleteTargetedMessageRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesGetResponse.cs new file mode 100644 index 00000000000..e7aa708dcd0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllRetainedTargetedMessagesGetResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesRequestBuilder.cs new file mode 100644 index 00000000000..aa401ae0c2f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesRequestBuilder.cs @@ -0,0 +1,187 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages +{ + /// + /// Provides operations to call the getAllRetainedTargetedMessages method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllRetainedTargetedMessagesRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GetAllRetainedTargetedMessagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/getAllRetainedTargetedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public GetAllRetainedTargetedMessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/getAllRetainedTargetedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.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.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..a305e3064b8 --- /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.Me.Teamwork.GetAllRetainedTargetedMessages +{ + [Obsolete("This class is obsolete. Use GetAllRetainedTargetedMessagesGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllRetainedTargetedMessagesResponse : global::Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesGetResponse.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesGetResponse.cs new file mode 100644 index 00000000000..5fff3f67394 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllTargetedMessagesGetResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesRequestBuilder.cs new file mode 100644 index 00000000000..f16fed612bb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesRequestBuilder.cs @@ -0,0 +1,187 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages +{ + /// + /// Provides operations to call the getAllTargetedMessages method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllTargetedMessagesRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GetAllTargetedMessagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/getAllTargetedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public GetAllTargetedMessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/teamwork/getAllTargetedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.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.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..0c5304f6f0d --- /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.Me.Teamwork.GetAllTargetedMessages +{ + [Obsolete("This class is obsolete. Use GetAllTargetedMessagesGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllTargetedMessagesResponse : global::Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/TeamworkRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/TeamworkRequestBuilder.cs index 8468941c3a6..03c78666243 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.Me.Teamwork.AssociatedTeams; +using Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage; +using Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages; +using Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages; using Microsoft.Graph.Me.Teamwork.InstalledApps; using Microsoft.Graph.Me.Teamwork.SendActivityNotification; using Microsoft.Graph.Models.ODataErrors; @@ -26,6 +29,21 @@ public partial class TeamworkRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.Teamwork.AssociatedTeams.AssociatedTeamsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the deleteTargetedMessage method. + public global::Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder DeleteTargetedMessage + { + get => new global::Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the getAllRetainedTargetedMessages method. + public global::Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder GetAllRetainedTargetedMessages + { + get => new global::Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the getAllTargetedMessages method. + public global::Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder GetAllTargetedMessages + { + get => new global::Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the installedApps property of the microsoft.graph.userTeamwork entity. public global::Microsoft.Graph.Me.Teamwork.InstalledApps.InstalledAppsRequestBuilder InstalledApps { diff --git a/src/Microsoft.Graph/Generated/Models/AccessPackageSubject.cs b/src/Microsoft.Graph/Generated/Models/AccessPackageSubject.cs index 195515e5cdf..a7076954ed7 100644 --- a/src/Microsoft.Graph/Generated/Models/AccessPackageSubject.cs +++ b/src/Microsoft.Graph/Generated/Models/AccessPackageSubject.cs @@ -108,6 +108,12 @@ public string PrincipalName set { BackingStore?.Set("principalName", value); } } #endif + /// The subjectLifecycle property + public global::Microsoft.Graph.Models.AccessPackageSubjectLifecycle? SubjectLifecycle + { + get { return BackingStore?.Get("subjectLifecycle"); } + set { BackingStore?.Set("subjectLifecycle", value); } + } /// The resource type of the subject. The possible values are: notSpecified, user, servicePrincipal, unknownFutureValue. public global::Microsoft.Graph.Models.AccessPackageSubjectType? SubjectType { @@ -138,6 +144,7 @@ public override IDictionary> GetFieldDeserializers() { "objectId", n => { ObjectId = n.GetStringValue(); } }, { "onPremisesSecurityIdentifier", n => { OnPremisesSecurityIdentifier = n.GetStringValue(); } }, { "principalName", n => { PrincipalName = n.GetStringValue(); } }, + { "subjectLifecycle", n => { SubjectLifecycle = n.GetEnumValue(); } }, { "subjectType", n => { SubjectType = n.GetEnumValue(); } }, }; } @@ -155,6 +162,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("objectId", ObjectId); writer.WriteStringValue("onPremisesSecurityIdentifier", OnPremisesSecurityIdentifier); writer.WriteStringValue("principalName", PrincipalName); + writer.WriteEnumValue("subjectLifecycle", SubjectLifecycle); writer.WriteEnumValue("subjectType", SubjectType); } } diff --git a/src/Microsoft.Graph/Generated/Models/AccessPackageSubjectCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/AccessPackageSubjectCollectionResponse.cs new file mode 100644 index 00000000000..ec1b4641e27 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AccessPackageSubjectCollectionResponse.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AccessPackageSubjectCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.AccessPackageSubjectCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AccessPackageSubjectCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AccessPackageSubject.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/AccessPackageSubjectLifecycle.cs b/src/Microsoft.Graph/Generated/Models/AccessPackageSubjectLifecycle.cs new file mode 100644 index 00000000000..e46e016198e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AccessPackageSubjectLifecycle.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AccessPackageSubjectLifecycle + #pragma warning restore CS1591 + { + [EnumMember(Value = "notDefined")] + #pragma warning disable CS1591 + NotDefined, + #pragma warning restore CS1591 + [EnumMember(Value = "notGoverned")] + #pragma warning disable CS1591 + NotGoverned, + #pragma warning restore CS1591 + [EnumMember(Value = "governed")] + #pragma warning disable CS1591 + Governed, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ApplicationDataType.cs b/src/Microsoft.Graph/Generated/Models/ApplicationDataType.cs new file mode 100644 index 00000000000..c7dc49d2074 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ApplicationDataType.cs @@ -0,0 +1,41 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum ApplicationDataType + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "codingFiles")] + #pragma warning disable CS1591 + CodingFiles = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "creditCards")] + #pragma warning disable CS1591 + CreditCards = 4, + #pragma warning restore CS1591 + [EnumMember(Value = "databaseFiles")] + #pragma warning disable CS1591 + DatabaseFiles = 8, + #pragma warning restore CS1591 + [EnumMember(Value = "documents")] + #pragma warning disable CS1591 + Documents = 16, + #pragma warning restore CS1591 + [EnumMember(Value = "mediaFiles")] + #pragma warning disable CS1591 + MediaFiles = 32, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 64, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ApplicationLocation.cs b/src/Microsoft.Graph/Generated/Models/ApplicationLocation.cs new file mode 100644 index 00000000000..c686ac7a265 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ApplicationLocation.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ApplicationLocation : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Specifies the region or physical location where the application's primary data center is hosted. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DataCenter + { + get { return BackingStore?.Get("dataCenter"); } + set { BackingStore?.Set("dataCenter", value); } + } +#nullable restore +#else + public string DataCenter + { + get { return BackingStore?.Get("dataCenter"); } + set { BackingStore?.Set("dataCenter", value); } + } +#endif + /// Specifies the city, country or region where the application's owning organization is headquartered. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Headquarters + { + get { return BackingStore?.Get("headquarters"); } + set { BackingStore?.Set("headquarters", value); } + } +#nullable restore +#else + public string Headquarters + { + get { return BackingStore?.Get("headquarters"); } + set { BackingStore?.Set("headquarters", 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 ApplicationLocation() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ApplicationLocation CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ApplicationLocation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "dataCenter", n => { DataCenter = n.GetStringValue(); } }, + { "headquarters", n => { Headquarters = 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("dataCenter", DataCenter); + writer.WriteStringValue("headquarters", Headquarters); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorCertificateInfo.cs b/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorCertificateInfo.cs new file mode 100644 index 00000000000..1a66be285c5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorCertificateInfo.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ApplicationRiskFactorCertificateInfo : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Indicates whether the certificate's common name doesn't match the expected domain name. + public bool? HasBadCommonName + { + get { return BackingStore?.Get("hasBadCommonName"); } + set { BackingStore?.Set("hasBadCommonName", value); } + } + /// Indicates whether the certificate uses a weak or insecure signature algorithm (for example, MD5 or SHA-1). + public bool? HasInsecureSignature + { + get { return BackingStore?.Get("hasInsecureSignature"); } + set { BackingStore?.Set("hasInsecureSignature", value); } + } + /// Indicates whether the certificate chain of trust is incomplete or invalid. + public bool? HasNoChainOfTrust + { + get { return BackingStore?.Get("hasNoChainOfTrust"); } + set { BackingStore?.Set("hasNoChainOfTrust", value); } + } + /// Indicates whether the certificate is on a known denylist or associated with compromised issuers. + public bool? IsDenylisted + { + get { return BackingStore?.Get("isDenylisted"); } + set { BackingStore?.Set("isDenylisted", value); } + } + /// Indicates whether the certificate's hostname doesn't match the domain it was issued for. + public bool? IsHostnameMismatch + { + get { return BackingStore?.Get("isHostnameMismatch"); } + set { BackingStore?.Set("isHostnameMismatch", value); } + } + /// Indicates whether the certificate is expired and no longer valid. + public bool? IsNotAfter + { + get { return BackingStore?.Get("isNotAfter"); } + set { BackingStore?.Set("isNotAfter", value); } + } + /// Indicates whether the certificate isn't yet valid based on its activation date. + public bool? IsNotBefore + { + get { return BackingStore?.Get("isNotBefore"); } + set { BackingStore?.Set("isNotBefore", value); } + } + /// Indicates whether the issuing certificate authority revoked the certificate. + public bool? IsRevoked + { + get { return BackingStore?.Get("isRevoked"); } + set { BackingStore?.Set("isRevoked", value); } + } + /// Indicates whether the certificate is self-signed rather than issued by a trusted certificate authority. + public bool? IsSelfSigned + { + get { return BackingStore?.Get("isSelfSigned"); } + set { BackingStore?.Set("isSelfSigned", 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 ApplicationRiskFactorCertificateInfo() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ApplicationRiskFactorCertificateInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ApplicationRiskFactorCertificateInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "hasBadCommonName", n => { HasBadCommonName = n.GetBoolValue(); } }, + { "hasInsecureSignature", n => { HasInsecureSignature = n.GetBoolValue(); } }, + { "hasNoChainOfTrust", n => { HasNoChainOfTrust = n.GetBoolValue(); } }, + { "isDenylisted", n => { IsDenylisted = n.GetBoolValue(); } }, + { "isHostnameMismatch", n => { IsHostnameMismatch = n.GetBoolValue(); } }, + { "isNotAfter", n => { IsNotAfter = n.GetBoolValue(); } }, + { "isNotBefore", n => { IsNotBefore = n.GetBoolValue(); } }, + { "isRevoked", n => { IsRevoked = n.GetBoolValue(); } }, + { "isSelfSigned", n => { IsSelfSigned = 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.WriteBoolValue("hasBadCommonName", HasBadCommonName); + writer.WriteBoolValue("hasInsecureSignature", HasInsecureSignature); + writer.WriteBoolValue("hasNoChainOfTrust", HasNoChainOfTrust); + writer.WriteBoolValue("isDenylisted", IsDenylisted); + writer.WriteBoolValue("isHostnameMismatch", IsHostnameMismatch); + writer.WriteBoolValue("isNotAfter", IsNotAfter); + writer.WriteBoolValue("isNotBefore", IsNotBefore); + writer.WriteBoolValue("isRevoked", IsRevoked); + writer.WriteBoolValue("isSelfSigned", IsSelfSigned); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorGeneralInfo.cs b/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorGeneralInfo.cs new file mode 100644 index 00000000000..e98551e339e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorGeneralInfo.cs @@ -0,0 +1,202 @@ +// +#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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ApplicationRiskFactorGeneralInfo : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Indicates the relative popularity or adoption of the application based on the user or tenant usage metrics. + public int? ConsumerPopularity + { + get { return BackingStore?.Get("consumerPopularity"); } + set { BackingStore?.Set("consumerPopularity", value); } + } + /// Specifies the date when the application's primary domain was registered, used to assess domain maturity and legitimacy. + public Date? DomainRegistrationDate + { + get { return BackingStore?.Get("domainRegistrationDate"); } + set { BackingStore?.Set("domainRegistrationDate", value); } + } + /// Year the company or organization behind the application was founded. + public int? Founded + { + get { return BackingStore?.Get("founded"); } + set { BackingStore?.Set("founded", value); } + } + /// Indicates whether the application provider maintains a disaster recovery or business continuity plan. + public bool? HasDisasterRecoveryPlan + { + get { return BackingStore?.Get("hasDisasterRecoveryPlan"); } + set { BackingStore?.Set("hasDisasterRecoveryPlan", value); } + } + /// The hold property + public global::Microsoft.Graph.Models.HoldType? Hold + { + get { return BackingStore?.Get("hold"); } + set { BackingStore?.Set("hold", value); } + } + /// Specifies the name of the company or provider that hosts the application's infrastructure. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? HostingCompanyName + { + get { return BackingStore?.Get("hostingCompanyName"); } + set { BackingStore?.Set("hostingCompanyName", value); } + } +#nullable restore +#else + public string HostingCompanyName + { + get { return BackingStore?.Get("hostingCompanyName"); } + set { BackingStore?.Set("hostingCompanyName", value); } + } +#endif + /// Provides the geographical and operational location information for the application, including data center and headquarters regions. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ApplicationLocation? Location + { + get { return BackingStore?.Get("location"); } + set { BackingStore?.Set("location", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ApplicationLocation Location + { + get { return BackingStore?.Get("location"); } + set { BackingStore?.Set("location", 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 + /// Specifies the URL of the application's privacy policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PrivacyPolicy + { + get { return BackingStore?.Get("privacyPolicy"); } + set { BackingStore?.Set("privacyPolicy", value); } + } +#nullable restore +#else + public string PrivacyPolicy + { + get { return BackingStore?.Get("privacyPolicy"); } + set { BackingStore?.Set("privacyPolicy", value); } + } +#endif + /// The processedDataTypes property + public global::Microsoft.Graph.Models.ApplicationDataType? ProcessedDataTypes + { + get { return BackingStore?.Get("processedDataTypes"); } + set { BackingStore?.Set("processedDataTypes", value); } + } + /// Specifies the URL of the application's terms of service. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TermsOfService + { + get { return BackingStore?.Get("termsOfService"); } + set { BackingStore?.Set("termsOfService", value); } + } +#nullable restore +#else + public string TermsOfService + { + get { return BackingStore?.Get("termsOfService"); } + set { BackingStore?.Set("termsOfService", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ApplicationRiskFactorGeneralInfo() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ApplicationRiskFactorGeneralInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ApplicationRiskFactorGeneralInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "consumerPopularity", n => { ConsumerPopularity = n.GetIntValue(); } }, + { "domainRegistrationDate", n => { DomainRegistrationDate = n.GetDateValue(); } }, + { "founded", n => { Founded = n.GetIntValue(); } }, + { "hasDisasterRecoveryPlan", n => { HasDisasterRecoveryPlan = n.GetBoolValue(); } }, + { "hold", n => { Hold = n.GetEnumValue(); } }, + { "hostingCompanyName", n => { HostingCompanyName = n.GetStringValue(); } }, + { "location", n => { Location = n.GetObjectValue(global::Microsoft.Graph.Models.ApplicationLocation.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "privacyPolicy", n => { PrivacyPolicy = n.GetStringValue(); } }, + { "processedDataTypes", n => { ProcessedDataTypes = n.GetEnumValue(); } }, + { "termsOfService", n => { TermsOfService = 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("consumerPopularity", ConsumerPopularity); + writer.WriteDateValue("domainRegistrationDate", DomainRegistrationDate); + writer.WriteIntValue("founded", Founded); + writer.WriteBoolValue("hasDisasterRecoveryPlan", HasDisasterRecoveryPlan); + writer.WriteEnumValue("hold", Hold); + writer.WriteStringValue("hostingCompanyName", HostingCompanyName); + writer.WriteObjectValue("location", Location); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("privacyPolicy", PrivacyPolicy); + writer.WriteEnumValue("processedDataTypes", ProcessedDataTypes); + writer.WriteStringValue("termsOfService", TermsOfService); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorLegalInfo.cs b/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorLegalInfo.cs new file mode 100644 index 00000000000..314ac5c4e85 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorLegalInfo.cs @@ -0,0 +1,123 @@ +// +#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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ApplicationRiskFactorLegalInfo : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The dataRetention property + public global::Microsoft.Graph.Models.DataRetentionLevel? DataRetention + { + get { return BackingStore?.Get("dataRetention"); } + set { BackingStore?.Set("dataRetention", value); } + } + /// The gdpr property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ApplicationRiskFactorLegalInfoGdpr? Gdpr + { + get { return BackingStore?.Get("gdpr"); } + set { BackingStore?.Set("gdpr", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ApplicationRiskFactorLegalInfoGdpr Gdpr + { + get { return BackingStore?.Get("gdpr"); } + set { BackingStore?.Set("gdpr", value); } + } +#endif + /// Indicates whether customers maintain ownership and control of their data processed or stored by the application. + public bool? HasDataOwnership + { + get { return BackingStore?.Get("hasDataOwnership"); } + set { BackingStore?.Set("hasDataOwnership", value); } + } + /// Indicates whether the application or organization complies with the Digital Millennium Copyright Act (DMCA) or equivalent copyright protection frameworks. + public bool? HasDmca + { + get { return BackingStore?.Get("hasDmca"); } + set { BackingStore?.Set("hasDmca", 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 ApplicationRiskFactorLegalInfo() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ApplicationRiskFactorLegalInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ApplicationRiskFactorLegalInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "dataRetention", n => { DataRetention = n.GetEnumValue(); } }, + { "gdpr", n => { Gdpr = n.GetObjectValue(global::Microsoft.Graph.Models.ApplicationRiskFactorLegalInfoGdpr.CreateFromDiscriminatorValue); } }, + { "hasDataOwnership", n => { HasDataOwnership = n.GetBoolValue(); } }, + { "hasDmca", n => { HasDmca = 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.WriteEnumValue("dataRetention", DataRetention); + writer.WriteObjectValue("gdpr", Gdpr); + writer.WriteBoolValue("hasDataOwnership", HasDataOwnership); + writer.WriteBoolValue("hasDmca", HasDmca); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorLegalInfoGdpr.cs b/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorLegalInfoGdpr.cs new file mode 100644 index 00000000000..7fc137c31f1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorLegalInfoGdpr.cs @@ -0,0 +1,131 @@ +// +#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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ApplicationRiskFactorLegalInfoGdpr : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The dataProtection property + public global::Microsoft.Graph.Models.DataProtection? DataProtection + { + get { return BackingStore?.Get("dataProtection"); } + set { BackingStore?.Set("dataProtection", value); } + } + /// Indicates whether the application provides users with the ability to request deletion of their personal data (the right to be forgotten). + public bool? HasRightToErasure + { + get { return BackingStore?.Get("hasRightToErasure"); } + set { BackingStore?.Set("hasRightToErasure", value); } + } + /// Indicates whether the organization reports personal data breaches to authorities and affected users in accordance with GDPR requirements. + public bool? IsReportingDataBreaches + { + get { return BackingStore?.Get("isReportingDataBreaches"); } + set { BackingStore?.Set("isReportingDataBreaches", 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 + /// Specifies the URL of the application's GDPR or privacy compliance statement, outlining how user data is handled. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? StatementUrl + { + get { return BackingStore?.Get("statementUrl"); } + set { BackingStore?.Set("statementUrl", value); } + } +#nullable restore +#else + public string StatementUrl + { + get { return BackingStore?.Get("statementUrl"); } + set { BackingStore?.Set("statementUrl", value); } + } +#endif + /// The userOwnership property + public global::Microsoft.Graph.Models.UserOwnership? UserOwnership + { + get { return BackingStore?.Get("userOwnership"); } + set { BackingStore?.Set("userOwnership", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ApplicationRiskFactorLegalInfoGdpr() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ApplicationRiskFactorLegalInfoGdpr CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ApplicationRiskFactorLegalInfoGdpr(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "dataProtection", n => { DataProtection = n.GetEnumValue(); } }, + { "hasRightToErasure", n => { HasRightToErasure = n.GetBoolValue(); } }, + { "isReportingDataBreaches", n => { IsReportingDataBreaches = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "statementUrl", n => { StatementUrl = n.GetStringValue(); } }, + { "userOwnership", n => { UserOwnership = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("dataProtection", DataProtection); + writer.WriteBoolValue("hasRightToErasure", HasRightToErasure); + writer.WriteBoolValue("isReportingDataBreaches", IsReportingDataBreaches); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("statementUrl", StatementUrl); + writer.WriteEnumValue("userOwnership", UserOwnership); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorSecurityInfo.cs b/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorSecurityInfo.cs new file mode 100644 index 00000000000..18310ad6f76 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactorSecurityInfo.cs @@ -0,0 +1,312 @@ +// +#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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ApplicationRiskFactorSecurityInfo : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The certificate property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ApplicationRiskFactorCertificateInfo? Certificate + { + get { return BackingStore?.Get("certificate"); } + set { BackingStore?.Set("certificate", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ApplicationRiskFactorCertificateInfo Certificate + { + get { return BackingStore?.Get("certificate"); } + set { BackingStore?.Set("certificate", value); } + } +#endif + /// Specifies the domain or hostname evaluated during the security assessment. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DomainToCheck + { + get { return BackingStore?.Get("domainToCheck"); } + set { BackingStore?.Set("domainToCheck", value); } + } +#nullable restore +#else + public string DomainToCheck + { + get { return BackingStore?.Get("domainToCheck"); } + set { BackingStore?.Set("domainToCheck", value); } + } +#endif + /// Indicates whether the application maintains an audit trail for administrative actions. + public bool? HasAdminAuditTrail + { + get { return BackingStore?.Get("hasAdminAuditTrail"); } + set { BackingStore?.Set("hasAdminAuditTrail", value); } + } + /// Indicates whether the application allows anonymous or unauthenticated usage. + public bool? HasAnonymousUsage + { + get { return BackingStore?.Get("hasAnonymousUsage"); } + set { BackingStore?.Set("hasAnonymousUsage", value); } + } + /// Indicates whether the application logs access or modification of customer data for audit purposes. + public bool? HasDataAuditTrail + { + get { return BackingStore?.Get("hasDataAuditTrail"); } + set { BackingStore?.Set("hasDataAuditTrail", value); } + } + /// Indicates whether the application classifies and labels data based on sensitivity levels. + public bool? HasDataClassification + { + get { return BackingStore?.Get("hasDataClassification"); } + set { BackingStore?.Set("hasDataClassification", value); } + } + /// Indicates whether data at rest and in transit are encrypted using approved algorithms. + public bool? HasDataEncrypted + { + get { return BackingStore?.Get("hasDataEncrypted"); } + set { BackingStore?.Set("hasDataEncrypted", value); } + } + /// Indicates whether HTTPS or equivalent secure transport is enforced for all communication channels. + public bool? HasEnforceTransportEnc + { + get { return BackingStore?.Get("hasEnforceTransportEnc"); } + set { BackingStore?.Set("hasEnforceTransportEnc", value); } + } + /// Indicates whether access to the application can be restricted based on IP address or network range. + public bool? HasIpRestriction + { + get { return BackingStore?.Get("hasIpRestriction"); } + set { BackingStore?.Set("hasIpRestriction", value); } + } + /// Indicates whether the application supports or enforces multi-factor authentication (MFA). + public bool? HasMFA + { + get { return BackingStore?.Get("hasMFA"); } + set { BackingStore?.Set("hasMFA", value); } + } + /// Indicates whether the application undergoes periodic penetration testing or external security reviews. + public bool? HasPenTest + { + get { return BackingStore?.Get("hasPenTest"); } + set { BackingStore?.Set("hasPenTest", value); } + } + /// Indicates whether the application supports password-saving functionality, which may pose a security risk. + public bool? HasRememberPassword + { + get { return BackingStore?.Get("hasRememberPassword"); } + set { BackingStore?.Set("hasRememberPassword", value); } + } + /// Indicates whether the application supports SAML-based single sign-on (SSO). + public bool? HasSamlSupport + { + get { return BackingStore?.Get("hasSamlSupport"); } + set { BackingStore?.Set("hasSamlSupport", value); } + } + /// Indicates whether user activity is logged for security or compliance monitoring. + public bool? HasUserAuditLogs + { + get { return BackingStore?.Get("hasUserAuditLogs"); } + set { BackingStore?.Set("hasUserAuditLogs", value); } + } + /// Indicates whether users can upload or store personal or organizational data within the application. + public bool? HasUserDataUpload + { + get { return BackingStore?.Get("hasUserDataUpload"); } + set { BackingStore?.Set("hasUserDataUpload", value); } + } + /// Indicates whether the application supports role-based access control (RBAC). + public bool? HasUserRolesSupport + { + get { return BackingStore?.Get("hasUserRolesSupport"); } + set { BackingStore?.Set("hasUserRolesSupport", value); } + } + /// Indicates whether the certificate’s common name matches the application’s verified domain. + public bool? HasValidCertName + { + get { return BackingStore?.Get("hasValidCertName"); } + set { BackingStore?.Set("hasValidCertName", value); } + } + /// Lists the HTTP security headers detected for the application (for example, HSTS, X-Frame-Options, or CSP). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? HttpsSecurityHeaders + { + get { return BackingStore?.Get?>("httpsSecurityHeaders"); } + set { BackingStore?.Set("httpsSecurityHeaders", value); } + } +#nullable restore +#else + public List HttpsSecurityHeaders + { + get { return BackingStore?.Get>("httpsSecurityHeaders"); } + set { BackingStore?.Set("httpsSecurityHeaders", value); } + } +#endif + /// Indicates whether the application’s certificate is signed by a trusted certificate authority (CA). + public bool? IsCertTrusted + { + get { return BackingStore?.Get("isCertTrusted"); } + set { BackingStore?.Set("isCertTrusted", value); } + } + /// Indicates whether the application is vulnerable to the DROWN (Decrypting RSA with Obsolete and Weakened eNcryption) attack. + public bool? IsDrownVulnerable + { + get { return BackingStore?.Get("isDrownVulnerable"); } + set { BackingStore?.Set("isDrownVulnerable", value); } + } + /// Indicates whether the application’s SSL implementation is protected from the Heartbleed vulnerability. + public bool? IsHeartbleedProof + { + get { return BackingStore?.Get("isHeartbleedProof"); } + set { BackingStore?.Set("isHeartbleedProof", value); } + } + /// Specifies the date of the last publicly reported data breach or security incident related to the application, if known. + public Date? LastBreachDate + { + get { return BackingStore?.Get("lastBreachDate"); } + set { BackingStore?.Set("lastBreachDate", value); } + } + /// The latestValidSSL property + public global::Microsoft.Graph.Models.SslVersion? LatestValidSSL + { + get { return BackingStore?.Get("latestValidSSL"); } + set { BackingStore?.Set("latestValidSSL", 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 passwordPolicy property + public global::Microsoft.Graph.Models.PasswordPolicy? PasswordPolicy + { + get { return BackingStore?.Get("passwordPolicy"); } + set { BackingStore?.Set("passwordPolicy", value); } + } + /// The restEncryptionType property + public global::Microsoft.Graph.Models.RestEncryptionType? RestEncryptionType + { + get { return BackingStore?.Get("restEncryptionType"); } + set { BackingStore?.Set("restEncryptionType", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ApplicationRiskFactorSecurityInfo() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ApplicationRiskFactorSecurityInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ApplicationRiskFactorSecurityInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "certificate", n => { Certificate = n.GetObjectValue(global::Microsoft.Graph.Models.ApplicationRiskFactorCertificateInfo.CreateFromDiscriminatorValue); } }, + { "domainToCheck", n => { DomainToCheck = n.GetStringValue(); } }, + { "hasAdminAuditTrail", n => { HasAdminAuditTrail = n.GetBoolValue(); } }, + { "hasAnonymousUsage", n => { HasAnonymousUsage = n.GetBoolValue(); } }, + { "hasDataAuditTrail", n => { HasDataAuditTrail = n.GetBoolValue(); } }, + { "hasDataClassification", n => { HasDataClassification = n.GetBoolValue(); } }, + { "hasDataEncrypted", n => { HasDataEncrypted = n.GetBoolValue(); } }, + { "hasEnforceTransportEnc", n => { HasEnforceTransportEnc = n.GetBoolValue(); } }, + { "hasIpRestriction", n => { HasIpRestriction = n.GetBoolValue(); } }, + { "hasMFA", n => { HasMFA = n.GetBoolValue(); } }, + { "hasPenTest", n => { HasPenTest = n.GetBoolValue(); } }, + { "hasRememberPassword", n => { HasRememberPassword = n.GetBoolValue(); } }, + { "hasSamlSupport", n => { HasSamlSupport = n.GetBoolValue(); } }, + { "hasUserAuditLogs", n => { HasUserAuditLogs = n.GetBoolValue(); } }, + { "hasUserDataUpload", n => { HasUserDataUpload = n.GetBoolValue(); } }, + { "hasUserRolesSupport", n => { HasUserRolesSupport = n.GetBoolValue(); } }, + { "hasValidCertName", n => { HasValidCertName = n.GetBoolValue(); } }, + { "httpsSecurityHeaders", n => { HttpsSecurityHeaders = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "isCertTrusted", n => { IsCertTrusted = n.GetBoolValue(); } }, + { "isDrownVulnerable", n => { IsDrownVulnerable = n.GetBoolValue(); } }, + { "isHeartbleedProof", n => { IsHeartbleedProof = n.GetBoolValue(); } }, + { "lastBreachDate", n => { LastBreachDate = n.GetDateValue(); } }, + { "latestValidSSL", n => { LatestValidSSL = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "passwordPolicy", n => { PasswordPolicy = n.GetEnumValue(); } }, + { "restEncryptionType", n => { RestEncryptionType = 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.WriteObjectValue("certificate", Certificate); + writer.WriteStringValue("domainToCheck", DomainToCheck); + writer.WriteBoolValue("hasAdminAuditTrail", HasAdminAuditTrail); + writer.WriteBoolValue("hasAnonymousUsage", HasAnonymousUsage); + writer.WriteBoolValue("hasDataAuditTrail", HasDataAuditTrail); + writer.WriteBoolValue("hasDataClassification", HasDataClassification); + writer.WriteBoolValue("hasDataEncrypted", HasDataEncrypted); + writer.WriteBoolValue("hasEnforceTransportEnc", HasEnforceTransportEnc); + writer.WriteBoolValue("hasIpRestriction", HasIpRestriction); + writer.WriteBoolValue("hasMFA", HasMFA); + writer.WriteBoolValue("hasPenTest", HasPenTest); + writer.WriteBoolValue("hasRememberPassword", HasRememberPassword); + writer.WriteBoolValue("hasSamlSupport", HasSamlSupport); + writer.WriteBoolValue("hasUserAuditLogs", HasUserAuditLogs); + writer.WriteBoolValue("hasUserDataUpload", HasUserDataUpload); + writer.WriteBoolValue("hasUserRolesSupport", HasUserRolesSupport); + writer.WriteBoolValue("hasValidCertName", HasValidCertName); + writer.WriteCollectionOfPrimitiveValues("httpsSecurityHeaders", HttpsSecurityHeaders); + writer.WriteBoolValue("isCertTrusted", IsCertTrusted); + writer.WriteBoolValue("isDrownVulnerable", IsDrownVulnerable); + writer.WriteBoolValue("isHeartbleedProof", IsHeartbleedProof); + writer.WriteDateValue("lastBreachDate", LastBreachDate); + writer.WriteEnumValue("latestValidSSL", LatestValidSSL); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("passwordPolicy", PasswordPolicy); + writer.WriteEnumValue("restEncryptionType", RestEncryptionType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactors.cs b/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactors.cs new file mode 100644 index 00000000000..ac0ed181de3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ApplicationRiskFactors.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ApplicationRiskFactors : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Provides information about the application's adherence to security frameworks, certifications, and industry compliance standards. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ApplicationSecurityCompliance? Compliance + { + get { return BackingStore?.Get("compliance"); } + set { BackingStore?.Set("compliance", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ApplicationSecurityCompliance Compliance + { + get { return BackingStore?.Get("compliance"); } + set { BackingStore?.Set("compliance", value); } + } +#endif + /// Contains general business, operational, and data handling details that influence the application's risk assessment. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ApplicationRiskFactorGeneralInfo? General + { + get { return BackingStore?.Get("general"); } + set { BackingStore?.Set("general", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ApplicationRiskFactorGeneralInfo General + { + get { return BackingStore?.Get("general"); } + set { BackingStore?.Set("general", value); } + } +#endif + /// Provides legal and regulatory compliance information, including data ownership, retention, and GDPR adherence. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ApplicationRiskFactorLegalInfo? Legal + { + get { return BackingStore?.Get("legal"); } + set { BackingStore?.Set("legal", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ApplicationRiskFactorLegalInfo Legal + { + get { return BackingStore?.Get("legal"); } + set { BackingStore?.Set("legal", 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 + /// Contains information related to the application's security posture, such as encryption, authentication, and vulnerability management practices. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ApplicationRiskFactorSecurityInfo? Security + { + get { return BackingStore?.Get("security"); } + set { BackingStore?.Set("security", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ApplicationRiskFactorSecurityInfo Security + { + get { return BackingStore?.Get("security"); } + set { BackingStore?.Set("security", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ApplicationRiskFactors() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ApplicationRiskFactors CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ApplicationRiskFactors(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "compliance", n => { Compliance = n.GetObjectValue(global::Microsoft.Graph.Models.ApplicationSecurityCompliance.CreateFromDiscriminatorValue); } }, + { "general", n => { General = n.GetObjectValue(global::Microsoft.Graph.Models.ApplicationRiskFactorGeneralInfo.CreateFromDiscriminatorValue); } }, + { "legal", n => { Legal = n.GetObjectValue(global::Microsoft.Graph.Models.ApplicationRiskFactorLegalInfo.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "security", n => { Security = n.GetObjectValue(global::Microsoft.Graph.Models.ApplicationRiskFactorSecurityInfo.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("compliance", Compliance); + writer.WriteObjectValue("general", General); + writer.WriteObjectValue("legal", Legal); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("security", Security); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ApplicationRiskScore.cs b/src/Microsoft.Graph/Generated/Models/ApplicationRiskScore.cs new file mode 100644 index 00000000000..3bf4b17d4ac --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ApplicationRiskScore.cs @@ -0,0 +1,121 @@ +// +#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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ApplicationRiskScore : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Specifies the compliance risk score based on the application's alignment with regulatory standards and industry certifications such as HIPAA, CSA, and PCI-DSS. + public float? Compliance + { + get { return BackingStore?.Get("compliance"); } + set { BackingStore?.Set("compliance", value); } + } + /// Specifies the legal risk score based on data protection practices, privacy policy transparency, and jurisdictional compliance to regulations and policies such as DMCA and data retention policy. + public float? Legal + { + get { return BackingStore?.Get("legal"); } + set { BackingStore?.Set("legal", 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 + /// Specifies the provider risk score based on vendor credibility, operational maturity, and trustworthiness. + public float? Provider + { + get { return BackingStore?.Get("provider"); } + set { BackingStore?.Set("provider", value); } + } + /// Specifies the security risk score based on authentication strength, encryption, vulnerability management, and overall security hygiene. + public float? Security + { + get { return BackingStore?.Get("security"); } + set { BackingStore?.Set("security", value); } + } + /// Represents the composite risk score derived from all risk categories. + public float? Total + { + get { return BackingStore?.Get("total"); } + set { BackingStore?.Set("total", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ApplicationRiskScore() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ApplicationRiskScore CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ApplicationRiskScore(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "compliance", n => { Compliance = n.GetFloatValue(); } }, + { "legal", n => { Legal = n.GetFloatValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "provider", n => { Provider = n.GetFloatValue(); } }, + { "security", n => { Security = n.GetFloatValue(); } }, + { "total", n => { Total = n.GetFloatValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteFloatValue("compliance", Compliance); + writer.WriteFloatValue("legal", Legal); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteFloatValue("provider", Provider); + writer.WriteFloatValue("security", Security); + writer.WriteFloatValue("total", Total); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ApplicationSecurityCompliance.cs b/src/Microsoft.Graph/Generated/Models/ApplicationSecurityCompliance.cs new file mode 100644 index 00000000000..f47672224a6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ApplicationSecurityCompliance.cs @@ -0,0 +1,321 @@ +// +#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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ApplicationSecurityCompliance : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Indicates whether the application adheres to the Control Objectives for Information and Related Technologies (COBIT) framework. + public bool? Cobit + { + get { return BackingStore?.Get("cobit"); } + set { BackingStore?.Set("cobit", value); } + } + /// Indicates whether the application complies with the Children’s Online Privacy Protection Act (COPPA). + public bool? Coppa + { + get { return BackingStore?.Get("coppa"); } + set { BackingStore?.Set("coppa", value); } + } + /// Specifies the Cloud Security Alliance (CSA) Security, Trust & Assurance Registry (STAR) certification level. The possible values are: none, attestation, certification, continuousMonitoring, cStarAssessment, selfAssessment, notSupported, unknownFutureValue. + public global::Microsoft.Graph.Models.CsaStarLevel? CsaStar + { + get { return BackingStore?.Get("csaStar"); } + set { BackingStore?.Set("csaStar", value); } + } + /// Specifies the Federal Risk and Authorization Management Program (FedRAMP) certification level. The possible values are: none, high, liSaas, low, moderate, notSupported, unknownFutureValue. + public global::Microsoft.Graph.Models.FedRampLevel? FedRamp + { + get { return BackingStore?.Get("fedRamp"); } + set { BackingStore?.Set("fedRamp", value); } + } + /// Indicates whether the application complies with the Family Educational Rights and Privacy Act (FERPA). + public bool? Ferpa + { + get { return BackingStore?.Get("ferpa"); } + set { BackingStore?.Set("ferpa", value); } + } + /// Indicates whether the application meets Federal Financial Institutions Examination Council (FFIEC) requirements. + public bool? Ffiec + { + get { return BackingStore?.Get("ffiec"); } + set { BackingStore?.Set("ffiec", value); } + } + /// Indicates whether the application complies with Financial Industry Regulatory Authority (FINRA) standards. + public bool? Finra + { + get { return BackingStore?.Get("finra"); } + set { BackingStore?.Set("finra", value); } + } + /// Indicates whether the application complies with the Federal Information Security Management Act (FISMA). + public bool? Fisma + { + get { return BackingStore?.Get("fisma"); } + set { BackingStore?.Set("fisma", value); } + } + /// Indicates whether the application provider adheres to Generally Accepted Accounting Principles (GAAP). + public bool? Gaap + { + get { return BackingStore?.Get("gaap"); } + set { BackingStore?.Set("gaap", value); } + } + /// Indicates whether the application adheres to Generally Accepted Privacy Principles (GAPP). + public bool? Gapp + { + get { return BackingStore?.Get("gapp"); } + set { BackingStore?.Set("gapp", value); } + } + /// Indicates whether the application complies with the Gramm–Leach–Bliley Act (GLBA) for financial data protection. + public bool? Glba + { + get { return BackingStore?.Get("glba"); } + set { BackingStore?.Set("glba", value); } + } + /// Indicates whether the application complies with the Health Insurance Portability and Accountability Act (HIPAA). + public bool? Hipaa + { + get { return BackingStore?.Get("hipaa"); } + set { BackingStore?.Set("hipaa", value); } + } + /// Indicates whether the application holds HITRUST certification, demonstrating alignment with healthcare and data security standards. + public bool? Hitrust + { + get { return BackingStore?.Get("hitrust"); } + set { BackingStore?.Set("hitrust", value); } + } + /// Indicates whether the application complies with International Standard on Assurance Engagements (ISAE) 3402 requirements. + public bool? Isae3402 + { + get { return BackingStore?.Get("isae3402"); } + set { BackingStore?.Set("isae3402", value); } + } + /// Indicates whether the application is certified against ISO/IEC 27001 for information security management systems (ISMS). + public bool? Iso27001 + { + get { return BackingStore?.Get("iso27001"); } + set { BackingStore?.Set("iso27001", value); } + } + /// Indicates whether the application follows ISO/IEC 27002 security control best practices. + public bool? Iso27002 + { + get { return BackingStore?.Get("iso27002"); } + set { BackingStore?.Set("iso27002", value); } + } + /// Indicates whether the application complies with ISO/IEC 27017 standards for cloud security controls. + public bool? Iso27017 + { + get { return BackingStore?.Get("iso27017"); } + set { BackingStore?.Set("iso27017", value); } + } + /// Indicates whether the application complies with ISO/IEC 27018 standards for protecting personally identifiable information (PII) in cloud environments. + public bool? Iso27018 + { + get { return BackingStore?.Get("iso27018"); } + set { BackingStore?.Set("iso27018", value); } + } + /// Indicates whether the application complies with International Traffic in Arms Regulations (ITAR). + public bool? Itar + { + get { return BackingStore?.Get("itar"); } + set { BackingStore?.Set("itar", value); } + } + /// Indicates whether the application aligns with Jericho Forum security principles for deperimeterized environments. + public bool? JerichoForumCommandments + { + get { return BackingStore?.Get("jerichoForumCommandments"); } + set { BackingStore?.Set("jerichoForumCommandments", 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 + /// Specifies the Payment Card Industry (PCI) Data Security Standard (DSS) version the application complies with. The possible values are: none, v321, v4, notSupported, unknownFutureValue. + public global::Microsoft.Graph.Models.PciVersion? Pci + { + get { return BackingStore?.Get("pci"); } + set { BackingStore?.Set("pci", value); } + } + /// Indicates whether the application complies with the EU–U.S. Privacy Shield framework for cross-border data transfers. + public bool? PrivacyShield + { + get { return BackingStore?.Get("privacyShield"); } + set { BackingStore?.Set("privacyShield", value); } + } + /// Indicates whether the application previously adhered to the U.S.–EU Safe Harbor data transfer framework. + public bool? SafeHarbor + { + get { return BackingStore?.Get("safeHarbor"); } + set { BackingStore?.Set("safeHarbor", value); } + } + /// Indicates whether the application provider undergoes a Service Organization Control (SOC) one audit report. + public bool? Soc1 + { + get { return BackingStore?.Get("soc1"); } + set { BackingStore?.Set("soc1", value); } + } + /// Indicates whether the application provider undergoes a Service Organization Control (SOC) two audit report. + public bool? Soc2 + { + get { return BackingStore?.Get("soc2"); } + set { BackingStore?.Set("soc2", value); } + } + /// Indicates whether the application provider undergoes a Service Organization Control (SOC) three audit report. + public bool? Soc3 + { + get { return BackingStore?.Get("soc3"); } + set { BackingStore?.Set("soc3", value); } + } + /// Indicates whether the application complies with the Sarbanes–Oxley Act (SOX) financial reporting requirements. + public bool? Sox + { + get { return BackingStore?.Get("sox"); } + set { BackingStore?.Set("sox", value); } + } + /// Indicates whether the application aligns with National Institute of Standards and Technology (NIST) Special Publication 800-53 security and privacy controls. + public bool? Sp80053 + { + get { return BackingStore?.Get("sp800_53"); } + set { BackingStore?.Set("sp800_53", value); } + } + /// Indicates whether the application adheres to Statement on Standards for Attestation Engagements (SSAE) No. 16. + public bool? Ssae16 + { + get { return BackingStore?.Get("ssae16"); } + set { BackingStore?.Set("ssae16", value); } + } + /// Indicates whether the application complies with U.S. Trade Representative (USTR) data and trade protection requirements. + public bool? Ustr + { + get { return BackingStore?.Get("ustr"); } + set { BackingStore?.Set("ustr", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ApplicationSecurityCompliance() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ApplicationSecurityCompliance CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ApplicationSecurityCompliance(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "cobit", n => { Cobit = n.GetBoolValue(); } }, + { "coppa", n => { Coppa = n.GetBoolValue(); } }, + { "csaStar", n => { CsaStar = n.GetEnumValue(); } }, + { "fedRamp", n => { FedRamp = n.GetEnumValue(); } }, + { "ferpa", n => { Ferpa = n.GetBoolValue(); } }, + { "ffiec", n => { Ffiec = n.GetBoolValue(); } }, + { "finra", n => { Finra = n.GetBoolValue(); } }, + { "fisma", n => { Fisma = n.GetBoolValue(); } }, + { "gaap", n => { Gaap = n.GetBoolValue(); } }, + { "gapp", n => { Gapp = n.GetBoolValue(); } }, + { "glba", n => { Glba = n.GetBoolValue(); } }, + { "hipaa", n => { Hipaa = n.GetBoolValue(); } }, + { "hitrust", n => { Hitrust = n.GetBoolValue(); } }, + { "isae3402", n => { Isae3402 = n.GetBoolValue(); } }, + { "iso27001", n => { Iso27001 = n.GetBoolValue(); } }, + { "iso27002", n => { Iso27002 = n.GetBoolValue(); } }, + { "iso27017", n => { Iso27017 = n.GetBoolValue(); } }, + { "iso27018", n => { Iso27018 = n.GetBoolValue(); } }, + { "itar", n => { Itar = n.GetBoolValue(); } }, + { "jerichoForumCommandments", n => { JerichoForumCommandments = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "pci", n => { Pci = n.GetEnumValue(); } }, + { "privacyShield", n => { PrivacyShield = n.GetBoolValue(); } }, + { "safeHarbor", n => { SafeHarbor = n.GetBoolValue(); } }, + { "soc1", n => { Soc1 = n.GetBoolValue(); } }, + { "soc2", n => { Soc2 = n.GetBoolValue(); } }, + { "soc3", n => { Soc3 = n.GetBoolValue(); } }, + { "sox", n => { Sox = n.GetBoolValue(); } }, + { "sp800_53", n => { Sp80053 = n.GetBoolValue(); } }, + { "ssae16", n => { Ssae16 = n.GetBoolValue(); } }, + { "ustr", n => { Ustr = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("cobit", Cobit); + writer.WriteBoolValue("coppa", Coppa); + writer.WriteEnumValue("csaStar", CsaStar); + writer.WriteEnumValue("fedRamp", FedRamp); + writer.WriteBoolValue("ferpa", Ferpa); + writer.WriteBoolValue("ffiec", Ffiec); + writer.WriteBoolValue("finra", Finra); + writer.WriteBoolValue("fisma", Fisma); + writer.WriteBoolValue("gaap", Gaap); + writer.WriteBoolValue("gapp", Gapp); + writer.WriteBoolValue("glba", Glba); + writer.WriteBoolValue("hipaa", Hipaa); + writer.WriteBoolValue("hitrust", Hitrust); + writer.WriteBoolValue("isae3402", Isae3402); + writer.WriteBoolValue("iso27001", Iso27001); + writer.WriteBoolValue("iso27002", Iso27002); + writer.WriteBoolValue("iso27017", Iso27017); + writer.WriteBoolValue("iso27018", Iso27018); + writer.WriteBoolValue("itar", Itar); + writer.WriteBoolValue("jerichoForumCommandments", JerichoForumCommandments); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("pci", Pci); + writer.WriteBoolValue("privacyShield", PrivacyShield); + writer.WriteBoolValue("safeHarbor", SafeHarbor); + writer.WriteBoolValue("soc1", Soc1); + writer.WriteBoolValue("soc2", Soc2); + writer.WriteBoolValue("soc3", Soc3); + writer.WriteBoolValue("sox", Sox); + writer.WriteBoolValue("sp800_53", Sp80053); + writer.WriteBoolValue("ssae16", Ssae16); + writer.WriteBoolValue("ustr", Ustr); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ApplicationTemplate.cs b/src/Microsoft.Graph/Generated/Models/ApplicationTemplate.cs index 8edd84d0b62..1d596cf574e 100644 --- a/src/Microsoft.Graph/Generated/Models/ApplicationTemplate.cs +++ b/src/Microsoft.Graph/Generated/Models/ApplicationTemplate.cs @@ -2,6 +2,7 @@ #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; @@ -28,6 +29,12 @@ public List Categories set { BackingStore?.Set("categories", value); } } #endif + /// Deprecation date for this application. If specified, the application will be removed from the Microsoft Entra application gallery on this date. + public Date? DeprecationDate + { + get { return BackingStore?.Get("deprecationDate"); } + set { BackingStore?.Set("deprecationDate", value); } + } /// A description of the application. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -59,6 +66,22 @@ public string DisplayName get { return BackingStore?.Get("displayName"); } set { BackingStore?.Set("displayName", value); } } +#endif + /// A collection of string URLs representing various domains that are used by this application. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Endpoints + { + get { return BackingStore?.Get?>("endpoints"); } + set { BackingStore?.Set("endpoints", value); } + } +#nullable restore +#else + public List Endpoints + { + get { return BackingStore?.Get>("endpoints"); } + set { BackingStore?.Set("endpoints", value); } + } #endif /// The home page URL of the application. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -76,6 +99,18 @@ public string HomePageUrl set { BackingStore?.Set("homePageUrl", 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 + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } /// The URL to get the logo for this application. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -107,6 +142,38 @@ public string Publisher get { return BackingStore?.Get("publisher"); } set { BackingStore?.Set("publisher", value); } } +#endif + /// A comprehensive set of risk assessment data for the application, including general, security, compliance, and legal dimensions. Returned only when $select is used. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ApplicationRiskFactors? RiskFactors + { + get { return BackingStore?.Get("riskFactors"); } + set { BackingStore?.Set("riskFactors", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ApplicationRiskFactors RiskFactors + { + get { return BackingStore?.Get("riskFactors"); } + set { BackingStore?.Set("riskFactors", value); } + } +#endif + /// Represents the Microsoft-generated numerical risk score assessment for the application. Supported $orderby on total (for example, $orderby=riskScore/total desc). Returned only when $select is used. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ApplicationRiskScore? RiskScore + { + get { return BackingStore?.Get("riskScore"); } + set { BackingStore?.Set("riskScore", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ApplicationRiskScore RiskScore + { + get { return BackingStore?.Get("riskScore"); } + set { BackingStore?.Set("riskScore", value); } + } #endif /// The list of provisioning modes supported by this application. The only valid value is sync. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -159,11 +226,17 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "categories", n => { Categories = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "deprecationDate", n => { DeprecationDate = n.GetDateValue(); } }, { "description", n => { Description = n.GetStringValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "endpoints", n => { Endpoints = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "homePageUrl", n => { HomePageUrl = n.GetStringValue(); } }, + { "isEntraIntegrated", n => { IsEntraIntegrated = n.GetBoolValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, { "logoUrl", n => { LogoUrl = n.GetStringValue(); } }, { "publisher", n => { Publisher = n.GetStringValue(); } }, + { "riskFactors", n => { RiskFactors = n.GetObjectValue(global::Microsoft.Graph.Models.ApplicationRiskFactors.CreateFromDiscriminatorValue); } }, + { "riskScore", n => { RiskScore = n.GetObjectValue(global::Microsoft.Graph.Models.ApplicationRiskScore.CreateFromDiscriminatorValue); } }, { "supportedProvisioningTypes", n => { SupportedProvisioningTypes = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "supportedSingleSignOnModes", n => { SupportedSingleSignOnModes = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, }; @@ -177,11 +250,17 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteCollectionOfPrimitiveValues("categories", Categories); + writer.WriteDateValue("deprecationDate", DeprecationDate); writer.WriteStringValue("description", Description); writer.WriteStringValue("displayName", DisplayName); + writer.WriteCollectionOfPrimitiveValues("endpoints", Endpoints); writer.WriteStringValue("homePageUrl", HomePageUrl); + writer.WriteBoolValue("isEntraIntegrated", IsEntraIntegrated); + writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); writer.WriteStringValue("logoUrl", LogoUrl); writer.WriteStringValue("publisher", Publisher); + writer.WriteObjectValue("riskFactors", RiskFactors); + writer.WriteObjectValue("riskScore", RiskScore); writer.WriteCollectionOfPrimitiveValues("supportedProvisioningTypes", SupportedProvisioningTypes); writer.WriteCollectionOfPrimitiveValues("supportedSingleSignOnModes", SupportedSingleSignOnModes); } diff --git a/src/Microsoft.Graph/Generated/Models/AuthenticationMethodsRegistrationCampaignIncludeTarget.cs b/src/Microsoft.Graph/Generated/Models/AuthenticationMethodsRegistrationCampaignIncludeTarget.cs index a769b23c4e7..b3a4dccc95a 100644 --- a/src/Microsoft.Graph/Generated/Models/AuthenticationMethodsRegistrationCampaignIncludeTarget.cs +++ b/src/Microsoft.Graph/Generated/Models/AuthenticationMethodsRegistrationCampaignIncludeTarget.cs @@ -53,7 +53,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The authentication method that the user is prompted to register. The value must be microsoftAuthenticator. + /// The authentication method that the user is prompted to register. The value can be Fido2 or microsoftAuthenticator. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? TargetedAuthenticationMethod diff --git a/src/Microsoft.Graph/Generated/Models/Chat.cs b/src/Microsoft.Graph/Generated/Models/Chat.cs index 6c63299769f..20b18bc5830 100644 --- a/src/Microsoft.Graph/Generated/Models/Chat.cs +++ b/src/Microsoft.Graph/Generated/Models/Chat.cs @@ -175,6 +175,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 @@ -272,6 +288,7 @@ public override IDictionary> GetFieldDeserializers() { "permissionGrants", n => { PermissionGrants = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue)?.AsList(); } }, { "pinnedMessages", n => { PinnedMessages = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PinnedChatMessageInfo.CreateFromDiscriminatorValue)?.AsList(); } }, { "tabs", n => { Tabs = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TeamsTab.CreateFromDiscriminatorValue)?.AsList(); } }, + { "targetedMessages", n => { TargetedMessages = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, { "tenantId", n => { TenantId = n.GetStringValue(); } }, { "topic", n => { Topic = n.GetStringValue(); } }, { "viewpoint", n => { Viewpoint = n.GetObjectValue(global::Microsoft.Graph.Models.ChatViewpoint.CreateFromDiscriminatorValue); } }, @@ -300,6 +317,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 e33bfadcf31..fdda498ddc5 100644 --- a/src/Microsoft.Graph/Generated/Models/ChatMessage.cs +++ b/src/Microsoft.Graph/Generated/Models/ChatMessage.cs @@ -344,7 +344,12 @@ public string WebUrl public static new global::Microsoft.Graph.Models.ChatMessage CreateFromDiscriminatorValue(IParseNode parseNode) { if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Models.ChatMessage(); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.targetedChatMessage" => new global::Microsoft.Graph.Models.TargetedChatMessage(), + _ => new global::Microsoft.Graph.Models.ChatMessage(), + }; } /// /// The deserialization information for the current model diff --git a/src/Microsoft.Graph/Generated/Models/CsaStarLevel.cs b/src/Microsoft.Graph/Generated/Models/CsaStarLevel.cs new file mode 100644 index 00000000000..7eaff0ba4ba --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CsaStarLevel.cs @@ -0,0 +1,44 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum CsaStarLevel + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "attestation")] + #pragma warning disable CS1591 + Attestation, + #pragma warning restore CS1591 + [EnumMember(Value = "certification")] + #pragma warning disable CS1591 + Certification, + #pragma warning restore CS1591 + [EnumMember(Value = "continuousMonitoring")] + #pragma warning disable CS1591 + ContinuousMonitoring, + #pragma warning restore CS1591 + [EnumMember(Value = "cStarAssessment")] + #pragma warning disable CS1591 + CStarAssessment, + #pragma warning restore CS1591 + [EnumMember(Value = "selfAssessment")] + #pragma warning disable CS1591 + SelfAssessment, + #pragma warning restore CS1591 + [EnumMember(Value = "notSupported")] + #pragma warning disable CS1591 + NotSupported, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/DataProtection.cs b/src/Microsoft.Graph/Generated/Models/DataProtection.cs new file mode 100644 index 00000000000..4c63f0ae57d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DataProtection.cs @@ -0,0 +1,33 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum DataProtection + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "impactAssessments")] + #pragma warning disable CS1591 + ImpactAssessments = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "officers")] + #pragma warning disable CS1591 + Officers = 4, + #pragma warning restore CS1591 + [EnumMember(Value = "secureCrossBorderDataTransfer")] + #pragma warning disable CS1591 + SecureCrossBorderDataTransfer = 8, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 16, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/DataRetentionLevel.cs b/src/Microsoft.Graph/Generated/Models/DataRetentionLevel.cs new file mode 100644 index 00000000000..e8d54e187a9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DataRetentionLevel.cs @@ -0,0 +1,44 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum DataRetentionLevel + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "dataRetained")] + #pragma warning disable CS1591 + DataRetained, + #pragma warning restore CS1591 + [EnumMember(Value = "deletedImmediately")] + #pragma warning disable CS1591 + DeletedImmediately, + #pragma warning restore CS1591 + [EnumMember(Value = "deletedWithin1Month")] + #pragma warning disable CS1591 + DeletedWithin1Month, + #pragma warning restore CS1591 + [EnumMember(Value = "deletedWithin2Weeks")] + #pragma warning disable CS1591 + DeletedWithin2Weeks, + #pragma warning restore CS1591 + [EnumMember(Value = "deletedWithin3Months")] + #pragma warning disable CS1591 + DeletedWithin3Months, + #pragma warning restore CS1591 + [EnumMember(Value = "deletedWithinMoreThan3Months")] + #pragma warning disable CS1591 + DeletedWithinMoreThan3Months, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/EntitlementManagement.cs b/src/Microsoft.Graph/Generated/Models/EntitlementManagement.cs index 60cd460b352..20ceb8e70cd 100644 --- a/src/Microsoft.Graph/Generated/Models/EntitlementManagement.cs +++ b/src/Microsoft.Graph/Generated/Models/EntitlementManagement.cs @@ -203,6 +203,22 @@ public partial class EntitlementManagement : global::Microsoft.Graph.Models.Enti get { return BackingStore?.Get("settings"); } set { BackingStore?.Set("settings", value); } } +#endif + /// 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 /// /// Creates a new instance of the appropriate class based on discriminator value @@ -234,6 +250,7 @@ public override IDictionary> GetFieldDeserializers() { "resourceRoleScopes", n => { ResourceRoleScopes = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AccessPackageResourceRoleScope.CreateFromDiscriminatorValue)?.AsList(); } }, { "resources", n => { Resources = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AccessPackageResource.CreateFromDiscriminatorValue)?.AsList(); } }, { "settings", n => { Settings = n.GetObjectValue(global::Microsoft.Graph.Models.EntitlementManagementSettings.CreateFromDiscriminatorValue); } }, + { "subjects", n => { Subjects = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AccessPackageSubject.CreateFromDiscriminatorValue)?.AsList(); } }, }; } /// @@ -256,6 +273,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("resourceRoleScopes", ResourceRoleScopes); writer.WriteCollectionOfObjectValues("resources", Resources); writer.WriteObjectValue("settings", Settings); + writer.WriteCollectionOfObjectValues("subjects", Subjects); } } } diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index b67c1e3857e..ab16c827405 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -962,6 +962,7 @@ public Entity() "#microsoft.graph.synchronizationSchema" => new global::Microsoft.Graph.Models.SynchronizationSchema(), "#microsoft.graph.synchronizationTemplate" => new global::Microsoft.Graph.Models.SynchronizationTemplate(), "#microsoft.graph.targetDeviceGroup" => new global::Microsoft.Graph.Models.TargetDeviceGroup(), + "#microsoft.graph.targetedChatMessage" => new global::Microsoft.Graph.Models.TargetedChatMessage(), "#microsoft.graph.targetedManagedAppConfiguration" => new global::Microsoft.Graph.Models.TargetedManagedAppConfiguration(), "#microsoft.graph.targetedManagedAppPolicyAssignment" => new global::Microsoft.Graph.Models.TargetedManagedAppPolicyAssignment(), "#microsoft.graph.targetedManagedAppProtection" => new global::Microsoft.Graph.Models.TargetedManagedAppProtection(), diff --git a/src/Microsoft.Graph/Generated/Models/FedRampLevel.cs b/src/Microsoft.Graph/Generated/Models/FedRampLevel.cs new file mode 100644 index 00000000000..194c8ec5f5b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/FedRampLevel.cs @@ -0,0 +1,40 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum FedRampLevel + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "high")] + #pragma warning disable CS1591 + High, + #pragma warning restore CS1591 + [EnumMember(Value = "liSaas")] + #pragma warning disable CS1591 + LiSaas, + #pragma warning restore CS1591 + [EnumMember(Value = "low")] + #pragma warning disable CS1591 + Low, + #pragma warning restore CS1591 + [EnumMember(Value = "moderate")] + #pragma warning disable CS1591 + Moderate, + #pragma warning restore CS1591 + [EnumMember(Value = "notSupported")] + #pragma warning disable CS1591 + NotSupported, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Fido2AuthenticationMethod.cs b/src/Microsoft.Graph/Generated/Models/Fido2AuthenticationMethod.cs index 9684a59d3f6..8334e16dffe 100644 --- a/src/Microsoft.Graph/Generated/Models/Fido2AuthenticationMethod.cs +++ b/src/Microsoft.Graph/Generated/Models/Fido2AuthenticationMethod.cs @@ -88,7 +88,7 @@ public string Model get { return BackingStore?.Get("passkeyType"); } set { BackingStore?.Set("passkeyType", value); } } - /// The publicKeyCredential property + /// Contains the WebAuthn public key credential information being registered. This property is used only for write requests and isn't returned on read operations. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.WebauthnPublicKeyCredential? PublicKeyCredential diff --git a/src/Microsoft.Graph/Generated/Models/HoldType.cs b/src/Microsoft.Graph/Generated/Models/HoldType.cs new file mode 100644 index 00000000000..996305d4996 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/HoldType.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum HoldType + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "private")] + #pragma warning disable CS1591 + Private, + #pragma warning restore CS1591 + [EnumMember(Value = "public")] + #pragma warning disable CS1591 + Public, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/PasswordPolicy.cs b/src/Microsoft.Graph/Generated/Models/PasswordPolicy.cs new file mode 100644 index 00000000000..29c55b2c862 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PasswordPolicy.cs @@ -0,0 +1,41 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum PasswordPolicy + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "changePasswordPeriod")] + #pragma warning disable CS1591 + ChangePasswordPeriod = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "charactersCombination")] + #pragma warning disable CS1591 + CharactersCombination = 4, + #pragma warning restore CS1591 + [EnumMember(Value = "passwordHistoryAndReuse")] + #pragma warning disable CS1591 + PasswordHistoryAndReuse = 8, + #pragma warning restore CS1591 + [EnumMember(Value = "passwordLengthLimit")] + #pragma warning disable CS1591 + PasswordLengthLimit = 16, + #pragma warning restore CS1591 + [EnumMember(Value = "personalInformationUse")] + #pragma warning disable CS1591 + PersonalInformationUse = 32, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 64, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/PciVersion.cs b/src/Microsoft.Graph/Generated/Models/PciVersion.cs new file mode 100644 index 00000000000..251f540c7a6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PciVersion.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum PciVersion + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "v3_2_1")] + #pragma warning disable CS1591 + V3_2_1, + #pragma warning restore CS1591 + [EnumMember(Value = "v4")] + #pragma warning disable CS1591 + V4, + #pragma warning restore CS1591 + [EnumMember(Value = "notSupported")] + #pragma warning disable CS1591 + NotSupported, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/RestEncryptionType.cs b/src/Microsoft.Graph/Generated/Models/RestEncryptionType.cs new file mode 100644 index 00000000000..bb8d877cd02 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RestEncryptionType.cs @@ -0,0 +1,48 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum RestEncryptionType + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "aes")] + #pragma warning disable CS1591 + Aes, + #pragma warning restore CS1591 + [EnumMember(Value = "bitlocker")] + #pragma warning disable CS1591 + Bitlocker, + #pragma warning restore CS1591 + [EnumMember(Value = "blowfish")] + #pragma warning disable CS1591 + Blowfish, + #pragma warning restore CS1591 + [EnumMember(Value = "des")] + #pragma warning disable CS1591 + Des, + #pragma warning restore CS1591 + [EnumMember(Value = "rc4")] + #pragma warning disable CS1591 + Rc4, + #pragma warning restore CS1591 + [EnumMember(Value = "rsa")] + #pragma warning disable CS1591 + Rsa, + #pragma warning restore CS1591 + [EnumMember(Value = "notSupported")] + #pragma warning disable CS1591 + NotSupported, + #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/CorrelationReason.cs b/src/Microsoft.Graph/Generated/Models/Security/CorrelationReason.cs new file mode 100644 index 00000000000..b30a15ea164 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CorrelationReason.cs @@ -0,0 +1,85 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.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/MergeResponse.cs b/src/Microsoft.Graph/Generated/Models/Security/MergeResponse.cs new file mode 100644 index 00000000000..7468f31593f --- /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.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.Models.Security.MergeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.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/Security/UserAccount.cs b/src/Microsoft.Graph/Generated/Models/Security/UserAccount.cs index d846b2bdcc7..d84ec62ea50 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/UserAccount.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/UserAccount.cs @@ -122,6 +122,22 @@ public string OdataType get { return BackingStore?.Get>("resourceAccessEvents"); } set { BackingStore?.Set("resourceAccessEvents", value); } } +#endif + /// The tenantId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TenantId + { + get { return BackingStore?.Get("tenantId"); } + set { BackingStore?.Set("tenantId", value); } + } +#nullable restore +#else + public string TenantId + { + get { return BackingStore?.Get("tenantId"); } + set { BackingStore?.Set("tenantId", value); } + } #endif /// The user principal name of the account in Microsoft Entra ID. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -188,6 +204,7 @@ public virtual IDictionary> GetFieldDeserializers() { "domainName", n => { DomainName = n.GetStringValue(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, { "resourceAccessEvents", n => { ResourceAccessEvents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.ResourceAccessEvent.CreateFromDiscriminatorValue)?.AsList(); } }, + { "tenantId", n => { TenantId = n.GetStringValue(); } }, { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, { "userSid", n => { UserSid = n.GetStringValue(); } }, }; @@ -206,6 +223,7 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteStringValue("domainName", DomainName); writer.WriteStringValue("@odata.type", OdataType); writer.WriteCollectionOfObjectValues("resourceAccessEvents", ResourceAccessEvents); + writer.WriteStringValue("tenantId", TenantId); writer.WriteStringValue("userPrincipalName", UserPrincipalName); writer.WriteStringValue("userSid", UserSid); writer.WriteAdditionalData(AdditionalData); diff --git a/src/Microsoft.Graph/Generated/Models/SslVersion.cs b/src/Microsoft.Graph/Generated/Models/SslVersion.cs new file mode 100644 index 00000000000..94d47d8ed53 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SslVersion.cs @@ -0,0 +1,44 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum SslVersion + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "ssl3_0")] + #pragma warning disable CS1591 + Ssl3_0, + #pragma warning restore CS1591 + [EnumMember(Value = "tls1_0")] + #pragma warning disable CS1591 + Tls1_0, + #pragma warning restore CS1591 + [EnumMember(Value = "tls1_1")] + #pragma warning disable CS1591 + Tls1_1, + #pragma warning restore CS1591 + [EnumMember(Value = "tls1_2")] + #pragma warning disable CS1591 + Tls1_2, + #pragma warning restore CS1591 + [EnumMember(Value = "tls1_3")] + #pragma warning disable CS1591 + Tls1_3, + #pragma warning restore CS1591 + [EnumMember(Value = "notSupported")] + #pragma warning disable CS1591 + NotSupported, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/TargetedChatMessage.cs b/src/Microsoft.Graph/Generated/Models/TargetedChatMessage.cs new file mode 100644 index 00000000000..c66597d9564 --- /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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TargetedChatMessage : global::Microsoft.Graph.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.Models.Identity? Recipient + { + get { return BackingStore?.Get("recipient"); } + set { BackingStore?.Set("recipient", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.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.Models.TargetedChatMessage CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.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.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 00000000000..53087a3e072 --- /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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TargetedChatMessageCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.TargetedChatMessageCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.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.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/UserOwnership.cs b/src/Microsoft.Graph/Generated/Models/UserOwnership.cs new file mode 100644 index 00000000000..b15d49aadcf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UserOwnership.cs @@ -0,0 +1,53 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum UserOwnership + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "lawfulBasisForProcessing")] + #pragma warning disable CS1591 + LawfulBasisForProcessing = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "rightToAccess")] + #pragma warning disable CS1591 + RightToAccess = 4, + #pragma warning restore CS1591 + [EnumMember(Value = "rightToBeInformed")] + #pragma warning disable CS1591 + RightToBeInformed = 8, + #pragma warning restore CS1591 + [EnumMember(Value = "rightToDataPortability")] + #pragma warning disable CS1591 + RightToDataPortability = 16, + #pragma warning restore CS1591 + [EnumMember(Value = "rightToObject")] + #pragma warning disable CS1591 + RightToObject = 32, + #pragma warning restore CS1591 + [EnumMember(Value = "rightToRectification")] + #pragma warning disable CS1591 + RightToRectification = 64, + #pragma warning restore CS1591 + [EnumMember(Value = "rightToRestrictionOfProcessing")] + #pragma warning disable CS1591 + RightToRestrictionOfProcessing = 128, + #pragma warning restore CS1591 + [EnumMember(Value = "rightsRelatedToAutomatedDecisionMaking")] + #pragma warning disable CS1591 + RightsRelatedToAutomatedDecisionMaking = 256, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 512, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticatorAttestationResponse.cs b/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticatorAttestationResponse.cs index ac36df08c91..42c2913743f 100644 --- a/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticatorAttestationResponse.cs +++ b/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticatorAttestationResponse.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The attestationObject property + /// A CBOR-encoded attestation object containing the authenticator data and attestation statement. This value is Base64URL-encoded without padding. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AttestationObject @@ -37,7 +37,7 @@ public string AttestationObject #endif /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The clientDataJSON property + /// Contains the JSON-compatible serialization of client data passed to the authenticator by the client. This value is Base64URL-encoded without padding. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ClientDataJSON diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticatorSelectionCriteria.cs b/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticatorSelectionCriteria.cs index bd295521827..6bb676d7efa 100644 --- a/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticatorSelectionCriteria.cs +++ b/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticatorSelectionCriteria.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The authenticatorAttachment property + /// Specifies the preferred attachment modality for the authenticator. Possible values: platform (device-bound authenticator, such as Windows Hello), cross-platform (removable authenticator, such as a USB security key), or null (no preference). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AuthenticatorAttachment @@ -53,13 +53,13 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The requireResidentKey property + /// Indicates whether the authenticator must create a client-side-resident credential (also known as a discoverable credential). If true, the credential can be used without providing a credential ID. public bool? RequireResidentKey { get { return BackingStore?.Get("requireResidentKey"); } set { BackingStore?.Set("requireResidentKey", value); } } - /// The userVerification property + /// Specifies the relying party's preference for user verification during credential creation. Possible values: required, preferred, or discouraged. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? UserVerification diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnCredentialCreationOptions.cs b/src/Microsoft.Graph/Generated/Models/WebauthnCredentialCreationOptions.cs index 5f1c46e1b19..4c4cddabd16 100644 --- a/src/Microsoft.Graph/Generated/Models/WebauthnCredentialCreationOptions.cs +++ b/src/Microsoft.Graph/Generated/Models/WebauthnCredentialCreationOptions.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The challengeTimeoutDateTime property + /// The date and time when the challenge times out and can no longer be used to create a credential. public DateTimeOffset? ChallengeTimeoutDateTime { get { return BackingStore?.Get("challengeTimeoutDateTime"); } @@ -43,7 +43,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The publicKey property + /// The WebAuthn public key creation options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialCreationOptions? PublicKey diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredential.cs b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredential.cs index fb3de9bccb7..7f981121705 100644 --- a/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredential.cs +++ b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredential.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The clientExtensionResults property + /// The output of the WebAuthn extension processing. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientOutputs? ClientExtensionResults @@ -37,7 +37,7 @@ public IDictionary AdditionalData set { BackingStore?.Set("clientExtensionResults", value); } } #endif - /// The id property + /// The credential ID created by the WebAuthn Authenticator. This value is Base64URL-encoded without padding. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Id @@ -69,7 +69,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The response property + /// The response from the WebAuthn Authenticator after generating an attestation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.WebauthnAuthenticatorAttestationResponse? Response diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialCreationOptions.cs b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialCreationOptions.cs index 1ef306c3c54..3f714e84cd2 100644 --- a/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialCreationOptions.cs +++ b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialCreationOptions.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The attestation property + /// Specifies the relying party's preference for attestation conveyance. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Attestation @@ -35,7 +35,7 @@ public string Attestation set { BackingStore?.Set("attestation", value); } } #endif - /// The authenticatorSelection property + /// Criteria for selecting an appropriate authenticator for credential creation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.WebauthnAuthenticatorSelectionCriteria? AuthenticatorSelection @@ -53,7 +53,7 @@ public string Attestation #endif /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The challenge property + /// The challenge that the authenticator must sign to prove possession of the credential. This value is Base64URL-encoded without padding. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Challenge @@ -69,7 +69,7 @@ public string Challenge set { BackingStore?.Set("challenge", value); } } #endif - /// The excludeCredentials property + /// A list of credentials that are already registered for this user, which should be excluded from selection. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ExcludeCredentials @@ -85,7 +85,7 @@ public string Challenge set { BackingStore?.Set("excludeCredentials", value); } } #endif - /// The extensions property + /// Inputs for requested WebAuthn extensions. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientInputs? Extensions @@ -117,7 +117,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The pubKeyCredParams property + /// The cryptographic parameters that the relying party supports, in order of preference. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? PubKeyCredParams @@ -133,7 +133,7 @@ public string OdataType set { BackingStore?.Set("pubKeyCredParams", value); } } #endif - /// The rp property + /// Information about the relying party (RP) requesting credential creation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialRpEntity? Rp @@ -149,13 +149,13 @@ public string OdataType set { BackingStore?.Set("rp", value); } } #endif - /// The timeout property + /// The time, in milliseconds, that the caller is willing to wait for the operation to complete. public int? Timeout { get { return BackingStore?.Get("timeout"); } set { BackingStore?.Set("timeout", value); } } - /// The user property + /// Information about the user account for which the credential is being created. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialUserEntity? User diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialDescriptor.cs b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialDescriptor.cs index 09471a34d16..c28fd0dae0e 100644 --- a/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialDescriptor.cs +++ b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialDescriptor.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The id property + /// The credential ID of the credential being described. This value is Base64URL-encoded without padding. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Id @@ -53,7 +53,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The transports property + /// A hint about the types of transport that the authenticator supports. Possible values include: usb, nfc, ble, internal. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Transports @@ -69,7 +69,7 @@ public List Transports set { BackingStore?.Set("transports", value); } } #endif - /// The type property + /// The type of credential. Currently, the only supported value is public-key. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Type diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialParameters.cs b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialParameters.cs index a0fe414751d..b1feef182b5 100644 --- a/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialParameters.cs +++ b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialParameters.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The alg property + /// A COSE algorithm identifier representing the cryptographic algorithm to use for this credential type. For example, -7 represents ES256. public int? Alg { get { return BackingStore?.Get("alg"); } @@ -43,7 +43,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The type property + /// The type of credential to create. Currently, the only supported value is public-key. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Type diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialRpEntity.cs b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialRpEntity.cs index 1a96182490c..fdaf89052ca 100644 --- a/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialRpEntity.cs +++ b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialRpEntity.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The id property + /// The relying party identifier. For web applications, this value is typically the domain name. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Id @@ -37,7 +37,7 @@ public string Id set { BackingStore?.Set("id", value); } } #endif - /// The name property + /// The human-readable name for the relying party. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Name diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialUserEntity.cs b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialUserEntity.cs index dbb394b4d25..1e585b473a1 100644 --- a/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialUserEntity.cs +++ b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialUserEntity.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The displayName property + /// A human-readable name for the user account, intended for display. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -37,7 +37,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The id property + /// A user identifier, determined by the relying party. This value is opaque to the authenticator and is Base64URL-encoded without padding. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Id @@ -53,7 +53,7 @@ public string Id set { BackingStore?.Set("id", value); } } #endif - /// The name property + /// A human-readable identifier for the user account, such as a username or email address. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Name diff --git a/src/Microsoft.Graph/Generated/Organization/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Organization/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index 866f1e80b46..869cf22bc35 100644 --- a/src/Microsoft.Graph/Generated/Organization/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Organization/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Organization/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Organization/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index 4b374294b88..e699212682b 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Organization/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Organization/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index 00e13c56bee..1602826e2a7 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index a81934e8086..4862b933c04 100644 --- a/src/Microsoft.Graph/Generated/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index 40a74835eaa..67ca48500db 100644 --- a/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index f4c851db7b8..04fcd676159 100644 --- a/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Ref/RefRequestBuilder.cs index efd56436ff6..e4ff1921c24 100644 --- a/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/featureRolloutPolicies/{featureRolloutPolicy%2Did}/appliesTo/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/featureRolloutPolicies/{featureRolloutPolicy%2Did}/appliesTo/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/policies/featureRolloutPolicies/{featureRolloutPolicy%2Did}/appliesTo/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/featureRolloutPolicies/{featureRolloutPolicy%2Did}/appliesTo/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -138,7 +138,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/policies/featureRolloutPolicies/{featureRolloutPolicy%2Did}/appliesTo/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -159,7 +159,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/policies/featureRolloutPolicies/{featureRolloutPolicy%2Did}/appliesTo/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Create/CreatePostRequestBody.cs b/src/Microsoft.Graph/Generated/Print/Printers/Create/CreatePostRequestBody.cs index 1d443b3e272..37eee9816da 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Create/CreatePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Create/CreatePostRequestBody.cs @@ -131,6 +131,7 @@ public CreatePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + HasPhysicalDevice = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedGroups/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedGroups/Ref/RefRequestBuilder.cs index 45f0ab64928..81c4f99d704 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedGroups/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedGroups/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/print/shares/{printerShare%2Did}/allowedGroups/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/Ref/RefRequestBuilder.cs index 06bb857e03c..5100e282e91 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/shares/{printerShare%2Did}/allowedUsers/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/shares/{printerShare%2Did}/allowedUsers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/print/shares/{printerShare%2Did}/allowedUsers/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/print/shares/{printerShare%2Did}/allowedUsers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/print/shares/{printerShare%2Did}/allowedUsers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/print/shares/{printerShare%2Did}/allowedUsers/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); 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 6e60716087f..bf49b061692 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.Models.Security; using Microsoft.Graph.Security.Alerts_v2.Count; using Microsoft.Graph.Security.Alerts_v2.Item; +using Microsoft.Graph.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.Security.Alerts_v2.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the moveAlerts method. + public global::Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MicrosoftGraphSecurityMoveAlertsRequestBuilder MicrosoftGraphSecurityMoveAlerts + { + get => new global::Microsoft.Graph.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 00000000000..63680d22257 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Alerts_v2/MicrosoftGraphSecurityMoveAlerts/MicrosoftGraphSecurityMoveAlertsRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.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.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MoveAlertsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.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.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MoveAlertsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.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.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MicrosoftGraphSecurityMoveAlertsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..e6065e24e13 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Alerts_v2/MicrosoftGraphSecurityMoveAlerts/MoveAlertsPostRequestBody.cs @@ -0,0 +1,126 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.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.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.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MoveAlertsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.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/Cases/EdiscoveryCases/Item/Searches/Item/MicrosoftGraphSecurityExportResult/ExportResultPostRequestBody.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/MicrosoftGraphSecurityExportResult/ExportResultPostRequestBody.cs index ce88ef3d452..e2bbda79b30 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/MicrosoftGraphSecurityExportResult/ExportResultPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/MicrosoftGraphSecurityExportResult/ExportResultPostRequestBody.cs @@ -103,6 +103,7 @@ public ExportResultPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ExportSingleItems = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Security/Incidents/IncidentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Incidents/IncidentsRequestBuilder.cs index 4b9c4133ec1..c4ee4546a36 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.Models.Security; using Microsoft.Graph.Security.Incidents.Count; using Microsoft.Graph.Security.Incidents.Item; +using Microsoft.Graph.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.Security.Incidents.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the mergeIncidents method. + public global::Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MicrosoftGraphSecurityMergeIncidentsRequestBuilder MicrosoftGraphSecurityMergeIncidents + { + get => new global::Microsoft.Graph.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 00000000000..554f5539968 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Incidents/MicrosoftGraphSecurityMergeIncidents/MergeIncidentsPostRequestBody.cs @@ -0,0 +1,108 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.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.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.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MergeIncidentsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.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 00000000000..fe7173cfac0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Incidents/MicrosoftGraphSecurityMergeIncidents/MicrosoftGraphSecurityMergeIncidentsRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.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.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MergeIncidentsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.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.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MergeIncidentsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.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.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MicrosoftGraphSecurityMergeIncidentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index fb5af0d501b..ddcf9f5355b 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Ref/RefRequestBuilder.cs index 2450201fd0d..6800efbf7e9 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/claimsMappingPolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/claimsMappingPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/servicePrincipals/{servicePrincipal%2Did}/claimsMappingPolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/claimsMappingPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/claimsMappingPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/claimsMappingPolicies/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index b51b992a01b..7f1c8ff6e80 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index e069a2796ce..3f92afabb5b 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Ref/RefRequestBuilder.cs index fa0252bb968..b1aa09f80e4 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/homeRealmDiscoveryPolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/homeRealmDiscoveryPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/servicePrincipals/{servicePrincipal%2Did}/homeRealmDiscoveryPolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/homeRealmDiscoveryPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/homeRealmDiscoveryPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/homeRealmDiscoveryPolicies/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.cs index 153cfd6004a..3e2964d26c4 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/owners/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/servicePrincipals/{servicePrincipal%2Did}/owners/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -138,7 +138,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -159,7 +159,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/owners/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsPostRequestBody.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsPostRequestBody.cs index 5dcbf28c3f1..3800f0e96e5 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsPostRequestBody.cs @@ -83,6 +83,7 @@ public ValidateCredentialsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + UseSavedCredentials = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsPostRequestBody.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsPostRequestBody.cs index 2b379ab58b7..41213818342 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsPostRequestBody.cs @@ -83,6 +83,7 @@ public ValidateCredentialsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + UseSavedCredentials = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs index fa29a8d26bd..ae85cdc1544 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -136,7 +136,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -157,7 +157,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs index f89319d71bc..d699684d87c 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs index 90775c27d9c..a7d048a1fab 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs @@ -50,6 +50,7 @@ public AssociateWithHubSitesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + PropagateToExistingLists = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs index 8d29411d3d6..9dda87ddc04 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs @@ -34,6 +34,7 @@ public IsPublishedGetResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/CreateLink/CreateLinkPostRequestBody.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/CreateLink/CreateLinkPostRequestBody.cs index 9c5fdf4b60d..70f4bbba49f 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/CreateLink/CreateLinkPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/CreateLink/CreateLinkPostRequestBody.cs @@ -127,6 +127,8 @@ public CreateLinkPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + RetainInheritedPermissions = false; + SendNotification = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs index a3b65a353d4..b52ccb927f9 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs @@ -50,6 +50,7 @@ public AssociateWithHubSitesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + PropagateToExistingLists = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs index 1775d5640e2..20d059318f3 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs @@ -34,6 +34,7 @@ public IsPublishedGetResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs index 3381529ac10..31760580eac 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesPostRequestBody.cs @@ -50,6 +50,7 @@ public AssociateWithHubSitesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + PropagateToExistingLists = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs index 35310ca7333..73a91ca31f6 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedGetResponse.cs @@ -34,6 +34,7 @@ public IsPublishedGetResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs index 6344258cda0..7a8dccb024d 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.cs @@ -127,6 +127,8 @@ public CreateLinkPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + RetainInheritedPermissions = false; + SendNotification = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/CalendarViewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/CalendarViewRequestBuilder.cs index 575992e8360..ef609835db8 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/CalendarViewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/CalendarViewRequestBuilder.cs @@ -42,7 +42,7 @@ public partial class CalendarViewRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public CalendarViewRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView?end={end}&start={start}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + public CalendarViewRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) { } /// @@ -50,7 +50,7 @@ public CalendarViewRequestBuilder(Dictionary pathParameters, IRe /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public CalendarViewRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView?end={end}&start={start}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + public CalendarViewRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) { } /// @@ -116,7 +116,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView?end={end}&start={start}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -137,7 +137,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/Item/BookingAppointmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/Item/BookingAppointmentItemRequestBuilder.cs index 5d8578afae0..f808ba18ea8 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/Item/BookingAppointmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/Item/BookingAppointmentItemRequestBuilder.cs @@ -29,7 +29,7 @@ public partial class BookingAppointmentItemRequestBuilder : BaseRequestBuilder /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public BookingAppointmentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}?end={end}&start={start}{&%24expand,%24select}", pathParameters) + public BookingAppointmentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}{?%24expand,%24select}", pathParameters) { } /// @@ -37,7 +37,7 @@ public BookingAppointmentItemRequestBuilder(Dictionary pathParam /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public BookingAppointmentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}?end={end}&start={start}{&%24expand,%24select}", rawUrl) + public BookingAppointmentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}{?%24expand,%24select}", rawUrl) { } /// @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.DELETE, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}", PathParameters); + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -143,7 +143,7 @@ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}?end={end}&start={start}{&%24expand,%24select}", PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -164,7 +164,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Mode { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}", PathParameters); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Archive/ArchivePostRequestBody.cs index a2a69f5a88c..24ed4621379 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Archive/ArchivePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Archive/ArchivePostRequestBody.cs @@ -34,6 +34,7 @@ public ArchivePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ShouldSetSpoSiteReadOnlyForMembers = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs index 0174dc6081c..6cbd7d60993 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs @@ -34,6 +34,7 @@ public ArchivePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ShouldSetSpoSiteReadOnlyForMembers = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs index 4eae6ad63d0..3e0ed6d5c90 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs @@ -34,6 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs index da0bcd7f508..964bc1eed55 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs @@ -34,6 +34,7 @@ public ArchivePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ShouldSetSpoSiteReadOnlyForMembers = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs index e2aba2e893b..c8ab7fb9fba 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs @@ -34,6 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/Share/SharePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/Share/SharePostRequestBody.cs index e9f0588497a..5f75b1c86dc 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/Share/SharePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/Share/SharePostRequestBody.cs @@ -46,6 +46,7 @@ public SharePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + NotifyTeam = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs index de7fdf9a5ab..6f1455d0ccf 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs @@ -67,6 +67,7 @@ public ClockInPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs index c902cf8c591..d0ff81e8284 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs @@ -51,6 +51,7 @@ public ClockOutPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs index bc055c01421..f48eb6e178b 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs @@ -51,6 +51,7 @@ public EndBreakPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs index 32e7df089da..6aa26c0d71d 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs @@ -51,6 +51,7 @@ public StartBreakPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs index 9c60071f7f4..ae0758f7a3f 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs @@ -34,6 +34,7 @@ public ArchivePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ShouldSetSpoSiteReadOnlyForMembers = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs index 5bb6488f7ef..292aaf581af 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs @@ -34,6 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs index a46d17e4c6b..3d1ea9c18c5 100644 --- a/src/Microsoft.Graph/Generated/Users/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -34,6 +34,7 @@ public GetAvailableExtensionPropertiesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsSyncedFromOnPremises = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/CreationOptions/CreationOptionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/CreationOptions/CreationOptionsRequestBuilder.cs index 0d5e0ae419f..d28a6533ef3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/CreationOptions/CreationOptionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/CreationOptions/CreationOptionsRequestBuilder.cs @@ -35,7 +35,8 @@ public CreationOptionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// Invoke function creationOptions + /// Retrieve creation options required to generate and register a Microsoft Entra ID-compatible passkey. This function returns WebAuthn credential creation options that include a challenge, relying party information, and user information, which are used by the client to create a new FIDO2 credential. The challenge property and credential IDs in excludeCredentials are Base64URL-encoded without padding. All binary data in the response follows Base64URL encoding as defined in RFC 4648 Section 5. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -58,7 +59,7 @@ public CreationOptionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WebauthnCredentialCreationOptions.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function creationOptions + /// Retrieve creation options required to generate and register a Microsoft Entra ID-compatible passkey. This function returns WebAuthn credential creation options that include a challenge, relying party information, and user information, which are used by the client to create a new FIDO2 credential. The challenge property and credential IDs in excludeCredentials are Base64URL-encoded without padding. All binary data in the response follows Base64URL encoding as defined in RFC 4648 Section 5. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs index 726c5f41f06..45249398e99 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs @@ -50,6 +50,7 @@ public AcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs index eab2ee924e6..75a96d85488 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs @@ -67,6 +67,7 @@ public DeclinePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index e573e4aa5bf..a0d3a2e5b3c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -67,6 +67,7 @@ public TentativelyAcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs index 6df39c3d689..245cf63baa4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs @@ -50,6 +50,7 @@ public AcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs index 1818fb22643..9b59aaf7af3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs @@ -67,6 +67,7 @@ public DeclinePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index c8134bf509e..f77f42a1262 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -67,6 +67,7 @@ public TentativelyAcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs index 7962af1b51d..44b669a92c2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs @@ -50,6 +50,7 @@ public AcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs index 8712dc89bc1..dca6db823dd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs @@ -67,6 +67,7 @@ public DeclinePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index b2b458878aa..d2814825374 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -67,6 +67,7 @@ public TentativelyAcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value 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 a9d7c752355..07af277a3a4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.cs @@ -16,6 +16,7 @@ using Microsoft.Graph.Users.Item.Chats.Item.SendActivityNotification; using Microsoft.Graph.Users.Item.Chats.Item.StartMigration; using Microsoft.Graph.Users.Item.Chats.Item.Tabs; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages; using Microsoft.Graph.Users.Item.Chats.Item.UnhideForUser; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -103,6 +104,11 @@ public partial class ChatItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.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.Users.Item.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder TargetedMessages + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the unhideForUser method. public global::Microsoft.Graph.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 00000000000..d23c668375c --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..d3f15621535 --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..dc9adf5ba0e --- /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.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count; +using Microsoft.Graph.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.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.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.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.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.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to hostedContents for 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to hostedContents for 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..458033eb139 --- /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.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.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.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.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property hostedContents in 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property hostedContents for 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..b753a9aefa9 --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetStreamContent(body, "application/octet-stream"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..333b1a81394 --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..4a30a1ba2af --- /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.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.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.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.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.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.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 00000000000..6ac588213c0 --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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 get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.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 get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.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 get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/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 00000000000..3d2983a2119 --- /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.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.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.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.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/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs new file mode 100644 index 00000000000..6ef9af57ddd --- /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.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete; +using Microsoft.Graph.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.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.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder HostedContents + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the setReaction method. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder SetReaction + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the softDelete method. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder SoftDelete + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the undoSoftDelete method. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder UndoSoftDelete + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unsetReaction method. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder UnsetReaction + { + get => new global::Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property replies in 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.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property replies for 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.Models.ChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..09c5e813b7c --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..62edad47bae --- /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.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count; +using Microsoft.Graph.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.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.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.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.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.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to hostedContents for 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to hostedContents for 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..d978e141251 --- /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.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.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.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.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder Content + { + get => new global::Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Content in a message hosted by Microsoft Teams - for example, images or code snippets. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property hostedContents in 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property hostedContents for 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.Models.ChatMessageHostedContent body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ChatMessageHostedContent body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..ca265bff233 --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Stream body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(Stream body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json"); + return requestInfo; + } + /// + /// The unique identifier for an entity. Read-only. + /// + /// A + /// Binary request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPutRequestInformation(Stream body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Stream body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetStreamContent(body, "application/octet-stream"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..f04d8aa013b --- /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.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.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.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 00000000000..1ebb9177db2 --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.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.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.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.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.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.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..d879c8fa222 --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.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.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..7a7f7a4bad8 --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.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.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..9ff4c84a353 --- /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.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.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.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 00000000000..015c10d1ca2 --- /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.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.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.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.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.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.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.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..59803be5b08 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/RepliesRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item; +using Microsoft.Graph.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.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.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the delta method. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder Delta + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.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.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.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to replies for 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.Models.ChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Replies for a specified message. Supports $expand for channel messages. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to replies for 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.Models.ChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..ad5a5672601 --- /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.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.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.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.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.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.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 00000000000..d9dd816f4a2 --- /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.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.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.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.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.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..456e72698d3 --- /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.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents; +using Microsoft.Graph.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.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.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder HostedContents + { + get => new global::Microsoft.Graph.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.Users.Item.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder Replies + { + get => new global::Microsoft.Graph.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.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property targetedMessages in 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.Models.TargetedChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property targetedMessages for 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.Models.TargetedChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..3ada77d2bb3 --- /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.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count; +using Microsoft.Graph.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.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.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.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.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.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to targetedMessages for 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.Models.TargetedChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// 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.Models.TargetedChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TargetedChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Accept/AcceptPostRequestBody.cs index 7419648331f..2db6163ab33 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Accept/AcceptPostRequestBody.cs @@ -50,6 +50,7 @@ public AcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Decline/DeclinePostRequestBody.cs index 35e65bf6a56..c6170d9fbe9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Decline/DeclinePostRequestBody.cs @@ -67,6 +67,7 @@ public DeclinePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 855c600bfd1..ad756a782fc 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -67,6 +67,7 @@ public TentativelyAcceptPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SendResponse = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/FindMeetingTimes/FindMeetingTimesPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/FindMeetingTimes/FindMeetingTimesPostRequestBody.cs index 040944042d0..d19f63525d5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/FindMeetingTimes/FindMeetingTimesPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/FindMeetingTimes/FindMeetingTimesPostRequestBody.cs @@ -107,6 +107,8 @@ public FindMeetingTimesPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsOrganizerOptional = false; + ReturnSuggestionReasons = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs index c9c3c39589c..aaefe679541 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberGroupsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs index 0bbb5a1ddc8..be7ea6f68af 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -34,6 +34,7 @@ public GetMemberObjectsPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SecurityEnabledOnly = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Archive/ArchivePostRequestBody.cs index 7bb6617ef44..74aba08cc93 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Archive/ArchivePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Archive/ArchivePostRequestBody.cs @@ -34,6 +34,7 @@ public ArchivePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ShouldSetSpoSiteReadOnlyForMembers = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs index 6c46bd46821..948b28521ae 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Archive/ArchivePostRequestBody.cs @@ -34,6 +34,7 @@ public ArchivePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ShouldSetSpoSiteReadOnlyForMembers = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs index 4f93a548ffe..f4bce366bc2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs @@ -34,6 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs index 445626f0bbb..3ca0cfec24e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Archive/ArchivePostRequestBody.cs @@ -34,6 +34,7 @@ public ArchivePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + ShouldSetSpoSiteReadOnlyForMembers = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs index 9bda0d9361f..3214cdfedda 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs @@ -34,6 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/Share/SharePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/Share/SharePostRequestBody.cs index 8dbacf45df8..857e0c27f6b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/Share/SharePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/Share/SharePostRequestBody.cs @@ -46,6 +46,7 @@ public SharePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + NotifyTeam = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs index 43fa6980cb4..e8e3e0602cb 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs @@ -67,6 +67,7 @@ public ClockInPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs index 828259dc9a2..9b61a82a8d7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs @@ -51,6 +51,7 @@ public ClockOutPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs index 946d54ade43..53199d419fe 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs @@ -51,6 +51,7 @@ public EndBreakPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs index 5bdfb38f5b4..d0170fd558e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs @@ -51,6 +51,7 @@ public StartBreakPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + IsAtApprovedLocation = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs index b622a0b6bff..bca61e92a23 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDevicePostRequestBody.cs @@ -34,6 +34,7 @@ public CleanWindowsDevicePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + KeepUserData = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs index 5980a77ad94..c7dc648a31b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanPostRequestBody.cs @@ -34,6 +34,7 @@ public WindowsDefenderScanPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + QuickScan = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/Wipe/WipePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/Wipe/WipePostRequestBody.cs index 4626ede8ef8..b1fa9fd1f8e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/Wipe/WipePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/Wipe/WipePostRequestBody.cs @@ -62,6 +62,9 @@ public WipePostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + KeepEnrollmentData = false; + KeepUserData = false; + PersistEsimDataPlan = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/RevokeSignInSessions/RevokeSignInSessionsPostResponse.cs b/src/Microsoft.Graph/Generated/Users/Item/RevokeSignInSessions/RevokeSignInSessionsPostResponse.cs index 754cd1f8ddb..37e114f68d7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/RevokeSignInSessions/RevokeSignInSessionsPostResponse.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/RevokeSignInSessions/RevokeSignInSessionsPostResponse.cs @@ -34,6 +34,7 @@ public RevokeSignInSessionsPostResponse() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + Value = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/SendMail/SendMailPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/SendMail/SendMailPostRequestBody.cs index 58552255300..3c098cc125c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/SendMail/SendMailPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/SendMail/SendMailPostRequestBody.cs @@ -51,6 +51,7 @@ public SendMailPostRequestBody() { BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); AdditionalData = new Dictionary(); + SaveToSentItems = false; } /// /// Creates a new instance of the appropriate class based on discriminator value diff --git a/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Ref/RefRequestBuilder.cs index 6c697456c27..675cce4d504 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Ref/RefRequestBuilder.cs @@ -23,7 +23,7 @@ public partial class RefRequestBuilder : BaseRequestBuilder /// /// 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) + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) { } /// @@ -31,7 +31,7 @@ public RefRequestBuilder(Dictionary pathParameters, IRequestAdap /// /// 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) + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) { } /// @@ -139,7 +139,7 @@ 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); + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); return requestInfo; @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model { #endif if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/users/{user%2Did}/sponsors/$ref", PathParameters); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); 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 00000000000..1e8bd815921 --- /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.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.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.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 00000000000..30f12a90c22 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/DeleteTargetedMessage/DeleteTargetedMessageRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.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.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.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.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.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..03d6e81f16a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllRetainedTargetedMessagesGetResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.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.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 00000000000..ca544952287 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllRetainedTargetedMessages/GetAllRetainedTargetedMessagesRequestBuilder.cs @@ -0,0 +1,187 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.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.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..66c5508dbb8 --- /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.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.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.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.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 00000000000..9026f96ceb8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAllTargetedMessagesGetResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.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.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 00000000000..715f43e24cd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/GetAllTargetedMessages/GetAllTargetedMessagesRequestBuilder.cs @@ -0,0 +1,187 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.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.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.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 00000000000..3b5bf4171cd --- /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.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.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.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.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 0a88becf0b5..e4d0bd5f090 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.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Graph.Users.Item.Teamwork.AssociatedTeams; +using Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage; +using Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages; +using Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages; using Microsoft.Graph.Users.Item.Teamwork.InstalledApps; using Microsoft.Graph.Users.Item.Teamwork.SendActivityNotification; using Microsoft.Kiota.Abstractions.Extensions; @@ -26,6 +29,21 @@ public partial class TeamworkRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.Teamwork.AssociatedTeams.AssociatedTeamsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the deleteTargetedMessage method. + public global::Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder DeleteTargetedMessage + { + get => new global::Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the getAllRetainedTargetedMessages method. + public global::Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder GetAllRetainedTargetedMessages + { + get => new global::Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the getAllTargetedMessages method. + public global::Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder GetAllTargetedMessages + { + get => new global::Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the installedApps property of the microsoft.graph.userTeamwork entity. public global::Microsoft.Graph.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 21d147337e1..12b3875c76e 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -4426,6 +4426,7 @@ Microsoft.Graph.Chats.Item.ChatItemRequestBuilder::|public|removeAllAccessForUse Microsoft.Graph.Chats.Item.ChatItemRequestBuilder::|public|sendActivityNotification:global.Microsoft.Graph.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder Microsoft.Graph.Chats.Item.ChatItemRequestBuilder::|public|startMigration:global.Microsoft.Graph.Chats.Item.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Chats.Item.ChatItemRequestBuilder::|public|tabs:global.Microsoft.Graph.Chats.Item.Tabs.TabsRequestBuilder +Microsoft.Graph.Chats.Item.ChatItemRequestBuilder::|public|targetedMessages:global.Microsoft.Graph.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder Microsoft.Graph.Chats.Item.ChatItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Chats.Item.ChatItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Chats.Item.ChatItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Chat; requestConfiguration?:Action>):RequestInformation @@ -5260,6 +5261,302 @@ Microsoft.Graph.Chats.Item.Tabs.tabsRequestBuilder::|public|PostAsync(body:globa Microsoft.Graph.Chats.Item.Tabs.tabsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Chats.Item.Tabs.tabsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TeamsTab; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Chats.Item.Tabs.tabsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.Tabs.TabsRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::[ChatMessageHostedContentId:string]:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|Count:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaResponse-->global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|hostedContents:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|softDelete:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|undoSoftDelete:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::[ChatMessageHostedContentId:string]:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|Count:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder.softDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder.undoSoftDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::[ChatMessageId:string]:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|Count:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|delta:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessage +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|hostedContents:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessage +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|replies:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::[TargetedChatMessageId:string]:global.Microsoft.Graph.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|Count:global.Microsoft.Graph.Chats.Item.TargetedMessages.Count.CountRequestBuilder +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessageCollectionResponse +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessage +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder Microsoft.Graph.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|constructor():void @@ -71541,6 +71838,8 @@ Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRe Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|resourceRoleScopes:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.ResourceRoleScopes.ResourceRoleScopesRequestBuilder Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|resources:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.Resources.ResourcesRequestBuilder Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|settings:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.Settings.SettingsRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|subjects:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.SubjectsRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|subjectsWithObjectId(objectId:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.SubjectsWithObjectIdRequestBuilder Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.EntitlementManagement; requestConfiguration?:Action>):RequestInformation @@ -74209,6 +74508,75 @@ Microsoft.Graph.IdentityGovernance.EntitlementManagement.Settings.settingsReques Microsoft.Graph.IdentityGovernance.EntitlementManagement.Settings.settingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.IdentityGovernance.EntitlementManagement.Settings.settingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.EntitlementManagementSettings; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.IdentityGovernance.EntitlementManagement.Settings.settingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.Settings.SettingsRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder.AccessPackageSubjectItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder.AccessPackageSubjectItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder.AccessPackageSubjectItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder.AccessPackageSubjectItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder.AccessPackageSubjectItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder::|public|connectedOrganization:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.ConnectedOrganizationRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AccessPackageSubject +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.AccessPackageSubject; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AccessPackageSubject +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.AccessPackageSubject; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.connectedOrganizationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.connectedOrganizationRequestBuilder.connectedOrganizationRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.connectedOrganizationRequestBuilder.connectedOrganizationRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.connectedOrganizationRequestBuilder.connectedOrganizationRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.connectedOrganizationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.connectedOrganizationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.connectedOrganizationRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConnectedOrganization +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.connectedOrganizationRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.connectedOrganizationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.ConnectedOrganization.ConnectedOrganizationRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder.subjectsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder::[AccessPackageSubjectId:string]:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Item.AccessPackageSubjectItemRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder::|public|Count:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AccessPackageSubjectCollectionResponse +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.AccessPackageSubject; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AccessPackageSubject +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.AccessPackageSubject; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.subjectsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.SubjectsRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder.subjectsWithObjectIdRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder.subjectsWithObjectIdRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder.subjectsWithObjectIdRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder.subjectsWithObjectIdRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder.subjectsWithObjectIdRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; objectId?:string):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AccessPackageSubject +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.AccessPackageSubject; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AccessPackageSubject +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.AccessPackageSubject; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.subjectsWithObjectIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.SubjectsWithObjectId.SubjectsWithObjectIdRequestBuilder Microsoft.Graph.IdentityGovernance.identityGovernanceRequestBuilder-->BaseRequestBuilder Microsoft.Graph.IdentityGovernance.identityGovernanceRequestBuilder.identityGovernanceRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.IdentityGovernance.identityGovernanceRequestBuilder.identityGovernanceRequestBuilderGetQueryParameters::|public|Select:string[] @@ -82718,6 +83086,7 @@ Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|removeAllAccessFor Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|sendActivityNotification:global.Microsoft.Graph.Me.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|startMigration:global.Microsoft.Graph.Me.Chats.Item.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|tabs:global.Microsoft.Graph.Me.Chats.Item.Tabs.TabsRequestBuilder +Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|targetedMessages:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Chats.Item.ChatItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Chat; requestConfiguration?:Action>):RequestInformation @@ -83552,6 +83921,302 @@ Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder::|public|PostAsync(body:gl Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TeamsTab; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Chats.Item.Tabs.tabsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Tabs.TabsRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::[ChatMessageHostedContentId:string]:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaResponse-->global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|hostedContents:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|softDelete:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|undoSoftDelete:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::[ChatMessageHostedContentId:string]:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder.softDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder.undoSoftDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::[ChatMessageId:string]:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|delta:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessage +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|hostedContents:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessage +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|replies:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::[TargetedChatMessageId:string]:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.Count.CountRequestBuilder +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessageCollectionResponse +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessage +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder Microsoft.Graph.Me.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Me.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Me.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|constructor():void @@ -95273,6 +95938,69 @@ Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder::|publi Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Team Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Teamwork.AssociatedTeams.Item.Team.TeamRequestBuilder +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|ChannelId:string +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|constructor():void +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|MessageId:string +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|TeamId:string +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder.deleteTargetedMessageRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|public|Value:List +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|GetAsGetAllRetainedTargetedMessagesGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesResponse-->global.Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse +Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|public|Value:List +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|GetAsGetAllTargetedMessagesGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesResponse-->global.Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse +Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse Microsoft.Graph.Me.Teamwork.InstalledApps.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.Teamwork.InstalledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Me.Teamwork.InstalledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -95378,6 +96106,9 @@ Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|associatedTeams:glob Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|deleteTargetedMessage:global.Microsoft.Graph.Me.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder +Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|getAllRetainedTargetedMessages:global.Microsoft.Graph.Me.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder +Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|getAllTargetedMessages:global.Microsoft.Graph.Me.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserTeamwork Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|installedApps:global.Microsoft.Graph.Me.Teamwork.InstalledApps.InstalledAppsRequestBuilder Microsoft.Graph.Me.Teamwork.teamworkRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.UserTeamwork; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserTeamwork @@ -96564,8 +97295,18 @@ Microsoft.Graph.Models.accessPackageSubject::|public|OdataType:string Microsoft.Graph.Models.accessPackageSubject::|public|OnPremisesSecurityIdentifier:string Microsoft.Graph.Models.accessPackageSubject::|public|PrincipalName:string Microsoft.Graph.Models.accessPackageSubject::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.accessPackageSubject::|public|SubjectLifecycle:global.Microsoft.Graph.Models.AccessPackageSubjectLifecycle? Microsoft.Graph.Models.accessPackageSubject::|public|SubjectType:global.Microsoft.Graph.Models.AccessPackageSubjectType? Microsoft.Graph.Models.accessPackageSubject::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AccessPackageSubject +Microsoft.Graph.Models.accessPackageSubjectCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.accessPackageSubjectCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.accessPackageSubjectCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.accessPackageSubjectCollectionResponse::|public|Value:List +Microsoft.Graph.Models.accessPackageSubjectCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AccessPackageSubjectCollectionResponse +Microsoft.Graph.Models.accessPackageSubjectLifecycle::0000-notDefined +Microsoft.Graph.Models.accessPackageSubjectLifecycle::0001-notGoverned +Microsoft.Graph.Models.accessPackageSubjectLifecycle::0002-governed +Microsoft.Graph.Models.accessPackageSubjectLifecycle::0003-unknownFutureValue Microsoft.Graph.Models.accessPackageSubjectType::0000-notSpecified Microsoft.Graph.Models.accessPackageSubjectType::0001-user Microsoft.Graph.Models.accessPackageSubjectType::0002-servicePrincipal @@ -98073,6 +98814,13 @@ Microsoft.Graph.Models.applicationContext::|public|IncludeApplications:Listglobal.Microsoft.Graph.Models.ConditionalAccessSessionControl Microsoft.Graph.Models.applicationEnforcedRestrictionsSessionControl::|public|constructor():void Microsoft.Graph.Models.applicationEnforcedRestrictionsSessionControl::|public|GetFieldDeserializers():IDictionary> @@ -98089,6 +98837,172 @@ Microsoft.Graph.Models.applicationGuardBlockFileTransferType::0001-blockImageAnd Microsoft.Graph.Models.applicationGuardBlockFileTransferType::0002-blockImageFile Microsoft.Graph.Models.applicationGuardBlockFileTransferType::0003-blockNone Microsoft.Graph.Models.applicationGuardBlockFileTransferType::0004-blockTextFile +Microsoft.Graph.Models.applicationLocation::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.applicationLocation::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.applicationLocation::|public|constructor():void +Microsoft.Graph.Models.applicationLocation::|public|DataCenter:string +Microsoft.Graph.Models.applicationLocation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.applicationLocation::|public|Headquarters:string +Microsoft.Graph.Models.applicationLocation::|public|OdataType:string +Microsoft.Graph.Models.applicationLocation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.applicationLocation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ApplicationLocation +Microsoft.Graph.Models.applicationLocation~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|constructor():void +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|HasBadCommonName:bool? +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|HasInsecureSignature:bool? +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|HasNoChainOfTrust:bool? +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|IsDenylisted:bool? +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|IsHostnameMismatch:bool? +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|IsNotAfter:bool? +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|IsNotBefore:bool? +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|IsRevoked:bool? +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|IsSelfSigned:bool? +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|OdataType:string +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ApplicationRiskFactorCertificateInfo +Microsoft.Graph.Models.applicationRiskFactorCertificateInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|constructor():void +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|ConsumerPopularity:int? +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|DomainRegistrationDate:Date? +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|Founded:int? +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|HasDisasterRecoveryPlan:bool? +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|Hold:global.Microsoft.Graph.Models.HoldType? +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|HostingCompanyName:string +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|Location:global.Microsoft.Graph.Models.ApplicationLocation +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|OdataType:string +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|PrivacyPolicy:string +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|ProcessedDataTypes:global.Microsoft.Graph.Models.ApplicationDataType? +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|public|TermsOfService:string +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ApplicationRiskFactorGeneralInfo +Microsoft.Graph.Models.applicationRiskFactorGeneralInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.applicationRiskFactorLegalInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.applicationRiskFactorLegalInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.applicationRiskFactorLegalInfo::|public|constructor():void +Microsoft.Graph.Models.applicationRiskFactorLegalInfo::|public|DataRetention:global.Microsoft.Graph.Models.DataRetentionLevel? +Microsoft.Graph.Models.applicationRiskFactorLegalInfo::|public|Gdpr:global.Microsoft.Graph.Models.ApplicationRiskFactorLegalInfoGdpr +Microsoft.Graph.Models.applicationRiskFactorLegalInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.applicationRiskFactorLegalInfo::|public|HasDataOwnership:bool? +Microsoft.Graph.Models.applicationRiskFactorLegalInfo::|public|HasDmca:bool? +Microsoft.Graph.Models.applicationRiskFactorLegalInfo::|public|OdataType:string +Microsoft.Graph.Models.applicationRiskFactorLegalInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.applicationRiskFactorLegalInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ApplicationRiskFactorLegalInfo +Microsoft.Graph.Models.applicationRiskFactorLegalInfoGdpr::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.applicationRiskFactorLegalInfoGdpr::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.applicationRiskFactorLegalInfoGdpr::|public|constructor():void +Microsoft.Graph.Models.applicationRiskFactorLegalInfoGdpr::|public|DataProtection:global.Microsoft.Graph.Models.DataProtection? +Microsoft.Graph.Models.applicationRiskFactorLegalInfoGdpr::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.applicationRiskFactorLegalInfoGdpr::|public|HasRightToErasure:bool? +Microsoft.Graph.Models.applicationRiskFactorLegalInfoGdpr::|public|IsReportingDataBreaches:bool? +Microsoft.Graph.Models.applicationRiskFactorLegalInfoGdpr::|public|OdataType:string +Microsoft.Graph.Models.applicationRiskFactorLegalInfoGdpr::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.applicationRiskFactorLegalInfoGdpr::|public|StatementUrl:string +Microsoft.Graph.Models.applicationRiskFactorLegalInfoGdpr::|public|UserOwnership:global.Microsoft.Graph.Models.UserOwnership? +Microsoft.Graph.Models.applicationRiskFactorLegalInfoGdpr::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ApplicationRiskFactorLegalInfoGdpr +Microsoft.Graph.Models.applicationRiskFactorLegalInfoGdpr~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.applicationRiskFactorLegalInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.applicationRiskFactors::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.applicationRiskFactors::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.applicationRiskFactors::|public|Compliance:global.Microsoft.Graph.Models.ApplicationSecurityCompliance +Microsoft.Graph.Models.applicationRiskFactors::|public|constructor():void +Microsoft.Graph.Models.applicationRiskFactors::|public|General:global.Microsoft.Graph.Models.ApplicationRiskFactorGeneralInfo +Microsoft.Graph.Models.applicationRiskFactors::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.applicationRiskFactors::|public|Legal:global.Microsoft.Graph.Models.ApplicationRiskFactorLegalInfo +Microsoft.Graph.Models.applicationRiskFactors::|public|OdataType:string +Microsoft.Graph.Models.applicationRiskFactors::|public|Security:global.Microsoft.Graph.Models.ApplicationRiskFactorSecurityInfo +Microsoft.Graph.Models.applicationRiskFactors::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.applicationRiskFactors::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ApplicationRiskFactors +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|Certificate:global.Microsoft.Graph.Models.ApplicationRiskFactorCertificateInfo +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|constructor():void +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|DomainToCheck:string +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasAdminAuditTrail:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasAnonymousUsage:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasDataAuditTrail:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasDataClassification:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasDataEncrypted:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasEnforceTransportEnc:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasIpRestriction:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasMFA:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasPenTest:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasRememberPassword:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasSamlSupport:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasUserAuditLogs:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasUserDataUpload:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasUserRolesSupport:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HasValidCertName:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|HttpsSecurityHeaders:List +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|IsCertTrusted:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|IsDrownVulnerable:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|IsHeartbleedProof:bool? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|LastBreachDate:Date? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|LatestValidSSL:global.Microsoft.Graph.Models.SslVersion? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|OdataType:string +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|PasswordPolicy:global.Microsoft.Graph.Models.PasswordPolicy? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|RestEncryptionType:global.Microsoft.Graph.Models.RestEncryptionType? +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ApplicationRiskFactorSecurityInfo +Microsoft.Graph.Models.applicationRiskFactorSecurityInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.applicationRiskFactors~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.applicationRiskScore::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.applicationRiskScore::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.applicationRiskScore::|public|Compliance:float? +Microsoft.Graph.Models.applicationRiskScore::|public|constructor():void +Microsoft.Graph.Models.applicationRiskScore::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.applicationRiskScore::|public|Legal:float? +Microsoft.Graph.Models.applicationRiskScore::|public|OdataType:string +Microsoft.Graph.Models.applicationRiskScore::|public|Provider:float? +Microsoft.Graph.Models.applicationRiskScore::|public|Security:float? +Microsoft.Graph.Models.applicationRiskScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.applicationRiskScore::|public|Total:float? +Microsoft.Graph.Models.applicationRiskScore::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ApplicationRiskScore +Microsoft.Graph.Models.applicationRiskScore~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.applicationSecurityCompliance::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.applicationSecurityCompliance::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Cobit:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|constructor():void +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Coppa:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|CsaStar:global.Microsoft.Graph.Models.CsaStarLevel? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|FedRamp:global.Microsoft.Graph.Models.FedRampLevel? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Ferpa:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Ffiec:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Finra:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Fisma:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Gaap:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Gapp:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Glba:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Hipaa:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Hitrust:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Isae3402:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Iso27001:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Iso27002:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Iso27017:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Iso27018:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Itar:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|JerichoForumCommandments:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|OdataType:string +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Pci:global.Microsoft.Graph.Models.PciVersion? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|PrivacyShield:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|SafeHarbor:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Soc1:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Soc2:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Soc3:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Sox:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Sp80053:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Ssae16:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|public|Ustr:bool? +Microsoft.Graph.Models.applicationSecurityCompliance::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ApplicationSecurityCompliance +Microsoft.Graph.Models.applicationSecurityCompliance~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.applicationServicePrincipal::|public|AdditionalData:IDictionary Microsoft.Graph.Models.applicationServicePrincipal::|public|Application:global.Microsoft.Graph.Models.Application Microsoft.Graph.Models.applicationServicePrincipal::|public|BackingStore:IBackingStore @@ -98101,13 +99015,19 @@ Microsoft.Graph.Models.applicationServicePrincipal::|static|public|CreateFromDis Microsoft.Graph.Models.applicationServicePrincipal~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.applicationTemplate-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.applicationTemplate::|public|Categories:List +Microsoft.Graph.Models.applicationTemplate::|public|DeprecationDate:Date? Microsoft.Graph.Models.applicationTemplate::|public|Description:string Microsoft.Graph.Models.applicationTemplate::|public|DisplayName:string +Microsoft.Graph.Models.applicationTemplate::|public|Endpoints:List Microsoft.Graph.Models.applicationTemplate::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.applicationTemplate::|public|HomePageUrl:string +Microsoft.Graph.Models.applicationTemplate::|public|IsEntraIntegrated:bool? +Microsoft.Graph.Models.applicationTemplate::|public|LastModifiedDateTime:DateTimeOffset? Microsoft.Graph.Models.applicationTemplate::|public|LogoUrl:string Microsoft.Graph.Models.applicationTemplate::|public|OdataType:string Microsoft.Graph.Models.applicationTemplate::|public|Publisher:string +Microsoft.Graph.Models.applicationTemplate::|public|RiskFactors:global.Microsoft.Graph.Models.ApplicationRiskFactors +Microsoft.Graph.Models.applicationTemplate::|public|RiskScore:global.Microsoft.Graph.Models.ApplicationRiskScore Microsoft.Graph.Models.applicationTemplate::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.applicationTemplate::|public|SupportedProvisioningTypes:List Microsoft.Graph.Models.applicationTemplate::|public|SupportedSingleSignOnModes:List @@ -101488,6 +102408,7 @@ Microsoft.Graph.Models.chat::|public|PermissionGrants:List Microsoft.Graph.Models.chat::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.chat::|public|Tabs:List +Microsoft.Graph.Models.chat::|public|TargetedMessages:List Microsoft.Graph.Models.chat::|public|TenantId:string Microsoft.Graph.Models.chat::|public|Topic:string Microsoft.Graph.Models.chat::|public|Viewpoint:global.Microsoft.Graph.Models.ChatViewpoint @@ -103714,6 +104635,14 @@ Microsoft.Graph.Models.crossTenantUserSyncInbound::|public|OdataType:string Microsoft.Graph.Models.crossTenantUserSyncInbound::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.crossTenantUserSyncInbound::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CrossTenantUserSyncInbound Microsoft.Graph.Models.crossTenantUserSyncInbound~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.csaStarLevel::0000-none +Microsoft.Graph.Models.csaStarLevel::0001-attestation +Microsoft.Graph.Models.csaStarLevel::0002-certification +Microsoft.Graph.Models.csaStarLevel::0003-continuousMonitoring +Microsoft.Graph.Models.csaStarLevel::0004-cStarAssessment +Microsoft.Graph.Models.csaStarLevel::0005-selfAssessment +Microsoft.Graph.Models.csaStarLevel::0006-notSupported +Microsoft.Graph.Models.csaStarLevel::0007-unknownFutureValue Microsoft.Graph.Models.currencyColumn::|public|AdditionalData:IDictionary Microsoft.Graph.Models.currencyColumn::|public|BackingStore:IBackingStore Microsoft.Graph.Models.currencyColumn::|public|constructor():void @@ -103947,6 +104876,19 @@ Microsoft.Graph.Models.dataPolicyOperationStatus::0001-running Microsoft.Graph.Models.dataPolicyOperationStatus::0002-complete Microsoft.Graph.Models.dataPolicyOperationStatus::0003-failed Microsoft.Graph.Models.dataPolicyOperationStatus::0004-unknownFutureValue +Microsoft.Graph.Models.dataProtection::0000-none +Microsoft.Graph.Models.dataProtection::0001-impactAssessments +Microsoft.Graph.Models.dataProtection::0002-officers +Microsoft.Graph.Models.dataProtection::0003-secureCrossBorderDataTransfer +Microsoft.Graph.Models.dataProtection::0004-unknownFutureValue +Microsoft.Graph.Models.dataRetentionLevel::0000-none +Microsoft.Graph.Models.dataRetentionLevel::0001-dataRetained +Microsoft.Graph.Models.dataRetentionLevel::0002-deletedImmediately +Microsoft.Graph.Models.dataRetentionLevel::0003-deletedWithin1Month +Microsoft.Graph.Models.dataRetentionLevel::0004-deletedWithin2Weeks +Microsoft.Graph.Models.dataRetentionLevel::0005-deletedWithin3Months +Microsoft.Graph.Models.dataRetentionLevel::0006-deletedWithinMoreThan3Months +Microsoft.Graph.Models.dataRetentionLevel::0007-unknownFutureValue Microsoft.Graph.Models.dataSecurityAndGovernance-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.dataSecurityAndGovernance::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.dataSecurityAndGovernance::|public|OdataType:string @@ -107257,6 +108199,7 @@ Microsoft.Graph.Models.entitlementManagement::|public|ResourceRoleScopes:List Microsoft.Graph.Models.entitlementManagement::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.entitlementManagement::|public|Settings:global.Microsoft.Graph.Models.EntitlementManagementSettings +Microsoft.Graph.Models.entitlementManagement::|public|Subjects:List Microsoft.Graph.Models.entitlementManagement::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.EntitlementManagement Microsoft.Graph.Models.entitlementManagementSchedule::|public|AdditionalData:IDictionary Microsoft.Graph.Models.entitlementManagementSchedule::|public|BackingStore:IBackingStore @@ -108111,6 +109054,13 @@ Microsoft.Graph.Models.federatedIdpMfaBehavior::0000-acceptIfMfaDoneByFederatedI Microsoft.Graph.Models.federatedIdpMfaBehavior::0001-enforceMfaByFederatedIdp Microsoft.Graph.Models.federatedIdpMfaBehavior::0002-rejectMfaByFederatedIdp Microsoft.Graph.Models.federatedIdpMfaBehavior::0003-unknownFutureValue +Microsoft.Graph.Models.fedRampLevel::0000-none +Microsoft.Graph.Models.fedRampLevel::0001-high +Microsoft.Graph.Models.fedRampLevel::0002-liSaas +Microsoft.Graph.Models.fedRampLevel::0003-low +Microsoft.Graph.Models.fedRampLevel::0004-moderate +Microsoft.Graph.Models.fedRampLevel::0005-notSupported +Microsoft.Graph.Models.fedRampLevel::0006-unknownFutureValue Microsoft.Graph.Models.fido2AuthenticationMethod-->global.Microsoft.Graph.Models.AuthenticationMethod Microsoft.Graph.Models.fido2AuthenticationMethod::|public|AaGuid:string Microsoft.Graph.Models.fido2AuthenticationMethod::|public|AttestationCertificates:List @@ -108877,6 +109827,10 @@ Microsoft.Graph.Models.hashes::|public|Sha1Hash:string Microsoft.Graph.Models.hashes::|public|Sha256Hash:string Microsoft.Graph.Models.hashes::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Hashes Microsoft.Graph.Models.hashes~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.holdType::0000-none +Microsoft.Graph.Models.holdType::0001-private +Microsoft.Graph.Models.holdType::0002-public +Microsoft.Graph.Models.holdType::0003-unknownFutureValue Microsoft.Graph.Models.homeRealmDiscoveryPolicy-->global.Microsoft.Graph.Models.StsPolicy Microsoft.Graph.Models.homeRealmDiscoveryPolicy::|public|constructor():void Microsoft.Graph.Models.homeRealmDiscoveryPolicy::|public|GetFieldDeserializers():IDictionary> @@ -115141,6 +116095,13 @@ Microsoft.Graph.Models.passwordCredentialConfiguration::|public|State:global.Mic Microsoft.Graph.Models.passwordCredentialConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PasswordCredentialConfiguration Microsoft.Graph.Models.passwordCredentialConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.passwordCredential~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.passwordPolicy::0000-none +Microsoft.Graph.Models.passwordPolicy::0001-changePasswordPeriod +Microsoft.Graph.Models.passwordPolicy::0002-charactersCombination +Microsoft.Graph.Models.passwordPolicy::0003-passwordHistoryAndReuse +Microsoft.Graph.Models.passwordPolicy::0004-passwordLengthLimit +Microsoft.Graph.Models.passwordPolicy::0005-personalInformationUse +Microsoft.Graph.Models.passwordPolicy::0006-unknownFutureValue Microsoft.Graph.Models.passwordProfile::|public|AdditionalData:IDictionary Microsoft.Graph.Models.passwordProfile::|public|BackingStore:IBackingStore Microsoft.Graph.Models.passwordProfile::|public|constructor():void @@ -115313,6 +116274,11 @@ Microsoft.Graph.Models.payloadTheme::0028-voicemail Microsoft.Graph.Models.payloadTheme::0029-advertisement Microsoft.Graph.Models.payloadTheme::0030-employeeEngagement Microsoft.Graph.Models.payloadTheme::0031-unknownFutureValue +Microsoft.Graph.Models.pciVersion::0000-none +Microsoft.Graph.Models.pciVersion::0001-v3_2_1 +Microsoft.Graph.Models.pciVersion::0002-v4 +Microsoft.Graph.Models.pciVersion::0003-notSupported +Microsoft.Graph.Models.pciVersion::0004-unknownFutureValue Microsoft.Graph.Models.pendingContentUpdate::|public|AdditionalData:IDictionary Microsoft.Graph.Models.pendingContentUpdate::|public|BackingStore:IBackingStore Microsoft.Graph.Models.pendingContentUpdate::|public|constructor():void @@ -119170,6 +120136,15 @@ Microsoft.Graph.Models.responseType::0002-tentativelyAccepted Microsoft.Graph.Models.responseType::0003-accepted Microsoft.Graph.Models.responseType::0004-declined Microsoft.Graph.Models.responseType::0005-notResponded +Microsoft.Graph.Models.restEncryptionType::0000-none +Microsoft.Graph.Models.restEncryptionType::0001-aes +Microsoft.Graph.Models.restEncryptionType::0002-bitlocker +Microsoft.Graph.Models.restEncryptionType::0003-blowfish +Microsoft.Graph.Models.restEncryptionType::0004-des +Microsoft.Graph.Models.restEncryptionType::0005-rc4 +Microsoft.Graph.Models.restEncryptionType::0006-rsa +Microsoft.Graph.Models.restEncryptionType::0007-notSupported +Microsoft.Graph.Models.restEncryptionType::0008-unknownFutureValue Microsoft.Graph.Models.restorableArtifact::0000-message Microsoft.Graph.Models.restorableArtifact::0001-unknownFutureValue Microsoft.Graph.Models.restoreArtifactBase-->global.Microsoft.Graph.Models.Entity @@ -120801,6 +121776,24 @@ Microsoft.Graph.Models.Security.contentFormat::0000-text Microsoft.Graph.Models.Security.contentFormat::0001-html Microsoft.Graph.Models.Security.contentFormat::0002-markdown Microsoft.Graph.Models.Security.contentFormat::0003-unknownFutureValue +Microsoft.Graph.Models.Security.correlationReason::0000-repeatedAlertOccurrence +Microsoft.Graph.Models.Security.correlationReason::0001-sameGeography +Microsoft.Graph.Models.Security.correlationReason::0002-similarArtifacts +Microsoft.Graph.Models.Security.correlationReason::0003-sameTargetedAsset +Microsoft.Graph.Models.Security.correlationReason::0004-sameNetworkSegment +Microsoft.Graph.Models.Security.correlationReason::0005-eventSequence +Microsoft.Graph.Models.Security.correlationReason::0006-timeFrame +Microsoft.Graph.Models.Security.correlationReason::0007-sameThreatSource +Microsoft.Graph.Models.Security.correlationReason::0008-similarTTPsOrBehavior +Microsoft.Graph.Models.Security.correlationReason::0009-sameActor +Microsoft.Graph.Models.Security.correlationReason::0010-sameCampaign +Microsoft.Graph.Models.Security.correlationReason::0011-sharedIndicators +Microsoft.Graph.Models.Security.correlationReason::0012-sameAsset +Microsoft.Graph.Models.Security.correlationReason::0013-networkProximity +Microsoft.Graph.Models.Security.correlationReason::0014-eventCasualSequence +Microsoft.Graph.Models.Security.correlationReason::0015-temporalProximity +Microsoft.Graph.Models.Security.correlationReason::0016-lateralMovementPath +Microsoft.Graph.Models.Security.correlationReason::0017-unknownFutureValue Microsoft.Graph.Models.Security.cvssSummary::|public|AdditionalData:IDictionary Microsoft.Graph.Models.Security.cvssSummary::|public|BackingStore:IBackingStore Microsoft.Graph.Models.Security.cvssSummary::|public|constructor():void @@ -122211,6 +123204,15 @@ Microsoft.Graph.Models.Security.malwareEvidence::|public|OdataType:string Microsoft.Graph.Models.Security.malwareEvidence::|public|Processes:List Microsoft.Graph.Models.Security.malwareEvidence::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.Security.malwareEvidence::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.MalwareEvidence +Microsoft.Graph.Models.Security.mergeResponse::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.Security.mergeResponse::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.Security.mergeResponse::|public|constructor():void +Microsoft.Graph.Models.Security.mergeResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.mergeResponse::|public|OdataType:string +Microsoft.Graph.Models.Security.mergeResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.mergeResponse::|public|TargetIncidentId:string +Microsoft.Graph.Models.Security.mergeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.MergeResponse +Microsoft.Graph.Models.Security.mergeResponse~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.Security.networkAdapter-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.Security.networkAdapter::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.Security.networkAdapter::|public|IsEnabled:bool? @@ -122910,6 +123912,7 @@ Microsoft.Graph.Models.Security.userAccount::|public|GetFieldDeserializers():IDi Microsoft.Graph.Models.Security.userAccount::|public|OdataType:string Microsoft.Graph.Models.Security.userAccount::|public|ResourceAccessEvents:List Microsoft.Graph.Models.Security.userAccount::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.userAccount::|public|TenantId:string Microsoft.Graph.Models.Security.userAccount::|public|UserPrincipalName:string Microsoft.Graph.Models.Security.userAccount::|public|UserSid:string Microsoft.Graph.Models.Security.userAccount::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.UserAccount @@ -124734,6 +125737,14 @@ Microsoft.Graph.Models.specialFolder::|public|OdataType:string Microsoft.Graph.Models.specialFolder::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.specialFolder::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SpecialFolder Microsoft.Graph.Models.specialFolder~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.sslVersion::0000-none +Microsoft.Graph.Models.sslVersion::0001-ssl3_0 +Microsoft.Graph.Models.sslVersion::0002-tls1_0 +Microsoft.Graph.Models.sslVersion::0003-tls1_1 +Microsoft.Graph.Models.sslVersion::0004-tls1_2 +Microsoft.Graph.Models.sslVersion::0005-tls1_3 +Microsoft.Graph.Models.sslVersion::0006-notSupported +Microsoft.Graph.Models.sslVersion::0007-unknownFutureValue Microsoft.Graph.Models.staffAvailabilityItem::|public|AdditionalData:IDictionary Microsoft.Graph.Models.staffAvailabilityItem::|public|AvailabilityItems:List Microsoft.Graph.Models.staffAvailabilityItem::|public|BackingStore:IBackingStore @@ -125415,6 +126426,18 @@ Microsoft.Graph.Models.targetDeviceGroupCollectionResponse::|public|GetFieldDese Microsoft.Graph.Models.targetDeviceGroupCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.targetDeviceGroupCollectionResponse::|public|Value:List Microsoft.Graph.Models.targetDeviceGroupCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TargetDeviceGroupCollectionResponse +Microsoft.Graph.Models.targetedChatMessage-->global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Models.targetedChatMessage::|public|constructor():void +Microsoft.Graph.Models.targetedChatMessage::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.targetedChatMessage::|public|OdataType:string +Microsoft.Graph.Models.targetedChatMessage::|public|Recipient:global.Microsoft.Graph.Models.Identity +Microsoft.Graph.Models.targetedChatMessage::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.targetedChatMessage::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TargetedChatMessage +Microsoft.Graph.Models.targetedChatMessageCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.targetedChatMessageCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.targetedChatMessageCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.targetedChatMessageCollectionResponse::|public|Value:List +Microsoft.Graph.Models.targetedChatMessageCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TargetedChatMessageCollectionResponse Microsoft.Graph.Models.targetedManagedAppConfiguration-->global.Microsoft.Graph.Models.ManagedAppConfiguration Microsoft.Graph.Models.targetedManagedAppConfiguration::|public|Apps:List Microsoft.Graph.Models.targetedManagedAppConfiguration::|public|Assignments:List @@ -128528,6 +129551,16 @@ Microsoft.Graph.Models.userLastSignInRecommendationInsightSetting::|public|Recom Microsoft.Graph.Models.userLastSignInRecommendationInsightSetting::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.userLastSignInRecommendationInsightSetting::|public|SignInScope:global.Microsoft.Graph.Models.UserSignInRecommendationScope? Microsoft.Graph.Models.userLastSignInRecommendationInsightSetting::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.UserLastSignInRecommendationInsightSetting +Microsoft.Graph.Models.userOwnership::0000-none +Microsoft.Graph.Models.userOwnership::0001-lawfulBasisForProcessing +Microsoft.Graph.Models.userOwnership::0002-rightToAccess +Microsoft.Graph.Models.userOwnership::0003-rightToBeInformed +Microsoft.Graph.Models.userOwnership::0004-rightToDataPortability +Microsoft.Graph.Models.userOwnership::0005-rightToObject +Microsoft.Graph.Models.userOwnership::0006-rightToRectification +Microsoft.Graph.Models.userOwnership::0007-rightToRestrictionOfProcessing +Microsoft.Graph.Models.userOwnership::0008-rightsRelatedToAutomatedDecisionMaking +Microsoft.Graph.Models.userOwnership::0009-unknownFutureValue Microsoft.Graph.Models.userPrint::|public|AdditionalData:IDictionary Microsoft.Graph.Models.userPrint::|public|BackingStore:IBackingStore Microsoft.Graph.Models.userPrint::|public|constructor():void @@ -141229,6 +142262,7 @@ Microsoft.Graph.Security.Alerts_v2.alerts_v2RequestBuilder::|public|constructor( Microsoft.Graph.Security.Alerts_v2.alerts_v2RequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Security.Alerts_v2.alerts_v2RequestBuilder::|public|Count:global.Microsoft.Graph.Security.Alerts_v2.Count.CountRequestBuilder Microsoft.Graph.Security.Alerts_v2.alerts_v2RequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.AlertCollectionResponse +Microsoft.Graph.Security.Alerts_v2.alerts_v2RequestBuilder::|public|microsoftGraphSecurityMoveAlerts:global.Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MicrosoftGraphSecurityMoveAlertsRequestBuilder Microsoft.Graph.Security.Alerts_v2.alerts_v2RequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Security.Alert; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.Alert Microsoft.Graph.Security.Alerts_v2.alerts_v2RequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Security.Alerts_v2.alerts_v2RequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Security.Alert; requestConfiguration?:Action>):RequestInformation @@ -141275,6 +142309,24 @@ Microsoft.Graph.Security.Alerts_v2.Item.Comments.Count.CountRequestBuilder::|pub Microsoft.Graph.Security.Alerts_v2.Item.Comments.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? Microsoft.Graph.Security.Alerts_v2.Item.Comments.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Security.Alerts_v2.Item.Comments.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.Alerts_v2.Item.Comments.Count.CountRequestBuilder +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.microsoftGraphSecurityMoveAlertsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.microsoftGraphSecurityMoveAlertsRequestBuilder.microsoftGraphSecurityMoveAlertsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.microsoftGraphSecurityMoveAlertsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.microsoftGraphSecurityMoveAlertsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.microsoftGraphSecurityMoveAlertsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MoveAlertsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.MergeResponse +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.microsoftGraphSecurityMoveAlertsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MoveAlertsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.microsoftGraphSecurityMoveAlertsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MicrosoftGraphSecurityMoveAlertsRequestBuilder +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|AlertComment:string +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|AlertIds:List +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|constructor():void +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|IncidentId:string +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|NewCorrelationReasons:global.Microsoft.Graph.Models.Security.CorrelationReason? +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.MoveAlertsPostRequestBody +Microsoft.Graph.Security.Alerts_v2.MicrosoftGraphSecurityMoveAlerts.moveAlertsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Security.AttackSimulation.attackSimulationRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Security.AttackSimulation.attackSimulationRequestBuilder.attackSimulationRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Security.AttackSimulation.attackSimulationRequestBuilder.attackSimulationRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -143635,6 +144687,7 @@ Microsoft.Graph.Security.Incidents.incidentsRequestBuilder::|public|constructor( Microsoft.Graph.Security.Incidents.incidentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Security.Incidents.incidentsRequestBuilder::|public|Count:global.Microsoft.Graph.Security.Incidents.Count.CountRequestBuilder Microsoft.Graph.Security.Incidents.incidentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.IncidentCollectionResponse +Microsoft.Graph.Security.Incidents.incidentsRequestBuilder::|public|microsoftGraphSecurityMergeIncidents:global.Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MicrosoftGraphSecurityMergeIncidentsRequestBuilder Microsoft.Graph.Security.Incidents.incidentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Security.Incident; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.Incident Microsoft.Graph.Security.Incidents.incidentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Security.Incidents.incidentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Security.Incident; requestConfiguration?:Action>):RequestInformation @@ -143708,6 +144761,23 @@ Microsoft.Graph.Security.Incidents.Item.IncidentItemRequestBuilder::|public|ToDe Microsoft.Graph.Security.Incidents.Item.IncidentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Security.Incidents.Item.IncidentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Security.Incident; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Security.Incidents.Item.IncidentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.Incidents.Item.IncidentItemRequestBuilder +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|public|constructor():void +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|public|IncidentComment:string +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|public|IncidentIds:List +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|public|MergeReasons:global.Microsoft.Graph.Models.Security.CorrelationReason? +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MergeIncidentsPostRequestBody +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.mergeIncidentsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.microsoftGraphSecurityMergeIncidentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.microsoftGraphSecurityMergeIncidentsRequestBuilder.microsoftGraphSecurityMergeIncidentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.microsoftGraphSecurityMergeIncidentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.microsoftGraphSecurityMergeIncidentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.microsoftGraphSecurityMergeIncidentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MergeIncidentsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.MergeResponse +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.microsoftGraphSecurityMergeIncidentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MergeIncidentsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.microsoftGraphSecurityMergeIncidentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.Incidents.MicrosoftGraphSecurityMergeIncidents.MicrosoftGraphSecurityMergeIncidentsRequestBuilder Microsoft.Graph.Security.Labels.Authorities.authoritiesRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Security.Labels.Authorities.authoritiesRequestBuilder.authoritiesRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Security.Labels.Authorities.authoritiesRequestBuilder.authoritiesRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -171437,6 +172507,7 @@ Microsoft.Graph.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|removeAllA Microsoft.Graph.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|sendActivityNotification:global.Microsoft.Graph.Users.Item.Chats.Item.SendActivityNotification.SendActivityNotificationRequestBuilder Microsoft.Graph.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|startMigration:global.Microsoft.Graph.Users.Item.Chats.Item.StartMigration.StartMigrationRequestBuilder Microsoft.Graph.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|tabs:global.Microsoft.Graph.Users.Item.Chats.Item.Tabs.TabsRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|targetedMessages:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder Microsoft.Graph.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Chats.Item.ChatItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Chat; requestConfiguration?:Action>):RequestInformation @@ -172271,6 +173342,302 @@ Microsoft.Graph.Users.Item.Chats.Item.Tabs.tabsRequestBuilder::|public|PostAsync Microsoft.Graph.Users.Item.Chats.Item.Tabs.tabsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Chats.Item.Tabs.tabsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TeamsTab; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Chats.Item.Tabs.tabsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.Tabs.TabsRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::[ChatMessageHostedContentId:string]:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.hostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaResponse-->global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaGetResponse +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaResponse +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder.ChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|hostedContents:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|setReaction:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|softDelete:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|undoSoftDelete:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|unsetReaction:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder.hostedContentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::[ChatMessageHostedContentId:string]:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContentCollectionResponse +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.hostedContentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder.ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|Content:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageHostedContent +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ChatMessageHostedContent; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.ChatMessageHostedContentItemRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder.ContentRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|PutAsync(body:Stream; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|ToPutRequestInformation(body:Stream; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContents.Item.Value.ContentRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder.setReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder.softDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.softDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SoftDelete.SoftDeleteRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder.undoSoftDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.undoSoftDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelete.UndoSoftDeleteRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder.unsetReactionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder.repliesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::[ChatMessageId:string]:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.ChatMessageItemRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|delta:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Delta.DeltaRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.repliesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder.TargetedChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessage +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|hostedContents:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.HostedContents.HostedContentsRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessage +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|replies:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder.targetedMessagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::[TargetedChatMessageId:string]:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Item.TargetedChatMessageItemRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessageCollectionResponse +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TargetedChatMessage +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TargetedChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.targetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder Microsoft.Graph.Users.Item.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Users.Item.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Users.Item.Chats.Item.UnhideForUser.unhideForUserPostRequestBody::|public|constructor():void @@ -183898,6 +185265,69 @@ Microsoft.Graph.Users.Item.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder Microsoft.Graph.Users.Item.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Team Microsoft.Graph.Users.Item.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Teamwork.AssociatedTeams.Item.Team.teamRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Teamwork.AssociatedTeams.Item.Team.TeamRequestBuilder +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|ChannelId:string +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|MessageId:string +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|public|TeamId:string +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessagePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder.deleteTargetedMessageRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessagePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.deleteTargetedMessageRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|public|Value:List +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder.getAllRetainedTargetedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|GetAsGetAllRetainedTargetedMessagesGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesResponse-->global.Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesGetResponse +Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.getAllRetainedTargetedMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesResponse +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|public|Value:List +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder.getAllTargetedMessagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|GetAsGetAllTargetedMessagesGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesResponse-->global.Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesGetResponse +Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.getAllTargetedMessagesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesResponse Microsoft.Graph.Users.Item.Teamwork.InstalledApps.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.Teamwork.InstalledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Users.Item.Teamwork.InstalledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -184003,6 +185433,9 @@ Microsoft.Graph.Users.Item.Teamwork.teamworkRequestBuilder::|public|associatedTe Microsoft.Graph.Users.Item.Teamwork.teamworkRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Users.Item.Teamwork.teamworkRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Users.Item.Teamwork.teamworkRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Teamwork.teamworkRequestBuilder::|public|deleteTargetedMessage:global.Microsoft.Graph.Users.Item.Teamwork.DeleteTargetedMessage.DeleteTargetedMessageRequestBuilder +Microsoft.Graph.Users.Item.Teamwork.teamworkRequestBuilder::|public|getAllRetainedTargetedMessages:global.Microsoft.Graph.Users.Item.Teamwork.GetAllRetainedTargetedMessages.GetAllRetainedTargetedMessagesRequestBuilder +Microsoft.Graph.Users.Item.Teamwork.teamworkRequestBuilder::|public|getAllTargetedMessages:global.Microsoft.Graph.Users.Item.Teamwork.GetAllTargetedMessages.GetAllTargetedMessagesRequestBuilder Microsoft.Graph.Users.Item.Teamwork.teamworkRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserTeamwork Microsoft.Graph.Users.Item.Teamwork.teamworkRequestBuilder::|public|installedApps:global.Microsoft.Graph.Users.Item.Teamwork.InstalledApps.InstalledAppsRequestBuilder Microsoft.Graph.Users.Item.Teamwork.teamworkRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.UserTeamwork; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserTeamwork diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index 466a5a91cad..2bf18f3b8e4 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "0BE1FE750803AA4DD8706ACF32BBF8A5A572314853E505A00DBE34F891763896209DA3384105E9168E63B9605339F1BBCD691CD5B0521DE9EF22F6A42F61B957", + "descriptionHash": "CC5B410D6DC3C35765EBC5D215F3F0199BFEE7E031FA7B82E67CBDFF14AFDA5B00DB880A0156FC2E3B10F7B2B3DA764393D0E8A37F9BD649574784295B5F9238", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.31.1", + "kiotaVersion": "1.32.2", "clientClassName": "BaseGraphServiceClient", "typeAccessModifier": "Public", "clientNamespaceName": "Microsoft.Graph", diff --git a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/ActionRequestTests.cs b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/ActionRequestTests.cs index 7932ceda8f9..02ae3695891 100644 --- a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/ActionRequestTests.cs +++ b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/ActionRequestTests.cs @@ -61,7 +61,7 @@ public void OptionalParameterWithNonNullableType_NullValue() Assert.NotNull(requestInformation); Assert.Equal(new Uri(expectedRequestUrl), requestInformation.URI); - Assert.Null(requestBody.SecurityEnabledOnly); + Assert.False(requestBody.SecurityEnabledOnly); } ///