From 5beb6f7158db09096998a750a722a8b8f0a5bc72 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Wed, 18 Sep 2024 11:47:51 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 163754 --- .../Item/Restore/RestorePostRequestBody.cs | 71 +++++++ .../Item/Restore/RestoreRequestBuilder.cs | 19 +- .../ConversationMemberItemRequestBuilder.cs | 8 +- .../Item/Messages/MessagesRequestBuilder.cs | 6 +- .../Invite/InviteRequestBuilder.cs | 6 +- .../Item/Restore/RestorePostRequestBody.cs | 71 +++++++ .../Item/Restore/RestoreRequestBuilder.cs | 19 +- .../Item/Restore/RestorePostRequestBody.cs | 71 +++++++ .../Item/Restore/RestoreRequestBuilder.cs | 19 +- .../DeviceAppManagementRequestBuilder.cs | 4 +- .../TargetApps/TargetAppsRequestBuilder.cs | 2 +- .../ManagedAppPoliciesRequestBuilder.cs | 8 +- .../TargetApps/TargetAppsRequestBuilder.cs | 2 +- .../TargetApps/TargetAppsRequestBuilder.cs | 2 +- .../ManagedAppRegistrationsRequestBuilder.cs | 8 +- .../ManagedAppStatusesRequestBuilder.cs | 8 +- .../Assignments/AssignmentsRequestBuilder.cs | 6 +- ...anagedEBookAssignmentItemRequestBuilder.cs | 14 +- .../Item/ManagedEBookItemRequestBuilder.cs | 8 +- .../ManagedEBooksRequestBuilder.cs | 8 +- ...obileAppConfigurationItemRequestBuilder.cs | 8 +- .../Item/MobileAppItemRequestBuilder.cs | 20 +- .../MobileApps/MobileAppsRequestBuilder.cs | 14 +- .../DeviceCompliancePoliciesRequestBuilder.cs | 14 +- ...eviceCompliancePolicyItemRequestBuilder.cs | 20 +- .../DeviceConfigurationsRequestBuilder.cs | 14 +- .../DeviceConfigurationItemRequestBuilder.cs | 20 +- ...eEnrollmentConfigurationsRequestBuilder.cs | 14 +- ...rollmentConfigurationItemRequestBuilder.cs | 14 +- .../DeviceManagementRequestBuilder.cs | 4 +- .../Item/RoleDefinitionItemRequestBuilder.cs | 6 +- .../RoleDefinitionsRequestBuilder.cs | 8 +- .../Item/Restore/RestorePostRequestBody.cs | 71 +++++++ .../Item/Restore/RestoreRequestBuilder.cs | 19 +- .../Item/Restore/RestorePostRequestBody.cs | 71 +++++++ .../Item/Restore/RestoreRequestBuilder.cs | 19 +- .../Item/Restore/RestorePostRequestBody.cs | 71 +++++++ .../Item/Restore/RestoreRequestBuilder.cs | 19 +- .../Item/Restore/RestorePostRequestBody.cs | 71 +++++++ .../Item/Restore/RestoreRequestBuilder.cs | 19 +- .../Item/Restore/RestorePostRequestBody.cs | 71 +++++++ .../Item/Restore/RestoreRequestBuilder.cs | 19 +- .../Domains/Item/DomainItemRequestBuilder.cs | 6 + .../RootDomain/RootDomainRequestBuilder.cs | 125 +++++++++++ .../RetentionLabelRequestBuilder.cs | 6 +- .../RangeNamespace/RangeRequestBuilder.cs | 6 +- .../RangeNamespace/RangeRequestBuilder.cs | 6 +- .../Item/ExternalItemItemRequestBuilder.cs | 6 +- .../Item/Restore/RestorePostRequestBody.cs | 71 +++++++ .../Item/Restore/RestoreRequestBuilder.cs | 19 +- .../AssignLicenseRequestBuilder.cs | 4 +- .../Item/ConversationItemRequestBuilder.cs | 8 +- .../Threads/Item/Reply/ReplyRequestBuilder.cs | 6 +- .../Item/Restore/RestorePostRequestBody.cs | 71 +++++++ .../Item/Restore/RestoreRequestBuilder.cs | 19 +- .../ConversationThreadItemRequestBuilder.cs | 2 +- .../Threads/Item/Reply/ReplyRequestBuilder.cs | 6 +- .../Item/AccessPackageItemRequestBuilder.cs | 8 +- ...ustomCalloutExtensionItemRequestBuilder.cs | 14 +- .../Item/AgreementItemRequestBuilder.cs | 8 +- .../AssignLicenseRequestBuilder.cs | 4 +- .../Methods/MethodsRequestBuilder.cs | 6 +- .../Item/MessageItemRequestBuilder.cs | 12 +- .../Item/Value/ContentRequestBuilder.cs | 20 +- .../Me/Messages/MessagesRequestBuilder.cs | 8 +- .../Me/Restore/RestorePostRequestBody.cs | 71 +++++++ .../Me/Restore/RestoreRequestBuilder.cs | 19 +- .../Me/Solutions/SolutionsRequestBuilder.cs | 6 +- .../EndWorkingTimeRequestBuilder.cs | 5 +- .../StartWorkingTimeRequestBuilder.cs | 5 +- .../WorkingTimeScheduleRequestBuilder.cs | 6 +- .../Generated/Models/AdministrativeUnit.cs | 62 ++++++ .../Generated/Models/Device.cs | 8 + .../Generated/Models/Domain.cs | 18 ++ .../Generated/Models/FileStorageContainer.cs | 2 +- src/Microsoft.Graph/Generated/Models/Group.cs | 10 +- .../Generated/Models/ScheduleInformation.cs | 2 +- .../Generated/Models/Security/HealthIssue.cs | 26 +-- .../Models/Security/IdentityContainer.cs | 2 +- .../Generated/Models/Security/Security.cs | 2 +- src/Microsoft.Graph/Generated/Models/User.cs | 10 +- .../Generated/Models/UserSolutionRoot.cs | 2 +- .../WorkbookWorksheetProtectionOptions.cs | 22 +- .../Item/OrganizationItemRequestBuilder.cs | 6 +- .../Item/Restore/RestorePostRequestBody.cs | 71 +++++++ .../Item/Restore/RestoreRequestBuilder.cs | 19 +- .../Item/Restore/RestorePostRequestBody.cs | 71 +++++++ .../Item/Restore/RestoreRequestBuilder.cs | 19 +- .../HealthIssuesRequestBuilder.cs | 7 +- .../Item/HealthIssueItemRequestBuilder.cs | 12 +- .../Identities/IdentitiesRequestBuilder.cs | 6 +- .../Item/Restore/RestorePostRequestBody.cs | 71 +++++++ .../Item/Restore/RestoreRequestBuilder.cs | 19 +- .../Containers/ContainersRequestBuilder.cs | 4 +- .../ConversationMemberItemRequestBuilder.cs | 6 +- .../Item/Members/MembersRequestBuilder.cs | 6 +- .../Item/Replies/RepliesRequestBuilder.cs | 6 +- .../Item/Messages/MessagesRequestBuilder.cs | 6 +- .../MultiTenantOrganizationRequestBuilder.cs | 6 +- .../AssignLicenseRequestBuilder.cs | 4 +- .../Item/Presence/PresenceRequestBuilder.cs | 8 +- .../Item/Restore/RestorePostRequestBody.cs | 71 +++++++ .../Item/Restore/RestoreRequestBuilder.cs | 19 +- .../Item/Solutions/SolutionsRequestBuilder.cs | 6 +- .../EndWorkingTimeRequestBuilder.cs | 5 +- .../StartWorkingTimeRequestBuilder.cs | 5 +- .../WorkingTimeScheduleRequestBuilder.cs | 6 +- .../Users/Item/UserItemRequestBuilder.cs | 10 +- .../Generated/Users/UsersRequestBuilder.cs | 2 +- .../Generated/kiota-dom-export.txt | 198 +++++++++++++++--- src/Microsoft.Graph/Generated/kiota-lock.json | 3 +- 111 files changed, 1939 insertions(+), 418 deletions(-) create mode 100644 src/Microsoft.Graph/Generated/Applications/Item/Restore/RestorePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Contacts/Item/Restore/RestorePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Contracts/Item/Restore/RestorePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Devices/Item/Restore/RestorePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/Restore/RestorePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/DirectoryObjects/Item/Restore/RestorePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/Restore/RestorePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/DirectoryRoles/Item/Restore/RestorePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Domains/Item/RootDomain/RootDomainRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/Restore/RestorePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Restore/RestorePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Restore/RestorePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Organization/Item/Restore/RestorePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/PermissionGrants/Item/Restore/RestorePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/ServicePrincipals/Item/Restore/RestorePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Restore/RestorePostRequestBody.cs diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Restore/RestorePostRequestBody.cs b/src/Microsoft.Graph/Generated/Applications/Item/Restore/RestorePostRequestBody.cs new file mode 100644 index 00000000000..2c224a96b25 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Applications/Item/Restore/RestorePostRequestBody.cs @@ -0,0 +1,71 @@ +// +#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.Applications.Item.Restore +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] + #pragma warning disable CS1591 + public partial class RestorePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The autoReconcileProxyConflict property + public bool? AutoReconcileProxyConflict + { + get { return BackingStore?.Get("autoReconcileProxyConflict"); } + set { BackingStore?.Set("autoReconcileProxyConflict", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// + /// Instantiates a new and sets the default values. + /// + public RestorePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Applications.Item.Restore.RestorePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Applications.Item.Restore.RestorePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "autoReconcileProxyConflict", n => { AutoReconcileProxyConflict = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("autoReconcileProxyConflict", AutoReconcileProxyConflict); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Restore/RestoreRequestBuilder.cs index a1f22c4994c..4f7d9d15b09 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Restore/RestoreRequestBuilder.cs @@ -35,23 +35,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A + /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware 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) + public async Task PostAsync(global::Microsoft.Graph.Applications.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(global::Microsoft.Graph.Applications.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif - var requestInfo = ToPostRequestInformation(requestConfiguration); + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); var errorMapping = new Dictionary> { { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, @@ -59,22 +61,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A + /// The request body /// Configuration for 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) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Applications.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Applications.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default) { #endif + _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); return requestInfo; } /// diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index caedc0e63a7..2707c891dd7 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action - /// Retrieve a conversationMember from a chat or channel. - /// Find more info here + /// Retrieve a conversationMember from a chat. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -126,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve a conversationMember from a chat or channel. + /// Retrieve a conversationMember from a chat. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -184,7 +184,7 @@ public partial class ConversationMemberItemRequestBuilderDeleteRequestConfigurat { } /// - /// Retrieve a conversationMember from a chat or channel. + /// Retrieve a conversationMember from a chat. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class ConversationMemberItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs index e5f231d7d00..9911475558c 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs @@ -84,8 +84,8 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel or a chat. - /// Find more info here + /// Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel or a chat. + /// Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs index 660ff13df0a..081ce474f43 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs @@ -35,8 +35,8 @@ public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas { } /// - /// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. - /// Find more info here + /// Invite participants to the active call. For more information about how to handle operations, see commsOperation. + /// Find more info here /// /// A /// The request body @@ -61,7 +61,7 @@ public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.InviteParticipantsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + /// Invite participants to the active call. For more information about how to handle operations, see commsOperation. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/Restore/RestorePostRequestBody.cs b/src/Microsoft.Graph/Generated/Contacts/Item/Restore/RestorePostRequestBody.cs new file mode 100644 index 00000000000..f9e74476b4b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Contacts/Item/Restore/RestorePostRequestBody.cs @@ -0,0 +1,71 @@ +// +#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.Contacts.Item.Restore +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] + #pragma warning disable CS1591 + public partial class RestorePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The autoReconcileProxyConflict property + public bool? AutoReconcileProxyConflict + { + get { return BackingStore?.Get("autoReconcileProxyConflict"); } + set { BackingStore?.Set("autoReconcileProxyConflict", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// + /// Instantiates a new and sets the default values. + /// + public RestorePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Contacts.Item.Restore.RestorePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Contacts.Item.Restore.RestorePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "autoReconcileProxyConflict", n => { AutoReconcileProxyConflict = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("autoReconcileProxyConflict", AutoReconcileProxyConflict); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/Restore/RestoreRequestBuilder.cs index f8941fd13f4..6b80944fdd2 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/Restore/RestoreRequestBuilder.cs @@ -35,23 +35,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A + /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware 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) + public async Task PostAsync(global::Microsoft.Graph.Contacts.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(global::Microsoft.Graph.Contacts.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif - var requestInfo = ToPostRequestInformation(requestConfiguration); + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); var errorMapping = new Dictionary> { { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, @@ -59,22 +61,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A + /// The request body /// Configuration for 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) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Contacts.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Contacts.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default) { #endif + _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); return requestInfo; } /// diff --git a/src/Microsoft.Graph/Generated/Contracts/Item/Restore/RestorePostRequestBody.cs b/src/Microsoft.Graph/Generated/Contracts/Item/Restore/RestorePostRequestBody.cs new file mode 100644 index 00000000000..f4505e3ed8a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Contracts/Item/Restore/RestorePostRequestBody.cs @@ -0,0 +1,71 @@ +// +#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.Contracts.Item.Restore +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] + #pragma warning disable CS1591 + public partial class RestorePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The autoReconcileProxyConflict property + public bool? AutoReconcileProxyConflict + { + get { return BackingStore?.Get("autoReconcileProxyConflict"); } + set { BackingStore?.Set("autoReconcileProxyConflict", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// + /// Instantiates a new and sets the default values. + /// + public RestorePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Contracts.Item.Restore.RestorePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Contracts.Item.Restore.RestorePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "autoReconcileProxyConflict", n => { AutoReconcileProxyConflict = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("autoReconcileProxyConflict", AutoReconcileProxyConflict); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Contracts/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contracts/Item/Restore/RestoreRequestBuilder.cs index 6eae98381aa..c7fe5ed90be 100644 --- a/src/Microsoft.Graph/Generated/Contracts/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contracts/Item/Restore/RestoreRequestBuilder.cs @@ -35,23 +35,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A + /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware 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) + public async Task PostAsync(global::Microsoft.Graph.Contracts.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(global::Microsoft.Graph.Contracts.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif - var requestInfo = ToPostRequestInformation(requestConfiguration); + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); var errorMapping = new Dictionary> { { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, @@ -59,22 +61,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A + /// The request body /// Configuration for 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) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Contracts.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Contracts.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default) { #endif + _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); return requestInfo; } /// diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs index b22b62ca4e7..1ed693f20a4 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs @@ -126,7 +126,7 @@ public DeviceAppManagementRequestBuilder(string rawUrl, IRequestAdapter requestA } /// /// Read properties and relationships of the deviceAppManagement object. - /// Find more info here + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -150,7 +150,7 @@ public DeviceAppManagementRequestBuilder(string rawUrl, IRequestAdapter requestA } /// /// Update the properties of a deviceAppManagement object. - /// Find more info here + /// Find more info here /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs index 056404d547f..1bac1bde7b3 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs @@ -35,7 +35,7 @@ public TargetAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : } /// /// Not yet documented - /// Find more info here + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs index b938799c246..893dfbf1de1 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs @@ -54,8 +54,8 @@ public ManagedAppPoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// List properties and relationships of the managedAppPolicy objects. - /// Find more info here + /// List properties and relationships of the windowsInformationProtection objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -103,7 +103,7 @@ public ManagedAppPoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAd return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the managedAppPolicy objects. + /// List properties and relationships of the windowsInformationProtection objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceAppManagement.ManagedAppPolicies.ManagedAppPoliciesRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the managedAppPolicy objects. + /// List properties and relationships of the windowsInformationProtection objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class ManagedAppPoliciesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs index c1e9d2b6416..c4c418b1af3 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs @@ -35,7 +35,7 @@ public TargetAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : } /// /// Not yet documented - /// Find more info here + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs index dbdf5678237..a6089a73926 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs @@ -35,7 +35,7 @@ public TargetAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : } /// /// Not yet documented - /// Find more info here + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs index 9fcccc1e848..234f7add366 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs @@ -60,8 +60,8 @@ public ManagedAppRegistrationsRequestBuilder(string rawUrl, IRequestAdapter requ { } /// - /// List properties and relationships of the androidManagedAppRegistration objects. - /// Find more info here + /// List properties and relationships of the managedAppRegistration objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -110,7 +110,7 @@ public ManagedAppRegistrationsRequestBuilder(string rawUrl, IRequestAdapter requ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedAppRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the androidManagedAppRegistration objects. + /// List properties and relationships of the managedAppRegistration objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceAppManagement.ManagedAppRegistrations.ManagedAppRegistrationsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the androidManagedAppRegistration objects. + /// List properties and relationships of the managedAppRegistration objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class ManagedAppRegistrationsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.cs index 035f7198ca1..b3e9f73d4f9 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.cs @@ -54,8 +54,8 @@ public ManagedAppStatusesRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// List properties and relationships of the managedAppStatusRaw objects. - /// Find more info here + /// List properties and relationships of the managedAppStatus objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -103,7 +103,7 @@ public ManagedAppStatusesRequestBuilder(string rawUrl, IRequestAdapter requestAd return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedAppStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the managedAppStatusRaw objects. + /// List properties and relationships of the managedAppStatus objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceAppManagement.ManagedAppStatuses.ManagedAppStatusesRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the managedAppStatusRaw objects. + /// List properties and relationships of the managedAppStatus objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class ManagedAppStatusesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs index 647adf80ed2..e9e867338ef 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs @@ -78,8 +78,8 @@ public AssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedEBookAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new managedEBookAssignment object. - /// Find more info here + /// Create a new iosVppEBookAssignment object. + /// Find more info here /// /// A /// The request body @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new managedEBookAssignment object. + /// Create a new iosVppEBookAssignment object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs index c8fb632e084..50ba55dd802 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the managedEBookAssignment object. - /// Find more info here + /// Read properties and relationships of the iosVppEBookAssignment object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ManagedEBookAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a managedEBookAssignment object. - /// Find more info here + /// Update the properties of a iosVppEBookAssignment object. + /// Find more info here /// /// A /// The request body @@ -127,7 +127,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the managedEBookAssignment object. + /// Read properties and relationships of the iosVppEBookAssignment object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a managedEBookAssignment object. + /// Update the properties of a iosVppEBookAssignment object. /// /// A /// The request body @@ -185,7 +185,7 @@ public partial class ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfig { } /// - /// Read properties and relationships of the managedEBookAssignment object. + /// Read properties and relationships of the iosVppEBookAssignment object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs index d1dff6a999a..72fe0afdecf 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs @@ -88,8 +88,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the managedEBook object. - /// Find more info here + /// Read properties and relationships of the iosVppEBook object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -157,7 +157,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the managedEBook object. + /// Read properties and relationships of the iosVppEBook object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -215,7 +215,7 @@ public partial class ManagedEBookItemRequestBuilderDeleteRequestConfiguration : { } /// - /// Read properties and relationships of the managedEBook object. + /// Read properties and relationships of the iosVppEBook object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class ManagedEBookItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.cs index 79b16f76acb..98142c88cd4 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.cs @@ -54,8 +54,8 @@ public ManagedEBooksRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List properties and relationships of the iosVppEBook objects. - /// Find more info here + /// List properties and relationships of the managedEBook objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -104,7 +104,7 @@ public ManagedEBooksRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedEBook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the iosVppEBook objects. + /// List properties and relationships of the managedEBook objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceAppManagement.ManagedEBooks.ManagedEBooksRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the iosVppEBook objects. + /// List properties and relationships of the managedEBook objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class ManagedEBooksRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs index b5fe034faaa..730cf024e82 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs @@ -94,8 +94,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the managedDeviceMobileAppConfiguration object. - /// Find more info here + /// Read properties and relationships of the iosMobileAppConfiguration object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -163,7 +163,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the managedDeviceMobileAppConfiguration object. + /// Read properties and relationships of the iosMobileAppConfiguration object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -221,7 +221,7 @@ public partial class ManagedDeviceMobileAppConfigurationItemRequestBuilderDelete { } /// - /// Read properties and relationships of the managedDeviceMobileAppConfiguration object. + /// Read properties and relationships of the iosMobileAppConfiguration object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs index 74226c5afeb..6bc838e2de4 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs @@ -149,8 +149,8 @@ public MobileAppItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// Deletes a microsoftStoreForBusinessApp. - /// Find more info here + /// Deletes a androidStoreApp. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -172,8 +172,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the macOSLobApp object. - /// Find more info here + /// Read properties and relationships of the windowsWebApp object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -196,8 +196,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a androidLobApp object. - /// Find more info here + /// Update the properties of a microsoftStoreForBusinessApp object. + /// Find more info here /// /// A /// The request body @@ -222,7 +222,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a microsoftStoreForBusinessApp. + /// Deletes a androidStoreApp. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -241,7 +241,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the macOSLobApp object. + /// Read properties and relationships of the windowsWebApp object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -260,7 +260,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a androidLobApp object. + /// Update the properties of a microsoftStoreForBusinessApp object. /// /// A /// The request body @@ -299,7 +299,7 @@ public partial class MobileAppItemRequestBuilderDeleteRequestConfiguration : Req { } /// - /// Read properties and relationships of the macOSLobApp object. + /// Read properties and relationships of the windowsWebApp object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class MobileAppItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs index 4b66067adaf..2087164e1b7 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs @@ -150,8 +150,8 @@ public MobileAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// List properties and relationships of the webApp objects. - /// Find more info here + /// List properties and relationships of the managedIOSLobApp objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -174,8 +174,8 @@ public MobileAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new windowsMobileMSI object. - /// Find more info here + /// Create a new macOSLobApp object. + /// Find more info here /// /// A /// The request body @@ -200,7 +200,7 @@ public MobileAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the webApp objects. + /// List properties and relationships of the managedIOSLobApp objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -219,7 +219,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new windowsMobileMSI object. + /// Create a new macOSLobApp object. /// /// A /// The request body @@ -250,7 +250,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.MobileAppsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the webApp objects. + /// List properties and relationships of the managedIOSLobApp objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class MobileAppsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs index 9a35ca41f42..c732d624ae7 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs @@ -54,8 +54,8 @@ public DeviceCompliancePoliciesRequestBuilder(string rawUrl, IRequestAdapter req { } /// - /// List properties and relationships of the windowsPhone81CompliancePolicy objects. - /// Find more info here + /// List properties and relationships of the windows10MobileCompliancePolicy objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -78,8 +78,8 @@ public DeviceCompliancePoliciesRequestBuilder(string rawUrl, IRequestAdapter req return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceCompliancePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new windows81CompliancePolicy object. - /// Find more info here + /// Create a new windows10MobileCompliancePolicy object. + /// Find more info here /// /// A /// The request body @@ -104,7 +104,7 @@ public DeviceCompliancePoliciesRequestBuilder(string rawUrl, IRequestAdapter req return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the windowsPhone81CompliancePolicy objects. + /// List properties and relationships of the windows10MobileCompliancePolicy objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new windows81CompliancePolicy object. + /// Create a new windows10MobileCompliancePolicy object. /// /// A /// The request body @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceManagement.DeviceCompliancePolicies.DeviceCompliancePoliciesRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the windowsPhone81CompliancePolicy objects. + /// List properties and relationships of the windows10MobileCompliancePolicy objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class DeviceCompliancePoliciesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs index a52b2bba3a0..3cfc831f6aa 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs @@ -89,8 +89,8 @@ public DeviceCompliancePolicyItemRequestBuilder(string rawUrl, IRequestAdapter r { } /// - /// Deletes a iosCompliancePolicy. - /// Find more info here + /// Deletes a windows81CompliancePolicy. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -112,8 +112,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the macOSCompliancePolicy object. - /// Find more info here + /// Read properties and relationships of the androidWorkProfileCompliancePolicy object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -136,8 +136,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a windowsPhone81CompliancePolicy object. - /// Find more info here + /// Update the properties of a windows81CompliancePolicy object. + /// Find more info here /// /// A /// The request body @@ -162,7 +162,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a iosCompliancePolicy. + /// Deletes a windows81CompliancePolicy. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the macOSCompliancePolicy object. + /// Read properties and relationships of the androidWorkProfileCompliancePolicy object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -200,7 +200,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a windowsPhone81CompliancePolicy object. + /// Update the properties of a windows81CompliancePolicy object. /// /// A /// The request body @@ -239,7 +239,7 @@ public partial class DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfig { } /// - /// Read properties and relationships of the macOSCompliancePolicy object. + /// Read properties and relationships of the androidWorkProfileCompliancePolicy object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs index d96bf7cd39b..3c8955c4f93 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs @@ -54,8 +54,8 @@ public DeviceConfigurationsRequestBuilder(string rawUrl, IRequestAdapter request { } /// - /// List properties and relationships of the iosDeviceFeaturesConfiguration objects. - /// Find more info here + /// List properties and relationships of the windows81GeneralConfiguration objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -78,8 +78,8 @@ public DeviceConfigurationsRequestBuilder(string rawUrl, IRequestAdapter request return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new iosGeneralDeviceConfiguration object. - /// Find more info here + /// Create a new windows10TeamGeneralConfiguration object. + /// Find more info here /// /// A /// The request body @@ -104,7 +104,7 @@ public DeviceConfigurationsRequestBuilder(string rawUrl, IRequestAdapter request return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the iosDeviceFeaturesConfiguration objects. + /// List properties and relationships of the windows81GeneralConfiguration objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new iosGeneralDeviceConfiguration object. + /// Create a new windows10TeamGeneralConfiguration object. /// /// A /// The request body @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceManagement.DeviceConfigurations.DeviceConfigurationsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the iosDeviceFeaturesConfiguration objects. + /// List properties and relationships of the windows81GeneralConfiguration objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class DeviceConfigurationsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs index 095c74f75b2..4962264e096 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs @@ -78,8 +78,8 @@ public DeviceConfigurationItemRequestBuilder(string rawUrl, IRequestAdapter requ { } /// - /// Deletes a iosDeviceFeaturesConfiguration. - /// Find more info here + /// Deletes a editionUpgradeConfiguration. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -101,8 +101,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the androidWorkProfileCustomConfiguration object. - /// Find more info here + /// Read properties and relationships of the iosCertificateProfile object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -135,8 +135,8 @@ public async Task DeleteAsync(Action - /// Update the properties of a macOSGeneralDeviceConfiguration object. - /// Find more info here + /// Update the properties of a windows10SecureAssessmentConfiguration object. + /// Find more info here /// /// A /// The request body @@ -161,7 +161,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.DeviceConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a iosDeviceFeaturesConfiguration. + /// Deletes a editionUpgradeConfiguration. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -180,7 +180,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the androidWorkProfileCustomConfiguration object. + /// Read properties and relationships of the iosCertificateProfile object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -199,7 +199,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a macOSGeneralDeviceConfiguration object. + /// Update the properties of a windows10SecureAssessmentConfiguration object. /// /// A /// The request body @@ -238,7 +238,7 @@ public partial class DeviceConfigurationItemRequestBuilderDeleteRequestConfigura { } /// - /// Read properties and relationships of the androidWorkProfileCustomConfiguration object. + /// Read properties and relationships of the iosCertificateProfile object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class DeviceConfigurationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs index 20e04444634..968763e7991 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs @@ -54,8 +54,8 @@ public DeviceEnrollmentConfigurationsRequestBuilder(string rawUrl, IRequestAdapt { } /// - /// List properties and relationships of the deviceEnrollmentLimitConfiguration objects. - /// Find more info here + /// List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -78,8 +78,8 @@ public DeviceEnrollmentConfigurationsRequestBuilder(string rawUrl, IRequestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceEnrollmentConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. - /// Find more info here + /// Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. + /// Find more info here /// /// A /// The request body @@ -104,7 +104,7 @@ public DeviceEnrollmentConfigurationsRequestBuilder(string rawUrl, IRequestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the deviceEnrollmentLimitConfiguration objects. + /// List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. + /// Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. /// /// A /// The request body @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceManagement.DeviceEnrollmentConfigurations.DeviceEnrollmentConfigurationsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the deviceEnrollmentLimitConfiguration objects. + /// List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs index bcc27cdd318..42776087326 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs @@ -76,8 +76,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the deviceEnrollmentLimitConfiguration object. - /// Find more info here + /// Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -100,8 +100,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a deviceEnrollmentLimitConfiguration object. - /// Find more info here + /// Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. + /// Find more info here /// /// A /// The request body @@ -145,7 +145,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + /// Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -164,7 +164,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a deviceEnrollmentLimitConfiguration object. + /// Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. /// /// A /// The request body @@ -203,7 +203,7 @@ public partial class DeviceEnrollmentConfigurationItemRequestBuilderDeleteReques { } /// - /// Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + /// Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs index 089f5adb0e1..67b9f34c7ac 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs @@ -392,7 +392,7 @@ public DeviceManagementRequestBuilder(string rawUrl, IRequestAdapter requestAdap } /// /// Read properties and relationships of the deviceManagement object. - /// Find more info here + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -426,7 +426,7 @@ public DeviceManagementRequestBuilder(string rawUrl, IRequestAdapter requestAdap } /// /// Update the properties of a deviceManagement object. - /// Find more info here + /// Find more info here /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs index 492eb9ade9b..80652d5ddde 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs @@ -41,8 +41,8 @@ public RoleDefinitionItemRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// Deletes a deviceAndAppManagementRoleDefinition. - /// Find more info here + /// Deletes a roleDefinition. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -114,7 +114,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.RoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a deviceAndAppManagementRoleDefinition. + /// Deletes a roleDefinition. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs index 582da29e44f..48c0dfbe6db 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs @@ -54,8 +54,8 @@ public RoleDefinitionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// List properties and relationships of the roleDefinition objects. - /// Find more info here + /// List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -104,7 +104,7 @@ public RoleDefinitionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.RoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the roleDefinition objects. + /// List properties and relationships of the deviceAndAppManagementRoleDefinition objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceManagement.RoleDefinitions.RoleDefinitionsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the roleDefinition objects. + /// List properties and relationships of the deviceAndAppManagementRoleDefinition objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class RoleDefinitionsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Devices/Item/Restore/RestorePostRequestBody.cs b/src/Microsoft.Graph/Generated/Devices/Item/Restore/RestorePostRequestBody.cs new file mode 100644 index 00000000000..28ab3444f9a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Devices/Item/Restore/RestorePostRequestBody.cs @@ -0,0 +1,71 @@ +// +#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.Devices.Item.Restore +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] + #pragma warning disable CS1591 + public partial class RestorePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The autoReconcileProxyConflict property + public bool? AutoReconcileProxyConflict + { + get { return BackingStore?.Get("autoReconcileProxyConflict"); } + set { BackingStore?.Set("autoReconcileProxyConflict", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// + /// Instantiates a new and sets the default values. + /// + public RestorePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Devices.Item.Restore.RestorePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Devices.Item.Restore.RestorePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "autoReconcileProxyConflict", n => { AutoReconcileProxyConflict = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("autoReconcileProxyConflict", AutoReconcileProxyConflict); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Devices/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/Restore/RestoreRequestBuilder.cs index 6a09307ea6c..be1e23db004 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/Restore/RestoreRequestBuilder.cs @@ -35,23 +35,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A + /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware 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) + public async Task PostAsync(global::Microsoft.Graph.Devices.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(global::Microsoft.Graph.Devices.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif - var requestInfo = ToPostRequestInformation(requestConfiguration); + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); var errorMapping = new Dictionary> { { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, @@ -59,22 +61,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A + /// The request body /// Configuration for 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) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Devices.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Devices.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default) { #endif + _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); return requestInfo; } /// diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/Restore/RestorePostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/Restore/RestorePostRequestBody.cs new file mode 100644 index 00000000000..2021fc72487 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/Restore/RestorePostRequestBody.cs @@ -0,0 +1,71 @@ +// +#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.DirectoryNamespace.DeletedItems.Item.Restore +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] + #pragma warning disable CS1591 + public partial class RestorePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The autoReconcileProxyConflict property + public bool? AutoReconcileProxyConflict + { + get { return BackingStore?.Get("autoReconcileProxyConflict"); } + set { BackingStore?.Set("autoReconcileProxyConflict", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// + /// Instantiates a new and sets the default values. + /// + public RestorePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.RestorePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.RestorePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "autoReconcileProxyConflict", n => { AutoReconcileProxyConflict = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("autoReconcileProxyConflict", AutoReconcileProxyConflict); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/Restore/RestoreRequestBuilder.cs index 18137ce579b..9aeec4b2a78 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/Restore/RestoreRequestBuilder.cs @@ -35,23 +35,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A + /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware 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) + public async Task PostAsync(global::Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(global::Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif - var requestInfo = ToPostRequestInformation(requestConfiguration); + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); var errorMapping = new Dictionary> { { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, @@ -59,22 +61,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A + /// The request body /// Configuration for 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) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default) { #endif + _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); return requestInfo; } /// diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/Restore/RestorePostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/Restore/RestorePostRequestBody.cs new file mode 100644 index 00000000000..cdcad3ca9bc --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/Restore/RestorePostRequestBody.cs @@ -0,0 +1,71 @@ +// +#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.DirectoryObjects.Item.Restore +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] + #pragma warning disable CS1591 + public partial class RestorePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The autoReconcileProxyConflict property + public bool? AutoReconcileProxyConflict + { + get { return BackingStore?.Get("autoReconcileProxyConflict"); } + set { BackingStore?.Set("autoReconcileProxyConflict", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// + /// Instantiates a new and sets the default values. + /// + public RestorePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.DirectoryObjects.Item.Restore.RestorePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.DirectoryObjects.Item.Restore.RestorePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "autoReconcileProxyConflict", n => { AutoReconcileProxyConflict = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("autoReconcileProxyConflict", AutoReconcileProxyConflict); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.cs index 5279209348c..c709749a273 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.cs @@ -35,23 +35,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A + /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware 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) + public async Task PostAsync(global::Microsoft.Graph.DirectoryObjects.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(global::Microsoft.Graph.DirectoryObjects.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif - var requestInfo = ToPostRequestInformation(requestConfiguration); + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); var errorMapping = new Dictionary> { { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, @@ -59,22 +61,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A + /// The request body /// Configuration for 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) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.DirectoryObjects.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.DirectoryObjects.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default) { #endif + _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); return requestInfo; } /// diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/Restore/RestorePostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/Restore/RestorePostRequestBody.cs new file mode 100644 index 00000000000..6c996451954 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/Restore/RestorePostRequestBody.cs @@ -0,0 +1,71 @@ +// +#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.DirectoryRoleTemplates.Item.Restore +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] + #pragma warning disable CS1591 + public partial class RestorePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The autoReconcileProxyConflict property + public bool? AutoReconcileProxyConflict + { + get { return BackingStore?.Get("autoReconcileProxyConflict"); } + set { BackingStore?.Set("autoReconcileProxyConflict", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// + /// Instantiates a new and sets the default values. + /// + public RestorePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.RestorePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.RestorePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "autoReconcileProxyConflict", n => { AutoReconcileProxyConflict = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("autoReconcileProxyConflict", AutoReconcileProxyConflict); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.cs index 1e54225e661..46f84014d41 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.cs @@ -35,23 +35,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A + /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware 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) + public async Task PostAsync(global::Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(global::Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif - var requestInfo = ToPostRequestInformation(requestConfiguration); + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); var errorMapping = new Dictionary> { { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, @@ -59,22 +61,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A + /// The request body /// Configuration for 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) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default) { #endif + _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); return requestInfo; } /// diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Restore/RestorePostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Restore/RestorePostRequestBody.cs new file mode 100644 index 00000000000..5012a44bee2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Restore/RestorePostRequestBody.cs @@ -0,0 +1,71 @@ +// +#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.DirectoryRoles.Item.Restore +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] + #pragma warning disable CS1591 + public partial class RestorePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The autoReconcileProxyConflict property + public bool? AutoReconcileProxyConflict + { + get { return BackingStore?.Get("autoReconcileProxyConflict"); } + set { BackingStore?.Set("autoReconcileProxyConflict", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// + /// Instantiates a new and sets the default values. + /// + public RestorePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.DirectoryRoles.Item.Restore.RestorePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.DirectoryRoles.Item.Restore.RestorePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "autoReconcileProxyConflict", n => { AutoReconcileProxyConflict = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("autoReconcileProxyConflict", AutoReconcileProxyConflict); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.cs index 3ab48b98f55..3af26ddf613 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.cs @@ -35,23 +35,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A + /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware 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) + public async Task PostAsync(global::Microsoft.Graph.DirectoryRoles.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(global::Microsoft.Graph.DirectoryRoles.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif - var requestInfo = ToPostRequestInformation(requestConfiguration); + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); var errorMapping = new Dictionary> { { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, @@ -59,22 +61,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A + /// The request body /// Configuration for 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) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.DirectoryRoles.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.DirectoryRoles.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default) { #endif + _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); return requestInfo; } /// diff --git a/src/Microsoft.Graph/Generated/Domains/Item/DomainItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Domains/Item/DomainItemRequestBuilder.cs index 79007981428..4b5b1ca7621 100644 --- a/src/Microsoft.Graph/Generated/Domains/Item/DomainItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Domains/Item/DomainItemRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Domains.Item.FederationConfiguration; using Microsoft.Graph.Domains.Item.ForceDelete; using Microsoft.Graph.Domains.Item.Promote; +using Microsoft.Graph.Domains.Item.RootDomain; using Microsoft.Graph.Domains.Item.ServiceConfigurationRecords; using Microsoft.Graph.Domains.Item.VerificationDnsRecords; using Microsoft.Graph.Domains.Item.Verify; @@ -45,6 +46,11 @@ public partial class DomainItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Domains.Item.Promote.PromoteRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the rootDomain property of the microsoft.graph.domain entity. + public global::Microsoft.Graph.Domains.Item.RootDomain.RootDomainRequestBuilder RootDomain + { + get => new global::Microsoft.Graph.Domains.Item.RootDomain.RootDomainRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the serviceConfigurationRecords property of the microsoft.graph.domain entity. public global::Microsoft.Graph.Domains.Item.ServiceConfigurationRecords.ServiceConfigurationRecordsRequestBuilder ServiceConfigurationRecords { diff --git a/src/Microsoft.Graph/Generated/Domains/Item/RootDomain/RootDomainRequestBuilder.cs b/src/Microsoft.Graph/Generated/Domains/Item/RootDomain/RootDomainRequestBuilder.cs new file mode 100644 index 00000000000..16688f1a857 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Domains/Item/RootDomain/RootDomainRequestBuilder.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.Domains.Item.RootDomain +{ + /// + /// Provides operations to manage the rootDomain property of the microsoft.graph.domain entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] + public partial class RootDomainRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RootDomainRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/domains/{domain%2Did}/rootDomain{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RootDomainRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/domains/{domain%2Did}/rootDomain{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get rootDomain from domains + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Domain.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get rootDomain from domains + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Domains.Item.RootDomain.RootDomainRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Domains.Item.RootDomain.RootDomainRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get rootDomain from domains + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] + public partial class RootDomainRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] + public partial class RootDomainRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs index 633960e018f..1c856830170 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs @@ -81,8 +81,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ItemRetentionLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. - /// Find more info here + /// Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + /// Find more info here /// /// A /// The request body @@ -145,7 +145,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + /// Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs index fc9a5cbdc00..3579d927aa9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs @@ -213,8 +213,8 @@ public RangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Retrieve the properties and relationships of range object. - /// Find more info here + /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -301,7 +301,7 @@ public RangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return new global::Microsoft.Graph.Drives.Item.Items.Item.Workbook.Names.Item.RangeNamespace.RowWithRow.RowWithRowRequestBuilder(PathParameters, RequestAdapter, row); } /// - /// Retrieve the properties and relationships of range object. + /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs index 1c3abbd8bf1..6e806441822 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs @@ -213,8 +213,8 @@ public RangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Retrieve the properties and relationships of range object. - /// Find more info here + /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -301,7 +301,7 @@ public RangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return new global::Microsoft.Graph.Drives.Item.Items.Item.Workbook.Worksheets.Item.Names.Item.RangeNamespace.RowWithRow.RowWithRowRequestBuilder(PathParameters, RequestAdapter, row); } /// - /// Retrieve the properties and relationships of range object. + /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs index c573926ae7e..21318fa48b2 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs @@ -94,8 +94,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ExternalConnectors.ExternalItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new externalItem object. - /// Find more info here + /// Update the properties of an externalItem object. + /// Find more info here /// /// A /// The request body @@ -158,7 +158,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new externalItem object. + /// Update the properties of an externalItem object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/Restore/RestorePostRequestBody.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/Restore/RestorePostRequestBody.cs new file mode 100644 index 00000000000..8dbf1c4a7f0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/Restore/RestorePostRequestBody.cs @@ -0,0 +1,71 @@ +// +#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.GroupSettingTemplates.Item.Restore +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] + #pragma warning disable CS1591 + public partial class RestorePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The autoReconcileProxyConflict property + public bool? AutoReconcileProxyConflict + { + get { return BackingStore?.Get("autoReconcileProxyConflict"); } + set { BackingStore?.Set("autoReconcileProxyConflict", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// + /// Instantiates a new and sets the default values. + /// + public RestorePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.GroupSettingTemplates.Item.Restore.RestorePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.GroupSettingTemplates.Item.Restore.RestorePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "autoReconcileProxyConflict", n => { AutoReconcileProxyConflict = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("autoReconcileProxyConflict", AutoReconcileProxyConflict); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.cs index 9ce85ec5887..d66d92940b0 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.cs @@ -35,23 +35,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A + /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware 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) + public async Task PostAsync(global::Microsoft.Graph.GroupSettingTemplates.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(global::Microsoft.Graph.GroupSettingTemplates.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif - var requestInfo = ToPostRequestInformation(requestConfiguration); + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); var errorMapping = new Dictionary> { { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, @@ -59,22 +61,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A + /// The request body /// Configuration for 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) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.GroupSettingTemplates.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.GroupSettingTemplates.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default) { #endif + _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); return requestInfo; } /// diff --git a/src/Microsoft.Graph/Generated/Groups/Item/AssignLicense/AssignLicenseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/AssignLicense/AssignLicenseRequestBuilder.cs index 318b497799c..2c2f994feb0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/AssignLicense/AssignLicenseRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/AssignLicense/AssignLicenseRequestBuilder.cs @@ -35,7 +35,7 @@ public AssignLicenseRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// Add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. + /// Add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. Group-based licensing is an alternative to direct user licensing. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public AssignLicenseRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. + /// Add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. Group-based licensing is an alternative to direct user licensing. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs index 52571445048..9b126b33571 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs @@ -64,8 +64,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of conversation object. - /// Find more info here + /// The group's conversations. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -107,7 +107,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of conversation object. + /// The group's conversations. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -143,7 +143,7 @@ public partial class ConversationItemRequestBuilderDeleteRequestConfiguration : { } /// - /// Retrieve the properties and relationships of conversation object. + /// The group's conversations. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class ConversationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs index ed7d2c6fdcb..6292eb237f5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs @@ -34,8 +34,8 @@ public ReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. - /// Find more info here + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Conversations.It await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Restore/RestorePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Restore/RestorePostRequestBody.cs new file mode 100644 index 00000000000..1cbee1befd0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Restore/RestorePostRequestBody.cs @@ -0,0 +1,71 @@ +// +#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.Groups.Item.Restore +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] + #pragma warning disable CS1591 + public partial class RestorePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The autoReconcileProxyConflict property + public bool? AutoReconcileProxyConflict + { + get { return BackingStore?.Get("autoReconcileProxyConflict"); } + set { BackingStore?.Set("autoReconcileProxyConflict", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// + /// Instantiates a new and sets the default values. + /// + public RestorePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Groups.Item.Restore.RestorePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Restore.RestorePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "autoReconcileProxyConflict", n => { AutoReconcileProxyConflict = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("autoReconcileProxyConflict", AutoReconcileProxyConflict); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Restore/RestoreRequestBuilder.cs index 086e2005eb2..1e16e5f369e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Restore/RestoreRequestBuilder.cs @@ -35,23 +35,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A + /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware 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) + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif - var requestInfo = ToPostRequestInformation(requestConfiguration); + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); var errorMapping = new Dictionary> { { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, @@ -59,22 +61,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A + /// The request body /// Configuration for 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) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default) { #endif + _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); return requestInfo; } /// diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs index 5ddf3a4d1eb..9df50302a3b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs @@ -48,7 +48,7 @@ public ConversationThreadItemRequestBuilder(string rawUrl, IRequestAdapter reque } /// /// Delete conversationThread. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs index f44c9a101d5..1e5995c4611 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs @@ -34,8 +34,8 @@ public ReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. - /// Find more info here + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Threads.Item.Rep await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs index b8c6b14c5dc..d8adf3499c2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs @@ -100,8 +100,8 @@ public async Task DeleteAsync(Action - /// Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. - /// Find more info here + /// Retrieve the properties and relationships of an accessPackage object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -169,7 +169,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + /// Retrieve the properties and relationships of an accessPackage object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -227,7 +227,7 @@ public partial class AccessPackageItemRequestBuilderDeleteRequestConfiguration : { } /// - /// Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + /// Retrieve the properties and relationships of an accessPackage object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class AccessPackageItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs index 1d7359de76d..e53a6c59446 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs @@ -35,8 +35,8 @@ public CustomCalloutExtensionItemRequestBuilder(string rawUrl, IRequestAdapter r { } /// - /// Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: - /// Find more info here + /// Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. - /// Find more info here + /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -108,7 +108,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + /// Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -127,7 +127,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -185,7 +185,7 @@ public partial class CustomCalloutExtensionItemRequestBuilderDeleteRequestConfig { } /// - /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class CustomCalloutExtensionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs index 6477a6616f9..5658e02022c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs @@ -76,8 +76,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of an agreement object. - /// Find more info here + /// Retrieve all files related to an agreement. This includes the default file and all localized files. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -145,7 +145,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of an agreement object. + /// Retrieve all files related to an agreement. This includes the default file and all localized files. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -203,7 +203,7 @@ public partial class AgreementItemRequestBuilderDeleteRequestConfiguration : Req { } /// - /// Retrieve the properties and relationships of an agreement object. + /// Retrieve all files related to an agreement. This includes the default file and all localized files. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class AgreementItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/AssignLicense/AssignLicenseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AssignLicense/AssignLicenseRequestBuilder.cs index 162c32dea22..6cad51ad40e 100644 --- a/src/Microsoft.Graph/Generated/Me/AssignLicense/AssignLicenseRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/AssignLicense/AssignLicenseRequestBuilder.cs @@ -35,7 +35,7 @@ public AssignLicenseRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// Add or remove licenses for the user to enable or disable their use of Microsoft cloud offerings that the company has licenses to. For example, an organization can have a Microsoft 365 Enterprise E3 subscription with 100 licenses, and this request assigns one of those licenses to a specific user. You can also enable and disable specific plans associated with a subscription. + /// Add or remove licenses for the user to enable or disable their use of Microsoft cloud offerings that the company has licenses to. For example, an organization can have a Microsoft 365 Enterprise E3 subscription with 100 licenses, and this request assigns one of those licenses to a specific user. You can also enable and disable specific plans associated with a subscription. Direct user licensing method is an alternative to group-based licensing. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public AssignLicenseRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Add or remove licenses for the user to enable or disable their use of Microsoft cloud offerings that the company has licenses to. For example, an organization can have a Microsoft 365 Enterprise E3 subscription with 100 licenses, and this request assigns one of those licenses to a specific user. You can also enable and disable specific plans associated with a subscription. + /// Add or remove licenses for the user to enable or disable their use of Microsoft cloud offerings that the company has licenses to. For example, an organization can have a Microsoft 365 Enterprise E3 subscription with 100 licenses, and this request assigns one of those licenses to a specific user. You can also enable and disable specific plans associated with a subscription. Direct user licensing method is an alternative to group-based licensing. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Methods/MethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Methods/MethodsRequestBuilder.cs index b66c06e98b4..d24779e3640 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Methods/MethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/Methods/MethodsRequestBuilder.cs @@ -54,7 +54,7 @@ public MethodsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Microsoft Entra authentication methods API overview for a list of currently supported methods. We don't recommend using the authentication methods APIs for scenarios where you need to iterate over your entire user population for auditing or security check purposes. For these types of scenarios, we recommend using the authentication method registration and usage reporting APIs (available on the beta endpoint only). + /// Retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Microsoft Entra authentication methods API overview for a list of currently supported methods. We don't recommend using the authentication methods APIs for scenarios where you need to iterate over your entire user population for auditing or security check purposes. For these types of scenarios, we recommend using the authentication method registration and usage reporting APIs. /// Find more info here /// /// A @@ -103,7 +103,7 @@ public MethodsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Microsoft Entra authentication methods API overview for a list of currently supported methods. We don't recommend using the authentication methods APIs for scenarios where you need to iterate over your entire user population for auditing or security check purposes. For these types of scenarios, we recommend using the authentication method registration and usage reporting APIs (available on the beta endpoint only). + /// Retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Microsoft Entra authentication methods API overview for a list of currently supported methods. We don't recommend using the authentication methods APIs for scenarios where you need to iterate over your entire user population for auditing or security check purposes. For these types of scenarios, we recommend using the authentication method registration and usage reporting APIs. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Me.Authentication.Methods.MethodsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Microsoft Entra authentication methods API overview for a list of currently supported methods. We don't recommend using the authentication methods APIs for scenarios where you need to iterate over your entire user population for auditing or security check purposes. For these types of scenarios, we recommend using the authentication method registration and usage reporting APIs (available on the beta endpoint only). + /// Retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Microsoft Entra authentication methods API overview for a list of currently supported methods. We don't recommend using the authentication methods APIs for scenarios where you need to iterate over your entire user population for auditing or security check purposes. For these types of scenarios, we recommend using the authentication method registration and usage reporting APIs. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class MethodsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs index 6373d7ad99c..7103cd7a9aa 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs @@ -107,8 +107,8 @@ public MessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Delete eventMessage. - /// Find more info here + /// Delete a message in the specified user's mailbox, or delete a relationship of the message. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -154,8 +154,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a message object. - /// Find more info here + /// Update the properties of an eventMessage object. + /// Find more info here /// /// A /// The request body @@ -180,7 +180,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete eventMessage. + /// Delete a message in the specified user's mailbox, or delete a relationship of the message. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -218,7 +218,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a message object. + /// Update the properties of an eventMessage object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs index 4abcb8a2d3a..88d9bf6a5da 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs @@ -34,8 +34,8 @@ public ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Delete eventMessage. - /// Find more info here + /// Delete a message in the specified user's mailbox, or delete a relationship of the message. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -57,8 +57,8 @@ public async Task DeleteAsync(Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// Find more info here + /// Get the messages in the signed-in user's mailbox (including the Deleted Items and Clutter folders). Depending on the page size and mailbox data, getting messages from a mailbox can incur multiple requests. The default page size is 10 messages. Use $top to customize the page size, within the range of 1 and 1000. To improve the operation response time, use $select to specify the exact properties you need; see example 1 below. Fine-tune the values for $select and $top, especially when you must use a larger page size, as returning a page with hundreds of messages each with a full response payload may trigger the gateway timeout (HTTP 504). To get the next page of messages, simply apply the entire URL returned in @odata.nextLink to the next get-messages request. This URL includes any query parameters you may have specified in the initial request. Do not try to extract the $skip value from the @odata.nextLink URL to manipulate responses. This API uses the $skip value to keep count of all the items it has gone through in the user's mailbox to return a page of message-type items. It's therefore possible that even in the initial response, the $skip value is larger than the page size. For more information, see Paging Microsoft Graph data in your app. Currently, this operation returns message bodies in only HTML format. There are two scenarios where an app can get messages in another user's mail folder: + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -81,8 +81,8 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a message object. - /// Find more info here + /// Update the properties of an eventMessage object. + /// Find more info here /// /// A /// Binary request body @@ -107,7 +107,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete eventMessage. + /// Delete a message in the specified user's mailbox, or delete a relationship of the message. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -126,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// Get the messages in the signed-in user's mailbox (including the Deleted Items and Clutter folders). Depending on the page size and mailbox data, getting messages from a mailbox can incur multiple requests. The default page size is 10 messages. Use $top to customize the page size, within the range of 1 and 1000. To improve the operation response time, use $select to specify the exact properties you need; see example 1 below. Fine-tune the values for $select and $top, especially when you must use a larger page size, as returning a page with hundreds of messages each with a full response payload may trigger the gateway timeout (HTTP 504). To get the next page of messages, simply apply the entire URL returned in @odata.nextLink to the next get-messages request. This URL includes any query parameters you may have specified in the initial request. Do not try to extract the $skip value from the @odata.nextLink URL to manipulate responses. This API uses the $skip value to keep count of all the items it has gone through in the user's mailbox to return a page of message-type items. It's therefore possible that even in the initial response, the $skip value is larger than the page size. For more information, see Paging Microsoft Graph data in your app. Currently, this operation returns message bodies in only HTML format. There are two scenarios where an app can get messages in another user's mail folder: /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -145,7 +145,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a message object. + /// Update the properties of an eventMessage object. /// /// A /// Binary request body @@ -184,7 +184,7 @@ public partial class ContentRequestBuilderDeleteRequestConfiguration : RequestCo { } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// Get the messages in the signed-in user's mailbox (including the Deleted Items and Clutter folders). Depending on the page size and mailbox data, getting messages from a mailbox can incur multiple requests. The default page size is 10 messages. Use $top to customize the page size, within the range of 1 and 1000. To improve the operation response time, use $select to specify the exact properties you need; see example 1 below. Fine-tune the values for $select and $top, especially when you must use a larger page size, as returning a page with hundreds of messages each with a full response payload may trigger the gateway timeout (HTTP 504). To get the next page of messages, simply apply the entire URL returned in @odata.nextLink to the next get-messages request. This URL includes any query parameters you may have specified in the initial request. Do not try to extract the $skip value from the @odata.nextLink URL to manipulate responses. This API uses the $skip value to keep count of all the items it has gone through in the user's mailbox to return a page of message-type items. It's therefore possible that even in the initial response, the $skip value is larger than the page size. For more information, see Paging Microsoft Graph data in your app. Currently, this operation returns message bodies in only HTML format. There are two scenarios where an app can get messages in another user's mail folder: /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class ContentRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs index 8bbb8a28404..420507120a2 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs @@ -60,8 +60,8 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// Find more info here + /// Get the messages in the signed-in user's mailbox (including the Deleted Items and Clutter folders). Depending on the page size and mailbox data, getting messages from a mailbox can incur multiple requests. The default page size is 10 messages. Use $top to customize the page size, within the range of 1 and 1000. To improve the operation response time, use $select to specify the exact properties you need; see example 1 below. Fine-tune the values for $select and $top, especially when you must use a larger page size, as returning a page with hundreds of messages each with a full response payload may trigger the gateway timeout (HTTP 504). To get the next page of messages, simply apply the entire URL returned in @odata.nextLink to the next get-messages request. This URL includes any query parameters you may have specified in the initial request. Do not try to extract the $skip value from the @odata.nextLink URL to manipulate responses. This API uses the $skip value to keep count of all the items it has gone through in the user's mailbox to return a page of message-type items. It's therefore possible that even in the initial response, the $skip value is larger than the page size. For more information, see Paging Microsoft Graph data in your app. Currently, this operation returns message bodies in only HTML format. There are two scenarios where an app can get messages in another user's mail folder: + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -110,7 +110,7 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// Get the messages in the signed-in user's mailbox (including the Deleted Items and Clutter folders). Depending on the page size and mailbox data, getting messages from a mailbox can incur multiple requests. The default page size is 10 messages. Use $top to customize the page size, within the range of 1 and 1000. To improve the operation response time, use $select to specify the exact properties you need; see example 1 below. Fine-tune the values for $select and $top, especially when you must use a larger page size, as returning a page with hundreds of messages each with a full response payload may trigger the gateway timeout (HTTP 504). To get the next page of messages, simply apply the entire URL returned in @odata.nextLink to the next get-messages request. This URL includes any query parameters you may have specified in the initial request. Do not try to extract the $skip value from the @odata.nextLink URL to manipulate responses. This API uses the $skip value to keep count of all the items it has gone through in the user's mailbox to return a page of message-type items. It's therefore possible that even in the initial response, the $skip value is larger than the page size. For more information, see Paging Microsoft Graph data in your app. Currently, this operation returns message bodies in only HTML format. There are two scenarios where an app can get messages in another user's mail folder: /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Me.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// Get the messages in the signed-in user's mailbox (including the Deleted Items and Clutter folders). Depending on the page size and mailbox data, getting messages from a mailbox can incur multiple requests. The default page size is 10 messages. Use $top to customize the page size, within the range of 1 and 1000. To improve the operation response time, use $select to specify the exact properties you need; see example 1 below. Fine-tune the values for $select and $top, especially when you must use a larger page size, as returning a page with hundreds of messages each with a full response payload may trigger the gateway timeout (HTTP 504). To get the next page of messages, simply apply the entire URL returned in @odata.nextLink to the next get-messages request. This URL includes any query parameters you may have specified in the initial request. Do not try to extract the $skip value from the @odata.nextLink URL to manipulate responses. This API uses the $skip value to keep count of all the items it has gone through in the user's mailbox to return a page of message-type items. It's therefore possible that even in the initial response, the $skip value is larger than the page size. For more information, see Paging Microsoft Graph data in your app. Currently, this operation returns message bodies in only HTML format. There are two scenarios where an app can get messages in another user's mail folder: /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class MessagesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Restore/RestorePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Restore/RestorePostRequestBody.cs new file mode 100644 index 00000000000..50eaf451d2d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Restore/RestorePostRequestBody.cs @@ -0,0 +1,71 @@ +// +#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.Restore +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] + #pragma warning disable CS1591 + public partial class RestorePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The autoReconcileProxyConflict property + public bool? AutoReconcileProxyConflict + { + get { return BackingStore?.Get("autoReconcileProxyConflict"); } + set { BackingStore?.Set("autoReconcileProxyConflict", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// + /// Instantiates a new and sets the default values. + /// + public RestorePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Me.Restore.RestorePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Restore.RestorePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "autoReconcileProxyConflict", n => { AutoReconcileProxyConflict = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("autoReconcileProxyConflict", AutoReconcileProxyConflict); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Restore/RestoreRequestBuilder.cs index 1f410cdab9b..0aacdc8f5ec 100644 --- a/src/Microsoft.Graph/Generated/Me/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Restore/RestoreRequestBuilder.cs @@ -35,23 +35,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A + /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware 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) + public async Task PostAsync(global::Microsoft.Graph.Me.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(global::Microsoft.Graph.Me.Restore.RestorePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif - var requestInfo = ToPostRequestInformation(requestConfiguration); + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); var errorMapping = new Dictionary> { { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, @@ -59,22 +61,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A + /// The request body /// Configuration for 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) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Restore.RestorePostRequestBody body, Action> requestConfiguration = default) { #endif + _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); return requestInfo; } /// diff --git a/src/Microsoft.Graph/Generated/Me/Solutions/SolutionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Solutions/SolutionsRequestBuilder.cs index cb375b5e7aa..802bae4a6d9 100644 --- a/src/Microsoft.Graph/Generated/Me/Solutions/SolutionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Solutions/SolutionsRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// Get solutions from me + /// The identifier that relates the user to the working time schedule triggers. Read-Only. Nullable /// /// A /// Cancellation token to use when cancelling requests @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get solutions from me + /// The identifier that relates the user to the working time schedule triggers. Read-Only. Nullable /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -188,7 +188,7 @@ public partial class SolutionsRequestBuilderDeleteRequestConfiguration : Request { } /// - /// Get solutions from me + /// The identifier that relates the user to the working time schedule triggers. Read-Only. Nullable /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class SolutionsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Solutions/WorkingTimeSchedule/EndWorkingTime/EndWorkingTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Solutions/WorkingTimeSchedule/EndWorkingTime/EndWorkingTimeRequestBuilder.cs index b50e078724b..862b120145d 100644 --- a/src/Microsoft.Graph/Generated/Me/Solutions/WorkingTimeSchedule/EndWorkingTime/EndWorkingTimeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Solutions/WorkingTimeSchedule/EndWorkingTime/EndWorkingTimeRequestBuilder.cs @@ -34,7 +34,8 @@ public EndWorkingTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// Triggers the policies associated with the end of working hours for user. + /// Trigger the policies associated with the end of working hours for a specific user. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -56,7 +57,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Triggers the policies associated with the end of working hours for user. + /// Trigger the policies associated with the end of working hours for a specific user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Solutions/WorkingTimeSchedule/StartWorkingTime/StartWorkingTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Solutions/WorkingTimeSchedule/StartWorkingTime/StartWorkingTimeRequestBuilder.cs index fd749f8c99e..19503e7df56 100644 --- a/src/Microsoft.Graph/Generated/Me/Solutions/WorkingTimeSchedule/StartWorkingTime/StartWorkingTimeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Solutions/WorkingTimeSchedule/StartWorkingTime/StartWorkingTimeRequestBuilder.cs @@ -34,7 +34,8 @@ public StartWorkingTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Triggers the policies associated with the start of working hours for user. + /// Trigger the policies associated with the start of working hours for a specific user. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -56,7 +57,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Triggers the policies associated with the start of working hours for user. + /// Trigger the policies associated with the start of working hours for a specific user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Solutions/WorkingTimeSchedule/WorkingTimeScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Solutions/WorkingTimeSchedule/WorkingTimeScheduleRequestBuilder.cs index 77cc629fc21..a16640e8838 100644 --- a/src/Microsoft.Graph/Generated/Me/Solutions/WorkingTimeSchedule/WorkingTimeScheduleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Solutions/WorkingTimeSchedule/WorkingTimeScheduleRequestBuilder.cs @@ -69,7 +69,7 @@ public async Task DeleteAsync(Action - /// Get workingTimeSchedule from me + /// The working time schedule entity associated with the solution. /// /// A /// Cancellation token to use when cancelling requests @@ -136,7 +136,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get workingTimeSchedule from me + /// The working time schedule entity associated with the solution. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -194,7 +194,7 @@ public partial class WorkingTimeScheduleRequestBuilderDeleteRequestConfiguration { } /// - /// Get workingTimeSchedule from me + /// The working time schedule entity associated with the solution. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class WorkingTimeScheduleRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Models/AdministrativeUnit.cs b/src/Microsoft.Graph/Generated/Models/AdministrativeUnit.cs index cc9fe07eb24..d629a6420cc 100644 --- a/src/Microsoft.Graph/Generated/Models/AdministrativeUnit.cs +++ b/src/Microsoft.Graph/Generated/Models/AdministrativeUnit.cs @@ -60,6 +60,12 @@ public string DisplayName set { BackingStore?.Set("extensions", value); } } #endif + /// The isMemberManagementRestricted property + public bool? IsMemberManagementRestricted + { + get { return BackingStore?.Get("isMemberManagementRestricted"); } + set { BackingStore?.Set("isMemberManagementRestricted", value); } + } /// Users and groups that are members of this administrative unit. Supports $expand. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -75,6 +81,54 @@ public string DisplayName get { return BackingStore?.Get>("members"); } set { BackingStore?.Set("members", value); } } +#endif + /// The membershipRule property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MembershipRule + { + get { return BackingStore?.Get("membershipRule"); } + set { BackingStore?.Set("membershipRule", value); } + } +#nullable restore +#else + public string MembershipRule + { + get { return BackingStore?.Get("membershipRule"); } + set { BackingStore?.Set("membershipRule", value); } + } +#endif + /// The membershipRuleProcessingState property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MembershipRuleProcessingState + { + get { return BackingStore?.Get("membershipRuleProcessingState"); } + set { BackingStore?.Set("membershipRuleProcessingState", value); } + } +#nullable restore +#else + public string MembershipRuleProcessingState + { + get { return BackingStore?.Get("membershipRuleProcessingState"); } + set { BackingStore?.Set("membershipRuleProcessingState", value); } + } +#endif + /// The membershipType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MembershipType + { + get { return BackingStore?.Get("membershipType"); } + set { BackingStore?.Set("membershipType", value); } + } +#nullable restore +#else + public string MembershipType + { + get { return BackingStore?.Get("membershipType"); } + set { BackingStore?.Set("membershipType", value); } + } #endif /// Scoped-role members of this administrative unit. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -136,7 +190,11 @@ public override IDictionary> GetFieldDeserializers() { "description", n => { Description = n.GetStringValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "extensions", n => { Extensions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue)?.AsList(); } }, + { "isMemberManagementRestricted", n => { IsMemberManagementRestricted = n.GetBoolValue(); } }, { "members", n => { Members = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, + { "membershipRule", n => { MembershipRule = n.GetStringValue(); } }, + { "membershipRuleProcessingState", n => { MembershipRuleProcessingState = n.GetStringValue(); } }, + { "membershipType", n => { MembershipType = n.GetStringValue(); } }, { "scopedRoleMembers", n => { ScopedRoleMembers = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ScopedRoleMembership.CreateFromDiscriminatorValue)?.AsList(); } }, { "visibility", n => { Visibility = n.GetStringValue(); } }, }; @@ -152,7 +210,11 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("description", Description); writer.WriteStringValue("displayName", DisplayName); writer.WriteCollectionOfObjectValues("extensions", Extensions); + writer.WriteBoolValue("isMemberManagementRestricted", IsMemberManagementRestricted); writer.WriteCollectionOfObjectValues("members", Members); + writer.WriteStringValue("membershipRule", MembershipRule); + writer.WriteStringValue("membershipRuleProcessingState", MembershipRuleProcessingState); + writer.WriteStringValue("membershipType", MembershipType); writer.WriteCollectionOfObjectValues("scopedRoleMembers", ScopedRoleMembers); writer.WriteStringValue("visibility", Visibility); } diff --git a/src/Microsoft.Graph/Generated/Models/Device.cs b/src/Microsoft.Graph/Generated/Models/Device.cs index 32669e22f9c..5cfbaf61a0d 100644 --- a/src/Microsoft.Graph/Generated/Models/Device.cs +++ b/src/Microsoft.Graph/Generated/Models/Device.cs @@ -192,6 +192,12 @@ public bool? IsManaged get { return BackingStore?.Get("isManaged"); } set { BackingStore?.Set("isManaged", value); } } + /// The isManagementRestricted property + public bool? IsManagementRestricted + { + get { return BackingStore?.Get("isManagementRestricted"); } + set { BackingStore?.Set("isManagementRestricted", value); } + } /// true if the device is rooted or jail-broken. This property can only be updated by Intune. public bool? IsRooted { @@ -496,6 +502,7 @@ public override IDictionary> GetFieldDeserializers() { "extensions", n => { Extensions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Extension.CreateFromDiscriminatorValue)?.AsList(); } }, { "isCompliant", n => { IsCompliant = n.GetBoolValue(); } }, { "isManaged", n => { IsManaged = n.GetBoolValue(); } }, + { "isManagementRestricted", n => { IsManagementRestricted = n.GetBoolValue(); } }, { "isRooted", n => { IsRooted = n.GetBoolValue(); } }, { "managementType", n => { ManagementType = n.GetStringValue(); } }, { "manufacturer", n => { Manufacturer = n.GetStringValue(); } }, @@ -540,6 +547,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("extensions", Extensions); writer.WriteBoolValue("isCompliant", IsCompliant); writer.WriteBoolValue("isManaged", IsManaged); + writer.WriteBoolValue("isManagementRestricted", IsManagementRestricted); writer.WriteBoolValue("isRooted", IsRooted); writer.WriteStringValue("managementType", ManagementType); writer.WriteStringValue("manufacturer", Manufacturer); diff --git a/src/Microsoft.Graph/Generated/Models/Domain.cs b/src/Microsoft.Graph/Generated/Models/Domain.cs index 899001d7434..36ee6bd4b6a 100644 --- a/src/Microsoft.Graph/Generated/Models/Domain.cs +++ b/src/Microsoft.Graph/Generated/Models/Domain.cs @@ -150,6 +150,22 @@ public int? PasswordValidityPeriodInDays get { return BackingStore?.Get("passwordValidityPeriodInDays"); } set { BackingStore?.Set("passwordValidityPeriodInDays", value); } } + /// The rootDomain property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.Domain? RootDomain + { + get { return BackingStore?.Get("rootDomain"); } + set { BackingStore?.Set("rootDomain", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.Domain RootDomain + { + get { return BackingStore?.Get("rootDomain"); } + set { BackingStore?.Set("rootDomain", value); } + } +#endif /// DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Supports $expand. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -245,6 +261,7 @@ public override IDictionary> GetFieldDeserializers() { "model", n => { Model = n.GetStringValue(); } }, { "passwordNotificationWindowInDays", n => { PasswordNotificationWindowInDays = n.GetIntValue(); } }, { "passwordValidityPeriodInDays", n => { PasswordValidityPeriodInDays = n.GetIntValue(); } }, + { "rootDomain", n => { RootDomain = n.GetObjectValue(global::Microsoft.Graph.Models.Domain.CreateFromDiscriminatorValue); } }, { "serviceConfigurationRecords", n => { ServiceConfigurationRecords = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DomainDnsRecord.CreateFromDiscriminatorValue)?.AsList(); } }, { "state", n => { State = n.GetObjectValue(global::Microsoft.Graph.Models.DomainState.CreateFromDiscriminatorValue); } }, { "supportedServices", n => { SupportedServices = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, @@ -272,6 +289,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("model", Model); writer.WriteIntValue("passwordNotificationWindowInDays", PasswordNotificationWindowInDays); writer.WriteIntValue("passwordValidityPeriodInDays", PasswordValidityPeriodInDays); + writer.WriteObjectValue("rootDomain", RootDomain); writer.WriteCollectionOfObjectValues("serviceConfigurationRecords", ServiceConfigurationRecords); writer.WriteObjectValue("state", State); writer.WriteCollectionOfPrimitiveValues("supportedServices", SupportedServices); diff --git a/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs b/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs index e932a490f50..10a0412f377 100644 --- a/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs +++ b/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs @@ -104,7 +104,7 @@ public string DisplayName set { BackingStore?.Set("permissions", value); } } #endif - /// Status of the fileStorageContainer. Containers are created as inactive and require activation. Inactive containers are subjected to automatic deletion in 24 hours. The possible values are: inactive, active. Read-only. + /// Status of the fileStorageContainer. Containers are created as inactive and require activation. Inactive containers are subjected to automatic deletion in 24 hours. The possible values are: inactive, active. Read-only. public global::Microsoft.Graph.Models.FileStorageContainerStatus? Status { get { return BackingStore?.Get("status"); } diff --git a/src/Microsoft.Graph/Generated/Models/Group.cs b/src/Microsoft.Graph/Generated/Models/Group.cs index 330fcf6e195..35623a21cf1 100644 --- a/src/Microsoft.Graph/Generated/Models/Group.cs +++ b/src/Microsoft.Graph/Generated/Models/Group.cs @@ -338,6 +338,12 @@ public bool? IsAssignableToRole get { return BackingStore?.Get("isAssignableToRole"); } set { BackingStore?.Set("isAssignableToRole", value); } } + /// The isManagementRestricted property + public bool? IsManagementRestricted + { + get { return BackingStore?.Get("isManagementRestricted"); } + set { BackingStore?.Set("isManagementRestricted", value); } + } /// Indicates whether the signed-in user is subscribed to receive email conversations. The default value is true. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). public bool? IsSubscribedByMail { @@ -586,7 +592,7 @@ public bool? OnPremisesSyncEnabled get { return BackingStore?.Get("onPremisesSyncEnabled"); } set { BackingStore?.Set("onPremisesSyncEnabled", value); } } - /// The owners of the group. Limited to 100 owners. Nullable. If this property isn't specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). + /// The owners of the group who can be users or service principals. Limited to 100 owners. Nullable. If this property isn't specified when creating a Microsoft 365 group the calling user (admin or non-admin) is automatically assigned as the group owner. A non-admin user can't explicitly add themselves to this collection when they're creating the group. For more information, see the related known issue. For security groups, the admin user isn't automatically added to this collection. For more information, see the related known issue. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1); Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Owners @@ -975,6 +981,7 @@ public override IDictionary> GetFieldDeserializers() { "hideFromOutlookClients", n => { HideFromOutlookClients = n.GetBoolValue(); } }, { "isArchived", n => { IsArchived = n.GetBoolValue(); } }, { "isAssignableToRole", n => { IsAssignableToRole = n.GetBoolValue(); } }, + { "isManagementRestricted", n => { IsManagementRestricted = n.GetBoolValue(); } }, { "isSubscribedByMail", n => { IsSubscribedByMail = n.GetBoolValue(); } }, { "licenseProcessingState", n => { LicenseProcessingState = n.GetObjectValue(global::Microsoft.Graph.Models.LicenseProcessingState.CreateFromDiscriminatorValue); } }, { "mail", n => { Mail = n.GetStringValue(); } }, @@ -1052,6 +1059,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteBoolValue("hideFromOutlookClients", HideFromOutlookClients); writer.WriteBoolValue("isArchived", IsArchived); writer.WriteBoolValue("isAssignableToRole", IsAssignableToRole); + writer.WriteBoolValue("isManagementRestricted", IsManagementRestricted); writer.WriteBoolValue("isSubscribedByMail", IsSubscribedByMail); writer.WriteObjectValue("licenseProcessingState", LicenseProcessingState); writer.WriteStringValue("mail", Mail); diff --git a/src/Microsoft.Graph/Generated/Models/ScheduleInformation.cs b/src/Microsoft.Graph/Generated/Models/ScheduleInformation.cs index fffed5e52ae..229ef04c717 100644 --- a/src/Microsoft.Graph/Generated/Models/ScheduleInformation.cs +++ b/src/Microsoft.Graph/Generated/Models/ScheduleInformation.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// Represents a merged view of availability of all the items in scheduleItems. The view consists of time slots. Availability during each time slot is indicated with: 0= free or working elswhere, 1= tentative, 2= busy, 3= out of office.Note: Working elsewhere is set to 0 instead of 4 for backward compatibility. For details, see the Q&A. + /// Represents a merged view of availability of all the items in scheduleItems. The view consists of time slots. Availability during each time slot is indicated with: 0= free or working elswhere, 1= tentative, 2= busy, 3= out of office.Note: Working elsewhere is set to 0 instead of 4 for backward compatibility. For details, see the Q&A and Exchange 2007 and Exchange 2010 do not use the WorkingElsewhere value. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AvailabilityView diff --git a/src/Microsoft.Graph/Generated/Models/Security/HealthIssue.cs b/src/Microsoft.Graph/Generated/Models/Security/HealthIssue.cs index d534f961a95..cb9a6f81fe6 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/HealthIssue.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/HealthIssue.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models.Security public partial class HealthIssue : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The additionalInformation property + /// Contains additional information about the issue, such as a list of items to fix. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? AdditionalInformation @@ -28,13 +28,13 @@ public List AdditionalInformation set { BackingStore?.Set("additionalInformation", value); } } #endif - /// The createdDateTime property + /// The date and time when the health issue was generated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? CreatedDateTime { get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// The description property + /// Contains more detailed information about the health issue. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Description @@ -50,7 +50,7 @@ public string Description set { BackingStore?.Set("description", value); } } #endif - /// The displayName property + /// The display name of the health issue. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -66,7 +66,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The domainNames property + /// A list of the fully qualified domain names of the domains or the sensors the health issue is related to. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? DomainNames @@ -82,13 +82,13 @@ public List DomainNames set { BackingStore?.Set("domainNames", value); } } #endif - /// The healthIssueType property + /// The type of the health issue. The possible values are: sensor, global, unknownFutureValue. For a list of all health issues and their identifiers, see Microsoft Defender for Identity health issues. public global::Microsoft.Graph.Models.Security.HealthIssueType? HealthIssueType { get { return BackingStore?.Get("healthIssueType"); } set { BackingStore?.Set("healthIssueType", value); } } - /// The issueTypeId property + /// The type identifier of the health issue. For a list of all health issues and their identifiers, see Microsoft Defender for Identity health issues. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? IssueTypeId @@ -104,13 +104,13 @@ public string IssueTypeId set { BackingStore?.Set("issueTypeId", value); } } #endif - /// The lastModifiedDateTime property + /// The date and time when the health issue was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? LastModifiedDateTime { get { return BackingStore?.Get("lastModifiedDateTime"); } set { BackingStore?.Set("lastModifiedDateTime", value); } } - /// The recommendations property + /// A list of recommended actions that can be taken to resolve the issue effectively and efficiently. These actions might include instructions for further investigation and aren't limited to prewritten responses. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Recommendations @@ -126,7 +126,7 @@ public List Recommendations set { BackingStore?.Set("recommendations", value); } } #endif - /// The recommendedActionCommands property + /// A list of commands from the PowerShell module for the product that can be used to resolve the issue, if available. If no commands can be used to solve the issue, this property is empty. The commands, if present, provide a quick and efficient way to address the issue. These commands run in sequence for the single recommended fix. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? RecommendedActionCommands @@ -142,7 +142,7 @@ public List RecommendedActionCommands set { BackingStore?.Set("recommendedActionCommands", value); } } #endif - /// The sensorDNSNames property + /// A list of the DNS names of the sensors the health issue is related to. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? SensorDNSNames @@ -158,13 +158,13 @@ public List SensorDNSNames set { BackingStore?.Set("sensorDNSNames", value); } } #endif - /// The severity property + /// The severity of the health issue. The possible values are: low, medium, high, unknownFutureValue. public global::Microsoft.Graph.Models.Security.HealthIssueSeverity? Severity { get { return BackingStore?.Get("severity"); } set { BackingStore?.Set("severity", value); } } - /// The status property + /// The status of the health issue. The possible values are: open, closed, suppressed, unknownFutureValue. public global::Microsoft.Graph.Models.Security.HealthIssueStatus? Status { get { return BackingStore?.Get("status"); } diff --git a/src/Microsoft.Graph/Generated/Models/Security/IdentityContainer.cs b/src/Microsoft.Graph/Generated/Models/Security/IdentityContainer.cs index 39019597321..da1d19b6b55 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/IdentityContainer.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/IdentityContainer.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models.Security public partial class IdentityContainer : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The healthIssues property + /// Represents potential issues identified by Microsoft Defender for Identity within a customer's Microsoft Defender for Identity configuration. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? HealthIssues diff --git a/src/Microsoft.Graph/Generated/Models/Security/Security.cs b/src/Microsoft.Graph/Generated/Models/Security/Security.cs index c2eabd5d6cd..d5cfec49029 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/Security.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/Security.cs @@ -76,7 +76,7 @@ public partial class Security : global::Microsoft.Graph.Models.Entity, IParsable set { BackingStore?.Set("cases", value); } } #endif - /// The identities property + /// A container for security identities APIs. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.Security.IdentityContainer? Identities diff --git a/src/Microsoft.Graph/Generated/Models/User.cs b/src/Microsoft.Graph/Generated/Models/User.cs index b38f6976393..5f1927a923f 100644 --- a/src/Microsoft.Graph/Generated/Models/User.cs +++ b/src/Microsoft.Graph/Generated/Models/User.cs @@ -796,6 +796,12 @@ public List Interests set { BackingStore?.Set("interests", value); } } #endif + /// The isManagementRestricted property + public bool? IsManagementRestricted + { + get { return BackingStore?.Get("isManagementRestricted"); } + set { BackingStore?.Set("isManagementRestricted", value); } + } /// Don't use – reserved for future use. public bool? IsResourceAccount { @@ -1744,7 +1750,7 @@ public List Skills set { BackingStore?.Set("skills", value); } } #endif - /// The solutions property + /// The identifier that relates the user to the working time schedule triggers. Read-Only. Nullable #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.UserSolutionRoot? Solutions @@ -1999,6 +2005,7 @@ public override IDictionary> GetFieldDeserializers() { "inferenceClassification", n => { InferenceClassification = n.GetObjectValue(global::Microsoft.Graph.Models.InferenceClassification.CreateFromDiscriminatorValue); } }, { "insights", n => { Insights = n.GetObjectValue(global::Microsoft.Graph.Models.ItemInsights.CreateFromDiscriminatorValue); } }, { "interests", n => { Interests = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "isManagementRestricted", n => { IsManagementRestricted = n.GetBoolValue(); } }, { "isResourceAccount", n => { IsResourceAccount = n.GetBoolValue(); } }, { "jobTitle", n => { JobTitle = n.GetStringValue(); } }, { "joinedTeams", n => { JoinedTeams = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -2137,6 +2144,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteObjectValue("inferenceClassification", InferenceClassification); writer.WriteObjectValue("insights", Insights); writer.WriteCollectionOfPrimitiveValues("interests", Interests); + writer.WriteBoolValue("isManagementRestricted", IsManagementRestricted); writer.WriteBoolValue("isResourceAccount", IsResourceAccount); writer.WriteStringValue("jobTitle", JobTitle); writer.WriteCollectionOfObjectValues("joinedTeams", JoinedTeams); diff --git a/src/Microsoft.Graph/Generated/Models/UserSolutionRoot.cs b/src/Microsoft.Graph/Generated/Models/UserSolutionRoot.cs index f656632f5ab..4c740833113 100644 --- a/src/Microsoft.Graph/Generated/Models/UserSolutionRoot.cs +++ b/src/Microsoft.Graph/Generated/Models/UserSolutionRoot.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class UserSolutionRoot : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The workingTimeSchedule property + /// The working time schedule entity associated with the solution. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.WorkingTimeSchedule? WorkingTimeSchedule diff --git a/src/Microsoft.Graph/Generated/Models/WorkbookWorksheetProtectionOptions.cs b/src/Microsoft.Graph/Generated/Models/WorkbookWorksheetProtectionOptions.cs index fab82a879b4..09257c54f06 100644 --- a/src/Microsoft.Graph/Generated/Models/WorkbookWorksheetProtectionOptions.cs +++ b/src/Microsoft.Graph/Generated/Models/WorkbookWorksheetProtectionOptions.cs @@ -19,67 +19,67 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// Indicates whether the worksheet protection option to allow the use of the autofilter feature is enabled. + /// Represents the worksheet protection option of allowing using auto filter feature. public bool? AllowAutoFilter { get { return BackingStore?.Get("allowAutoFilter"); } set { BackingStore?.Set("allowAutoFilter", value); } } - /// Indicates whether the worksheet protection option to allow deleting columns is enabled. + /// Represents the worksheet protection option of allowing deleting columns. public bool? AllowDeleteColumns { get { return BackingStore?.Get("allowDeleteColumns"); } set { BackingStore?.Set("allowDeleteColumns", value); } } - /// Indicates whether the worksheet protection option to allow deleting rows is enabled. + /// Represents the worksheet protection option of allowing deleting rows. public bool? AllowDeleteRows { get { return BackingStore?.Get("allowDeleteRows"); } set { BackingStore?.Set("allowDeleteRows", value); } } - /// Indicates whether the worksheet protection option to allow formatting cells is enabled. + /// Represents the worksheet protection option of allowing formatting cells. public bool? AllowFormatCells { get { return BackingStore?.Get("allowFormatCells"); } set { BackingStore?.Set("allowFormatCells", value); } } - /// Indicates whether the worksheet protection option to allow formatting columns is enabled. + /// Represents the worksheet protection option of allowing formatting columns. public bool? AllowFormatColumns { get { return BackingStore?.Get("allowFormatColumns"); } set { BackingStore?.Set("allowFormatColumns", value); } } - /// Indicates whether the worksheet protection option to allow formatting rows is enabled. + /// Represents the worksheet protection option of allowing formatting rows. public bool? AllowFormatRows { get { return BackingStore?.Get("allowFormatRows"); } set { BackingStore?.Set("allowFormatRows", value); } } - /// Indicates whether the worksheet protection option to allow inserting columns is enabled. + /// Represents the worksheet protection option of allowing inserting columns. public bool? AllowInsertColumns { get { return BackingStore?.Get("allowInsertColumns"); } set { BackingStore?.Set("allowInsertColumns", value); } } - /// Indicates whether the worksheet protection option to allow inserting hyperlinks is enabled. + /// Represents the worksheet protection option of allowing inserting hyperlinks. public bool? AllowInsertHyperlinks { get { return BackingStore?.Get("allowInsertHyperlinks"); } set { BackingStore?.Set("allowInsertHyperlinks", value); } } - /// Indicates whether the worksheet protection option to allow inserting rows is enabled. + /// Represents the worksheet protection option of allowing inserting rows. public bool? AllowInsertRows { get { return BackingStore?.Get("allowInsertRows"); } set { BackingStore?.Set("allowInsertRows", value); } } - /// Indicates whether the worksheet protection option to allow the use of the pivot table feature is enabled. + /// Represents the worksheet protection option of allowing using pivot table feature. public bool? AllowPivotTables { get { return BackingStore?.Get("allowPivotTables"); } set { BackingStore?.Set("allowPivotTables", value); } } - /// Indicates whether the worksheet protection option to allow the use of the sort feature is enabled. + /// Represents the worksheet protection option of allowing using sort feature. public bool? AllowSort { get { return BackingStore?.Get("allowSort"); } diff --git a/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs index 385de0808f6..ca90d65df98 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs @@ -135,8 +135,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.Organization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. - /// Find more info here + /// Update the properties of a organization object. + /// Find more info here /// /// A /// The request body @@ -199,7 +199,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. + /// Update the properties of a organization object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Restore/RestorePostRequestBody.cs b/src/Microsoft.Graph/Generated/Organization/Item/Restore/RestorePostRequestBody.cs new file mode 100644 index 00000000000..94ce604b4af --- /dev/null +++ b/src/Microsoft.Graph/Generated/Organization/Item/Restore/RestorePostRequestBody.cs @@ -0,0 +1,71 @@ +// +#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.Organization.Item.Restore +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] + #pragma warning disable CS1591 + public partial class RestorePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The autoReconcileProxyConflict property + public bool? AutoReconcileProxyConflict + { + get { return BackingStore?.Get("autoReconcileProxyConflict"); } + set { BackingStore?.Set("autoReconcileProxyConflict", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// + /// Instantiates a new and sets the default values. + /// + public RestorePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Organization.Item.Restore.RestorePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Organization.Item.Restore.RestorePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "autoReconcileProxyConflict", n => { AutoReconcileProxyConflict = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("autoReconcileProxyConflict", AutoReconcileProxyConflict); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Restore/RestoreRequestBuilder.cs index e226041256f..df42e3d92e0 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Restore/RestoreRequestBuilder.cs @@ -35,23 +35,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A + /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware 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) + public async Task PostAsync(global::Microsoft.Graph.Organization.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(global::Microsoft.Graph.Organization.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif - var requestInfo = ToPostRequestInformation(requestConfiguration); + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); var errorMapping = new Dictionary> { { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, @@ -59,22 +61,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A + /// The request body /// Configuration for 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) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Organization.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Organization.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default) { #endif + _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); return requestInfo; } /// diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/Item/Restore/RestorePostRequestBody.cs b/src/Microsoft.Graph/Generated/PermissionGrants/Item/Restore/RestorePostRequestBody.cs new file mode 100644 index 00000000000..1001ec42727 --- /dev/null +++ b/src/Microsoft.Graph/Generated/PermissionGrants/Item/Restore/RestorePostRequestBody.cs @@ -0,0 +1,71 @@ +// +#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.PermissionGrants.Item.Restore +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] + #pragma warning disable CS1591 + public partial class RestorePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The autoReconcileProxyConflict property + public bool? AutoReconcileProxyConflict + { + get { return BackingStore?.Get("autoReconcileProxyConflict"); } + set { BackingStore?.Set("autoReconcileProxyConflict", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// + /// Instantiates a new and sets the default values. + /// + public RestorePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.PermissionGrants.Item.Restore.RestorePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.PermissionGrants.Item.Restore.RestorePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "autoReconcileProxyConflict", n => { AutoReconcileProxyConflict = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("autoReconcileProxyConflict", AutoReconcileProxyConflict); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs index 26cdd40dd2e..f6d57cf04e7 100644 --- a/src/Microsoft.Graph/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs @@ -35,23 +35,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A + /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware 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) + public async Task PostAsync(global::Microsoft.Graph.PermissionGrants.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(global::Microsoft.Graph.PermissionGrants.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif - var requestInfo = ToPostRequestInformation(requestConfiguration); + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); var errorMapping = new Dictionary> { { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, @@ -59,22 +61,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A + /// The request body /// Configuration for 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) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.PermissionGrants.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.PermissionGrants.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default) { #endif + _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); return requestInfo; } /// diff --git a/src/Microsoft.Graph/Generated/Security/Identities/HealthIssues/HealthIssuesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Identities/HealthIssues/HealthIssuesRequestBuilder.cs index 5c77aeb1747..46337127fdc 100644 --- a/src/Microsoft.Graph/Generated/Security/Identities/HealthIssues/HealthIssuesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Identities/HealthIssues/HealthIssuesRequestBuilder.cs @@ -54,7 +54,8 @@ public HealthIssuesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Get healthIssues from security + /// Get a list of healthIssue objects and their properties. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +103,7 @@ public HealthIssuesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Security.HealthIssue.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get healthIssues from security + /// Get a list of healthIssue objects and their properties. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Security.Identities.HealthIssues.HealthIssuesRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get healthIssues from security + /// Get a list of healthIssue objects and their properties. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class HealthIssuesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Security/Identities/HealthIssues/Item/HealthIssueItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Identities/HealthIssues/Item/HealthIssueItemRequestBuilder.cs index ee61739f373..dbc14d6c59e 100644 --- a/src/Microsoft.Graph/Generated/Security/Identities/HealthIssues/Item/HealthIssueItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Identities/HealthIssues/Item/HealthIssueItemRequestBuilder.cs @@ -57,7 +57,8 @@ public async Task DeleteAsync(Action - /// Get healthIssues from security + /// Read the properties and relationships of a healthIssue object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -80,7 +81,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.Security.HealthIssue.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the navigation property healthIssues in security + /// Update the properties of a healthIssue object. + /// Find more info here /// /// A /// The request body @@ -124,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get healthIssues from security + /// Read the properties and relationships of a healthIssue object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -143,7 +145,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property healthIssues in security + /// Update the properties of a healthIssue object. /// /// A /// The request body @@ -182,7 +184,7 @@ public partial class HealthIssueItemRequestBuilderDeleteRequestConfiguration : R { } /// - /// Get healthIssues from security + /// Read the properties and relationships of a healthIssue object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class HealthIssueItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Security/Identities/IdentitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Identities/IdentitiesRequestBuilder.cs index 08d766fb2cc..fbaf50bc699 100644 --- a/src/Microsoft.Graph/Generated/Security/Identities/IdentitiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Identities/IdentitiesRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// Get identities from security + /// A container for security identities APIs. /// /// A /// Cancellation token to use when cancelling requests @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get identities from security + /// A container for security identities APIs. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -188,7 +188,7 @@ public partial class IdentitiesRequestBuilderDeleteRequestConfiguration : Reques { } /// - /// Get identities from security + /// A container for security identities APIs. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class IdentitiesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Restore/RestorePostRequestBody.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Restore/RestorePostRequestBody.cs new file mode 100644 index 00000000000..478719d99c4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Restore/RestorePostRequestBody.cs @@ -0,0 +1,71 @@ +// +#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.ServicePrincipals.Item.Restore +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] + #pragma warning disable CS1591 + public partial class RestorePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The autoReconcileProxyConflict property + public bool? AutoReconcileProxyConflict + { + get { return BackingStore?.Get("autoReconcileProxyConflict"); } + set { BackingStore?.Set("autoReconcileProxyConflict", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// + /// Instantiates a new and sets the default values. + /// + public RestorePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.ServicePrincipals.Item.Restore.RestorePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.ServicePrincipals.Item.Restore.RestorePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "autoReconcileProxyConflict", n => { AutoReconcileProxyConflict = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("autoReconcileProxyConflict", AutoReconcileProxyConflict); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.cs index 9153d6ff85c..b916eacfc1d 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.cs @@ -35,23 +35,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A + /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware 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) + public async Task PostAsync(global::Microsoft.Graph.ServicePrincipals.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(global::Microsoft.Graph.ServicePrincipals.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif - var requestInfo = ToPostRequestInformation(requestConfiguration); + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); var errorMapping = new Dictionary> { { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, @@ -59,22 +61,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A + /// The request body /// Configuration for 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) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.ServicePrincipals.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.ServicePrincipals.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default) { #endif + _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); return requestInfo; } /// diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/ContainersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/ContainersRequestBuilder.cs index 86049943c20..e4c5dcb3a28 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/ContainersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/ContainersRequestBuilder.cs @@ -78,7 +78,7 @@ public ContainersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.FileStorageContainerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new fileStorageContainer object. The respective container type identified by containerTypeId must be enabled in the tenant. For delegated calls, the calling user is set as the owner of the fileStorageContainer. + /// Create a new fileStorageContainer object. The container type identified by containerTypeId must be enabled in the tenant. For delegated calls, the calling user is set as the owner of the fileStorageContainer. /// Find more info here /// /// A @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new fileStorageContainer object. The respective container type identified by containerTypeId must be enabled in the tenant. For delegated calls, the calling user is set as the owner of the fileStorageContainer. + /// Create a new fileStorageContainer object. The container type identified by containerTypeId must be enabled in the tenant. For delegated calls, the calling user is set as the owner of the fileStorageContainer. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index 33b2f777dde..6cf99f1434c 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. - /// Find more info here + /// Update the role of a conversationMember in a team or channel. + /// Find more info here /// /// A /// The request body @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + /// Update the role of a conversationMember in a team or channel. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.cs index 7b59cf05e65..4caf8092ebb 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.cs @@ -84,8 +84,8 @@ public MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. - /// Find more info here + /// Add a conversationMember to a channel. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. + /// Add a conversationMember to a channel. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index c5ae12b2afd..04bd990d960 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -84,8 +84,8 @@ public RepliesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new reply to a chatMessage in a specified channel. - /// Find more info here + /// Send a new reply to a chatMessage in a specified channel. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new reply to a chatMessage in a specified channel. + /// Send a new reply to a chatMessage in a specified channel. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs index 35e436fa49c..14bb9ae997c 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -84,8 +84,8 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. + /// Send a new chatMessage in the specified channel or a chat. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.cs index 81c7257e1d5..4d5a3b21c9f 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.cs @@ -71,8 +71,8 @@ public MultiTenantOrganizationRequestBuilder(string rawUrl, IRequestAdapter requ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MultiTenantOrganization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multitenant organization. - /// Find more info here + /// Update the properties of a multitenant organization. + /// Find more info here /// /// A /// The request body @@ -116,7 +116,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multitenant organization. + /// Update the properties of a multitenant organization. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Users/Item/AssignLicense/AssignLicenseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AssignLicense/AssignLicenseRequestBuilder.cs index d2c56f0c687..d06cc06f3ba 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/AssignLicense/AssignLicenseRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/AssignLicense/AssignLicenseRequestBuilder.cs @@ -35,7 +35,7 @@ public AssignLicenseRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// Add or remove licenses for the user to enable or disable their use of Microsoft cloud offerings that the company has licenses to. For example, an organization can have a Microsoft 365 Enterprise E3 subscription with 100 licenses, and this request assigns one of those licenses to a specific user. You can also enable and disable specific plans associated with a subscription. + /// Add or remove licenses for the user to enable or disable their use of Microsoft cloud offerings that the company has licenses to. For example, an organization can have a Microsoft 365 Enterprise E3 subscription with 100 licenses, and this request assigns one of those licenses to a specific user. You can also enable and disable specific plans associated with a subscription. Direct user licensing method is an alternative to group-based licensing. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public AssignLicenseRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Add or remove licenses for the user to enable or disable their use of Microsoft cloud offerings that the company has licenses to. For example, an organization can have a Microsoft 365 Enterprise E3 subscription with 100 licenses, and this request assigns one of those licenses to a specific user. You can also enable and disable specific plans associated with a subscription. + /// Add or remove licenses for the user to enable or disable their use of Microsoft cloud offerings that the company has licenses to. For example, an organization can have a Microsoft 365 Enterprise E3 subscription with 100 licenses, and this request assigns one of those licenses to a specific user. You can also enable and disable specific plans associated with a subscription. Direct user licensing method is an alternative to group-based licensing. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs index 49905a8b920..d80c162afdb 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs @@ -87,8 +87,8 @@ public async Task DeleteAsync(Action - /// Set a presence status message for a user. An optional expiration date and time can be supplied. - /// Find more info here + /// Get a user's presence information. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -155,7 +155,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Set a presence status message for a user. An optional expiration date and time can be supplied. + /// Get a user's presence information. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +213,7 @@ public partial class PresenceRequestBuilderDeleteRequestConfiguration : RequestC { } /// - /// Set a presence status message for a user. An optional expiration date and time can be supplied. + /// Get a user's presence information. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class PresenceRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Restore/RestorePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Restore/RestorePostRequestBody.cs new file mode 100644 index 00000000000..318aa82859c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Restore/RestorePostRequestBody.cs @@ -0,0 +1,71 @@ +// +#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.Restore +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] + #pragma warning disable CS1591 + public partial class RestorePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The autoReconcileProxyConflict property + public bool? AutoReconcileProxyConflict + { + get { return BackingStore?.Get("autoReconcileProxyConflict"); } + set { BackingStore?.Set("autoReconcileProxyConflict", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// + /// Instantiates a new and sets the default values. + /// + public RestorePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Users.Item.Restore.RestorePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.Restore.RestorePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "autoReconcileProxyConflict", n => { AutoReconcileProxyConflict = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("autoReconcileProxyConflict", AutoReconcileProxyConflict); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Restore/RestoreRequestBuilder.cs index 60036b48cda..329e58671e0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Restore/RestoreRequestBuilder.cs @@ -35,23 +35,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A + /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware 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) + public async Task PostAsync(global::Microsoft.Graph.Users.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(global::Microsoft.Graph.Users.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif - var requestInfo = ToPostRequestInformation(requestConfiguration); + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); var errorMapping = new Dictionary> { { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, @@ -59,22 +61,25 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A + /// The request body /// Configuration for 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) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default) { #endif + _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); requestInfo.Configure(requestConfiguration); requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); return requestInfo; } /// diff --git a/src/Microsoft.Graph/Generated/Users/Item/Solutions/SolutionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Solutions/SolutionsRequestBuilder.cs index c45aa0c4108..9c1ec8a46f0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Solutions/SolutionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Solutions/SolutionsRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// Get solutions from users + /// The identifier that relates the user to the working time schedule triggers. Read-Only. Nullable /// /// A /// Cancellation token to use when cancelling requests @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get solutions from users + /// The identifier that relates the user to the working time schedule triggers. Read-Only. Nullable /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -188,7 +188,7 @@ public partial class SolutionsRequestBuilderDeleteRequestConfiguration : Request { } /// - /// Get solutions from users + /// The identifier that relates the user to the working time schedule triggers. Read-Only. Nullable /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class SolutionsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Solutions/WorkingTimeSchedule/EndWorkingTime/EndWorkingTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Solutions/WorkingTimeSchedule/EndWorkingTime/EndWorkingTimeRequestBuilder.cs index eef6d0941d1..27b103e908c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Solutions/WorkingTimeSchedule/EndWorkingTime/EndWorkingTimeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Solutions/WorkingTimeSchedule/EndWorkingTime/EndWorkingTimeRequestBuilder.cs @@ -34,7 +34,8 @@ public EndWorkingTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// Triggers the policies associated with the end of working hours for user. + /// Trigger the policies associated with the end of working hours for a specific user. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -56,7 +57,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Triggers the policies associated with the end of working hours for user. + /// Trigger the policies associated with the end of working hours for a specific user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Solutions/WorkingTimeSchedule/StartWorkingTime/StartWorkingTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Solutions/WorkingTimeSchedule/StartWorkingTime/StartWorkingTimeRequestBuilder.cs index 8a35926785b..39c16ad495d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Solutions/WorkingTimeSchedule/StartWorkingTime/StartWorkingTimeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Solutions/WorkingTimeSchedule/StartWorkingTime/StartWorkingTimeRequestBuilder.cs @@ -34,7 +34,8 @@ public StartWorkingTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Triggers the policies associated with the start of working hours for user. + /// Trigger the policies associated with the start of working hours for a specific user. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -56,7 +57,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Triggers the policies associated with the start of working hours for user. + /// Trigger the policies associated with the start of working hours for a specific user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Solutions/WorkingTimeSchedule/WorkingTimeScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Solutions/WorkingTimeSchedule/WorkingTimeScheduleRequestBuilder.cs index 5eb455fe658..25815e52b8a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Solutions/WorkingTimeSchedule/WorkingTimeScheduleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Solutions/WorkingTimeSchedule/WorkingTimeScheduleRequestBuilder.cs @@ -69,7 +69,7 @@ public async Task DeleteAsync(Action - /// Get workingTimeSchedule from users + /// The working time schedule entity associated with the solution. /// /// A /// Cancellation token to use when cancelling requests @@ -136,7 +136,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get workingTimeSchedule from users + /// The working time schedule entity associated with the solution. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -194,7 +194,7 @@ public partial class WorkingTimeScheduleRequestBuilderDeleteRequestConfiguration { } /// - /// Get workingTimeSchedule from users + /// The working time schedule entity associated with the solution. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] public partial class WorkingTimeScheduleRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs index 49e5d4036cf..8f302700579 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs @@ -481,8 +481,8 @@ public UserItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. - /// Find more info here + /// Deletes a user. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -517,7 +517,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the user object. - /// Find more info here + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -541,7 +541,7 @@ public async Task DeleteAsync(Action /// Update the properties of a user object. - /// Find more info here + /// Find more info here /// /// A /// The request body @@ -578,7 +578,7 @@ public async Task DeleteAsync(Action - /// Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. + /// Deletes a user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs index 895baf0ad64..63c9bdc8097 100644 --- a/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs @@ -79,7 +79,7 @@ public UsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base } /// /// List properties and relationships of the user objects. - /// Find more info here + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests diff --git a/src/Microsoft.Graph/Generated/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index f7f378ddc63..a12b5a9498b 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -1946,12 +1946,20 @@ Microsoft.Graph.Applications.Item.RemovePassword.removePasswordRequestBuilder::| Microsoft.Graph.Applications.Item.RemovePassword.removePasswordRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Applications.Item.RemovePassword.RemovePasswordPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Applications.Item.RemovePassword.removePasswordRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Applications.Item.RemovePassword.RemovePasswordPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Applications.Item.RemovePassword.removePasswordRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Applications.Item.RemovePassword.RemovePasswordRequestBuilder +Microsoft.Graph.Applications.Item.Restore.restorePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Applications.Item.Restore.restorePostRequestBody::|public|AutoReconcileProxyConflict:bool? +Microsoft.Graph.Applications.Item.Restore.restorePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Applications.Item.Restore.restorePostRequestBody::|public|constructor():void +Microsoft.Graph.Applications.Item.Restore.restorePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Applications.Item.Restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Applications.Item.Restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Applications.Item.Restore.RestorePostRequestBody +Microsoft.Graph.Applications.Item.Restore.restorePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Applications.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Applications.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Applications.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Applications.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Applications.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.Applications.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Applications.Item.Restore.restoreRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Applications.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.Applications.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Applications.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Applications.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Applications.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Applications.Item.SetVerifiedPublisher.setVerifiedPublisherPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Applications.Item.SetVerifiedPublisher.setVerifiedPublisherPostRequestBody::|public|BackingStore:IBackingStore @@ -6139,12 +6147,20 @@ Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder::|public|ToGetRequest Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.OrgContact; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder::|public|transitiveMemberOf:global.Microsoft.Graph.Contacts.Item.TransitiveMemberOf.TransitiveMemberOfRequestBuilder Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Contacts.Item.OrgContactItemRequestBuilder +Microsoft.Graph.Contacts.Item.Restore.restorePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Contacts.Item.Restore.restorePostRequestBody::|public|AutoReconcileProxyConflict:bool? +Microsoft.Graph.Contacts.Item.Restore.restorePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Contacts.Item.Restore.restorePostRequestBody::|public|constructor():void +Microsoft.Graph.Contacts.Item.Restore.restorePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Contacts.Item.Restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Contacts.Item.Restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Contacts.Item.Restore.RestorePostRequestBody +Microsoft.Graph.Contacts.Item.Restore.restorePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Contacts.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Contacts.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Contacts.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Contacts.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Contacts.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.Contacts.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Contacts.Item.Restore.restoreRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Contacts.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.Contacts.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Contacts.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Contacts.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Contacts.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Contacts.Item.RetryServiceProvisioning.retryServiceProvisioningRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Contacts.Item.RetryServiceProvisioning.retryServiceProvisioningRequestBuilder.retryServiceProvisioningRequestBuilderPostRequestConfiguration-->RequestConfiguration @@ -6518,12 +6534,20 @@ Microsoft.Graph.Contracts.Item.GetMemberObjects.getMemberObjectsRequestBuilder:: Microsoft.Graph.Contracts.Item.GetMemberObjects.getMemberObjectsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Contracts.Item.GetMemberObjects.GetMemberObjectsRequestBuilder Microsoft.Graph.Contracts.Item.GetMemberObjects.getMemberObjectsResponse-->global.Microsoft.Graph.Contracts.Item.GetMemberObjects.GetMemberObjectsPostResponse Microsoft.Graph.Contracts.Item.GetMemberObjects.getMemberObjectsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Contracts.Item.GetMemberObjects.GetMemberObjectsResponse +Microsoft.Graph.Contracts.Item.Restore.restorePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Contracts.Item.Restore.restorePostRequestBody::|public|AutoReconcileProxyConflict:bool? +Microsoft.Graph.Contracts.Item.Restore.restorePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Contracts.Item.Restore.restorePostRequestBody::|public|constructor():void +Microsoft.Graph.Contracts.Item.Restore.restorePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Contracts.Item.Restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Contracts.Item.Restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Contracts.Item.Restore.RestorePostRequestBody +Microsoft.Graph.Contracts.Item.Restore.restorePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Contracts.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Contracts.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Contracts.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Contracts.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Contracts.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.Contracts.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Contracts.Item.Restore.restoreRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Contracts.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.Contracts.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Contracts.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Contracts.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Contracts.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Contracts.ValidateProperties.validatePropertiesPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Contracts.ValidateProperties.validatePropertiesPostRequestBody::|public|BackingStore:IBackingStore @@ -18398,12 +18422,20 @@ Microsoft.Graph.Devices.Item.RegisteredUsers.registeredUsersRequestBuilder::|pub Microsoft.Graph.Devices.Item.RegisteredUsers.registeredUsersRequestBuilder::|public|Ref:global.Microsoft.Graph.Devices.Item.RegisteredUsers.Ref.RefRequestBuilder Microsoft.Graph.Devices.Item.RegisteredUsers.registeredUsersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Devices.Item.RegisteredUsers.registeredUsersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Devices.Item.RegisteredUsers.RegisteredUsersRequestBuilder +Microsoft.Graph.Devices.Item.Restore.restorePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Devices.Item.Restore.restorePostRequestBody::|public|AutoReconcileProxyConflict:bool? +Microsoft.Graph.Devices.Item.Restore.restorePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Devices.Item.Restore.restorePostRequestBody::|public|constructor():void +Microsoft.Graph.Devices.Item.Restore.restorePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Devices.Item.Restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Devices.Item.Restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Devices.Item.Restore.RestorePostRequestBody +Microsoft.Graph.Devices.Item.Restore.restorePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Devices.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Devices.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Devices.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Devices.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Devices.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.Devices.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Devices.Item.Restore.restoreRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Devices.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.Devices.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Devices.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Devices.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Devices.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Devices.Item.TransitiveMemberOf.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Devices.Item.TransitiveMemberOf.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string @@ -19515,12 +19547,20 @@ Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.GraphUser.graphUserRequestB Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.GraphUser.graphUserRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.User Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.GraphUser.graphUserRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.GraphUser.graphUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.GraphUser.GraphUserRequestBuilder +Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.restorePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.restorePostRequestBody::|public|AutoReconcileProxyConflict:bool? +Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.restorePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.restorePostRequestBody::|public|constructor():void +Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.restorePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.RestorePostRequestBody +Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.restorePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.restoreRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.Restore.RestoreRequestBuilder Microsoft.Graph.DirectoryNamespace.DeletedItems.ValidateProperties.validatePropertiesPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.DirectoryNamespace.DeletedItems.ValidateProperties.validatePropertiesPostRequestBody::|public|BackingStore:IBackingStore @@ -19988,12 +20028,20 @@ Microsoft.Graph.DirectoryObjects.Item.GetMemberObjects.getMemberObjectsRequestBu Microsoft.Graph.DirectoryObjects.Item.GetMemberObjects.getMemberObjectsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DirectoryObjects.Item.GetMemberObjects.GetMemberObjectsRequestBuilder Microsoft.Graph.DirectoryObjects.Item.GetMemberObjects.getMemberObjectsResponse-->global.Microsoft.Graph.DirectoryObjects.Item.GetMemberObjects.GetMemberObjectsPostResponse Microsoft.Graph.DirectoryObjects.Item.GetMemberObjects.getMemberObjectsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.DirectoryObjects.Item.GetMemberObjects.GetMemberObjectsResponse +Microsoft.Graph.DirectoryObjects.Item.Restore.restorePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.DirectoryObjects.Item.Restore.restorePostRequestBody::|public|AutoReconcileProxyConflict:bool? +Microsoft.Graph.DirectoryObjects.Item.Restore.restorePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.DirectoryObjects.Item.Restore.restorePostRequestBody::|public|constructor():void +Microsoft.Graph.DirectoryObjects.Item.Restore.restorePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.DirectoryObjects.Item.Restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.DirectoryObjects.Item.Restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.DirectoryObjects.Item.Restore.RestorePostRequestBody +Microsoft.Graph.DirectoryObjects.Item.Restore.restorePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.DirectoryObjects.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder Microsoft.Graph.DirectoryObjects.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.DirectoryObjects.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.DirectoryObjects.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.DirectoryObjects.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.DirectoryObjects.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DirectoryObjects.Item.Restore.restoreRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.DirectoryObjects.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.DirectoryObjects.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.DirectoryObjects.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DirectoryObjects.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DirectoryObjects.Item.Restore.RestoreRequestBuilder Microsoft.Graph.DirectoryObjects.ValidateProperties.validatePropertiesPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.DirectoryObjects.ValidateProperties.validatePropertiesPostRequestBody::|public|BackingStore:IBackingStore @@ -20504,12 +20552,20 @@ Microsoft.Graph.DirectoryRoles.Item.Members.Ref.RefRequestBuilder::|public|ToDel Microsoft.Graph.DirectoryRoles.Item.Members.Ref.RefRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DirectoryRoles.Item.Members.Ref.RefRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ReferenceCreate; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DirectoryRoles.Item.Members.Ref.RefRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DirectoryRoles.Item.Members.Ref.RefRequestBuilder +Microsoft.Graph.DirectoryRoles.Item.Restore.restorePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.DirectoryRoles.Item.Restore.restorePostRequestBody::|public|AutoReconcileProxyConflict:bool? +Microsoft.Graph.DirectoryRoles.Item.Restore.restorePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.DirectoryRoles.Item.Restore.restorePostRequestBody::|public|constructor():void +Microsoft.Graph.DirectoryRoles.Item.Restore.restorePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.DirectoryRoles.Item.Restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.DirectoryRoles.Item.Restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.DirectoryRoles.Item.Restore.RestorePostRequestBody +Microsoft.Graph.DirectoryRoles.Item.Restore.restorePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.DirectoryRoles.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder Microsoft.Graph.DirectoryRoles.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.DirectoryRoles.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.DirectoryRoles.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.DirectoryRoles.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.DirectoryRoles.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DirectoryRoles.Item.Restore.restoreRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.DirectoryRoles.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.DirectoryRoles.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.DirectoryRoles.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DirectoryRoles.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DirectoryRoles.Item.Restore.RestoreRequestBuilder Microsoft.Graph.DirectoryRoles.Item.ScopedMembers.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.DirectoryRoles.Item.ScopedMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string @@ -20803,12 +20859,20 @@ Microsoft.Graph.DirectoryRoleTemplates.Item.GetMemberObjects.getMemberObjectsReq Microsoft.Graph.DirectoryRoleTemplates.Item.GetMemberObjects.getMemberObjectsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DirectoryRoleTemplates.Item.GetMemberObjects.GetMemberObjectsRequestBuilder Microsoft.Graph.DirectoryRoleTemplates.Item.GetMemberObjects.getMemberObjectsResponse-->global.Microsoft.Graph.DirectoryRoleTemplates.Item.GetMemberObjects.GetMemberObjectsPostResponse Microsoft.Graph.DirectoryRoleTemplates.Item.GetMemberObjects.getMemberObjectsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.DirectoryRoleTemplates.Item.GetMemberObjects.GetMemberObjectsResponse +Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.restorePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.restorePostRequestBody::|public|AutoReconcileProxyConflict:bool? +Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.restorePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.restorePostRequestBody::|public|constructor():void +Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.restorePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.RestorePostRequestBody +Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.restorePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.restoreRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DirectoryRoleTemplates.Item.Restore.RestoreRequestBuilder Microsoft.Graph.DirectoryRoleTemplates.ValidateProperties.validatePropertiesPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.DirectoryRoleTemplates.ValidateProperties.validatePropertiesPostRequestBody::|public|BackingStore:IBackingStore @@ -20916,6 +20980,7 @@ Microsoft.Graph.Domains.Item.DomainItemRequestBuilder::|public|forceDelete:globa Microsoft.Graph.Domains.Item.DomainItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Domain Microsoft.Graph.Domains.Item.DomainItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Domain; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Domain Microsoft.Graph.Domains.Item.DomainItemRequestBuilder::|public|promote:global.Microsoft.Graph.Domains.Item.Promote.PromoteRequestBuilder +Microsoft.Graph.Domains.Item.DomainItemRequestBuilder::|public|rootDomain:global.Microsoft.Graph.Domains.Item.RootDomain.RootDomainRequestBuilder Microsoft.Graph.Domains.Item.DomainItemRequestBuilder::|public|serviceConfigurationRecords:global.Microsoft.Graph.Domains.Item.ServiceConfigurationRecords.ServiceConfigurationRecordsRequestBuilder Microsoft.Graph.Domains.Item.DomainItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Domains.Item.DomainItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -21035,6 +21100,15 @@ Microsoft.Graph.Domains.Item.Promote.promoteRequestBuilder::|public|ToPostReques Microsoft.Graph.Domains.Item.Promote.promoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Domains.Item.Promote.PromoteRequestBuilder Microsoft.Graph.Domains.Item.Promote.promoteResponse-->global.Microsoft.Graph.Domains.Item.Promote.PromotePostResponse Microsoft.Graph.Domains.Item.Promote.promoteResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Domains.Item.Promote.PromoteResponse +Microsoft.Graph.Domains.Item.RootDomain.rootDomainRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Domains.Item.RootDomain.rootDomainRequestBuilder.rootDomainRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Domains.Item.RootDomain.rootDomainRequestBuilder.rootDomainRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Domains.Item.RootDomain.rootDomainRequestBuilder.rootDomainRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Domains.Item.RootDomain.rootDomainRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Domains.Item.RootDomain.rootDomainRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Domains.Item.RootDomain.rootDomainRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Domain +Microsoft.Graph.Domains.Item.RootDomain.rootDomainRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Domains.Item.RootDomain.rootDomainRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Domains.Item.RootDomain.RootDomainRequestBuilder Microsoft.Graph.Domains.Item.ServiceConfigurationRecords.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Domains.Item.ServiceConfigurationRecords.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Domains.Item.ServiceConfigurationRecords.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -51451,12 +51525,20 @@ Microsoft.Graph.Groups.Item.ResetUnseenCount.resetUnseenCountRequestBuilder::|pu Microsoft.Graph.Groups.Item.ResetUnseenCount.resetUnseenCountRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Groups.Item.ResetUnseenCount.resetUnseenCountRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.ResetUnseenCount.resetUnseenCountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.ResetUnseenCount.ResetUnseenCountRequestBuilder +Microsoft.Graph.Groups.Item.Restore.restorePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Groups.Item.Restore.restorePostRequestBody::|public|AutoReconcileProxyConflict:bool? +Microsoft.Graph.Groups.Item.Restore.restorePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Groups.Item.Restore.restorePostRequestBody::|public|constructor():void +Microsoft.Graph.Groups.Item.Restore.restorePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Restore.RestorePostRequestBody +Microsoft.Graph.Groups.Item.Restore.restorePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Groups.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Groups.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Groups.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Groups.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Groups.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.Groups.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Restore.restoreRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Groups.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.Groups.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Groups.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Groups.Item.RetryServiceProvisioning.retryServiceProvisioningRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Groups.Item.RetryServiceProvisioning.retryServiceProvisioningRequestBuilder.retryServiceProvisioningRequestBuilderPostRequestConfiguration-->RequestConfiguration @@ -63668,12 +63750,20 @@ Microsoft.Graph.GroupSettingTemplates.Item.GroupSettingTemplateItemRequestBuilde Microsoft.Graph.GroupSettingTemplates.Item.GroupSettingTemplateItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.GroupSettingTemplates.Item.GroupSettingTemplateItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.GroupSettingTemplate; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.GroupSettingTemplates.Item.GroupSettingTemplateItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.GroupSettingTemplates.Item.GroupSettingTemplateItemRequestBuilder +Microsoft.Graph.GroupSettingTemplates.Item.Restore.restorePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.GroupSettingTemplates.Item.Restore.restorePostRequestBody::|public|AutoReconcileProxyConflict:bool? +Microsoft.Graph.GroupSettingTemplates.Item.Restore.restorePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.GroupSettingTemplates.Item.Restore.restorePostRequestBody::|public|constructor():void +Microsoft.Graph.GroupSettingTemplates.Item.Restore.restorePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.GroupSettingTemplates.Item.Restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.GroupSettingTemplates.Item.Restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.GroupSettingTemplates.Item.Restore.RestorePostRequestBody +Microsoft.Graph.GroupSettingTemplates.Item.Restore.restorePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.GroupSettingTemplates.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder Microsoft.Graph.GroupSettingTemplates.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.GroupSettingTemplates.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.GroupSettingTemplates.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.GroupSettingTemplates.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.GroupSettingTemplates.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.GroupSettingTemplates.Item.Restore.restoreRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.GroupSettingTemplates.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.GroupSettingTemplates.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.GroupSettingTemplates.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.GroupSettingTemplates.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.GroupSettingTemplates.Item.Restore.RestoreRequestBuilder Microsoft.Graph.GroupSettingTemplates.ValidateProperties.validatePropertiesPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.GroupSettingTemplates.ValidateProperties.validatePropertiesPostRequestBody::|public|BackingStore:IBackingStore @@ -92346,12 +92436,20 @@ Microsoft.Graph.Me.ReprocessLicenseAssignment.reprocessLicenseAssignmentRequestB Microsoft.Graph.Me.ReprocessLicenseAssignment.reprocessLicenseAssignmentRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.User Microsoft.Graph.Me.ReprocessLicenseAssignment.reprocessLicenseAssignmentRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.ReprocessLicenseAssignment.reprocessLicenseAssignmentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ReprocessLicenseAssignment.ReprocessLicenseAssignmentRequestBuilder +Microsoft.Graph.Me.Restore.restorePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.Restore.restorePostRequestBody::|public|AutoReconcileProxyConflict:bool? +Microsoft.Graph.Me.Restore.restorePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.Restore.restorePostRequestBody::|public|constructor():void +Microsoft.Graph.Me.Restore.restorePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.Restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Restore.RestorePostRequestBody +Microsoft.Graph.Me.Restore.restorePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Me.Restore.restoreRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Me.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Me.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.Me.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Restore.restoreRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.Me.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Restore.RestorePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Restore.RestoreRequestBuilder Microsoft.Graph.Me.RetryServiceProvisioning.retryServiceProvisioningRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.RetryServiceProvisioning.retryServiceProvisioningRequestBuilder.retryServiceProvisioningRequestBuilderPostRequestConfiguration-->RequestConfiguration @@ -94531,7 +94629,11 @@ Microsoft.Graph.Models.administrativeUnit::|public|Description:string Microsoft.Graph.Models.administrativeUnit::|public|DisplayName:string Microsoft.Graph.Models.administrativeUnit::|public|Extensions:List Microsoft.Graph.Models.administrativeUnit::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.administrativeUnit::|public|IsMemberManagementRestricted:bool? Microsoft.Graph.Models.administrativeUnit::|public|Members:List +Microsoft.Graph.Models.administrativeUnit::|public|MembershipRule:string +Microsoft.Graph.Models.administrativeUnit::|public|MembershipRuleProcessingState:string +Microsoft.Graph.Models.administrativeUnit::|public|MembershipType:string Microsoft.Graph.Models.administrativeUnit::|public|OdataType:string Microsoft.Graph.Models.administrativeUnit::|public|ScopedRoleMembers:List Microsoft.Graph.Models.administrativeUnit::|public|Serialize(writer:ISerializationWriter):void @@ -100850,6 +100952,7 @@ Microsoft.Graph.Models.device::|public|Extensions:List> Microsoft.Graph.Models.device::|public|IsCompliant:bool? Microsoft.Graph.Models.device::|public|IsManaged:bool? +Microsoft.Graph.Models.device::|public|IsManagementRestricted:bool? Microsoft.Graph.Models.device::|public|IsRooted:bool? Microsoft.Graph.Models.device::|public|ManagementType:string Microsoft.Graph.Models.device::|public|Manufacturer:string @@ -102080,6 +102183,7 @@ Microsoft.Graph.Models.domain::|public|Model:string Microsoft.Graph.Models.domain::|public|OdataType:string Microsoft.Graph.Models.domain::|public|PasswordNotificationWindowInDays:int? Microsoft.Graph.Models.domain::|public|PasswordValidityPeriodInDays:int? +Microsoft.Graph.Models.domain::|public|RootDomain:global.Microsoft.Graph.Models.Domain Microsoft.Graph.Models.domain::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.domain::|public|ServiceConfigurationRecords:List Microsoft.Graph.Models.domain::|public|State:global.Microsoft.Graph.Models.DomainState @@ -104306,6 +104410,7 @@ Microsoft.Graph.Models.group::|public|HideFromAddressLists:bool? Microsoft.Graph.Models.group::|public|HideFromOutlookClients:bool? Microsoft.Graph.Models.group::|public|IsArchived:bool? Microsoft.Graph.Models.group::|public|IsAssignableToRole:bool? +Microsoft.Graph.Models.group::|public|IsManagementRestricted:bool? Microsoft.Graph.Models.group::|public|IsSubscribedByMail:bool? Microsoft.Graph.Models.group::|public|LicenseProcessingState:global.Microsoft.Graph.Models.LicenseProcessingState Microsoft.Graph.Models.group::|public|Mail:string @@ -120699,6 +120804,7 @@ Microsoft.Graph.Models.user::|public|ImAddresses:List Microsoft.Graph.Models.user::|public|InferenceClassification:global.Microsoft.Graph.Models.InferenceClassification Microsoft.Graph.Models.user::|public|Insights:global.Microsoft.Graph.Models.ItemInsights Microsoft.Graph.Models.user::|public|Interests:List +Microsoft.Graph.Models.user::|public|IsManagementRestricted:bool? Microsoft.Graph.Models.user::|public|IsResourceAccount:bool? Microsoft.Graph.Models.user::|public|JobTitle:string Microsoft.Graph.Models.user::|public|JoinedTeams:List @@ -124935,12 +125041,20 @@ Microsoft.Graph.Organization.Item.OrganizationItemRequestBuilder::|public|ToDele Microsoft.Graph.Organization.Item.OrganizationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Organization.Item.OrganizationItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Organization; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Organization.Item.OrganizationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Organization.Item.OrganizationItemRequestBuilder +Microsoft.Graph.Organization.Item.Restore.restorePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Organization.Item.Restore.restorePostRequestBody::|public|AutoReconcileProxyConflict:bool? +Microsoft.Graph.Organization.Item.Restore.restorePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Organization.Item.Restore.restorePostRequestBody::|public|constructor():void +Microsoft.Graph.Organization.Item.Restore.restorePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Organization.Item.Restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Organization.Item.Restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Organization.Item.Restore.RestorePostRequestBody +Microsoft.Graph.Organization.Item.Restore.restorePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Organization.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Organization.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Organization.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Organization.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Organization.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.Organization.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Organization.Item.Restore.restoreRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Organization.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.Organization.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Organization.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Organization.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Organization.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Organization.Item.SetMobileDeviceManagementAuthority.setMobileDeviceManagementAuthorityPostResponse::|public|AdditionalData:IDictionary Microsoft.Graph.Organization.Item.SetMobileDeviceManagementAuthority.setMobileDeviceManagementAuthorityPostResponse::|public|BackingStore:IBackingStore @@ -125184,12 +125298,20 @@ Microsoft.Graph.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequest Microsoft.Graph.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ResourceSpecificPermissionGrant; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.PermissionGrants.Item.ResourceSpecificPermissionGrantItemRequestBuilder +Microsoft.Graph.PermissionGrants.Item.Restore.restorePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.PermissionGrants.Item.Restore.restorePostRequestBody::|public|AutoReconcileProxyConflict:bool? +Microsoft.Graph.PermissionGrants.Item.Restore.restorePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.PermissionGrants.Item.Restore.restorePostRequestBody::|public|constructor():void +Microsoft.Graph.PermissionGrants.Item.Restore.restorePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.PermissionGrants.Item.Restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.PermissionGrants.Item.Restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.PermissionGrants.Item.Restore.RestorePostRequestBody +Microsoft.Graph.PermissionGrants.Item.Restore.restorePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.PermissionGrants.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder Microsoft.Graph.PermissionGrants.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.PermissionGrants.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.PermissionGrants.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.PermissionGrants.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.PermissionGrants.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.PermissionGrants.Item.Restore.restoreRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.PermissionGrants.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.PermissionGrants.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.PermissionGrants.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.PermissionGrants.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.PermissionGrants.Item.Restore.RestoreRequestBuilder Microsoft.Graph.PermissionGrants.permissionGrantsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.PermissionGrants.permissionGrantsRequestBuilder.permissionGrantsRequestBuilderGetQueryParameters::|public|Count:bool? @@ -138466,12 +138588,20 @@ Microsoft.Graph.ServicePrincipals.Item.RemovePassword.removePasswordRequestBuild Microsoft.Graph.ServicePrincipals.Item.RemovePassword.removePasswordRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.ServicePrincipals.Item.RemovePassword.RemovePasswordPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.ServicePrincipals.Item.RemovePassword.removePasswordRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.ServicePrincipals.Item.RemovePassword.RemovePasswordPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.ServicePrincipals.Item.RemovePassword.removePasswordRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.ServicePrincipals.Item.RemovePassword.RemovePasswordRequestBuilder +Microsoft.Graph.ServicePrincipals.Item.Restore.restorePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.ServicePrincipals.Item.Restore.restorePostRequestBody::|public|AutoReconcileProxyConflict:bool? +Microsoft.Graph.ServicePrincipals.Item.Restore.restorePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.ServicePrincipals.Item.Restore.restorePostRequestBody::|public|constructor():void +Microsoft.Graph.ServicePrincipals.Item.Restore.restorePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.ServicePrincipals.Item.Restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.ServicePrincipals.Item.Restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.ServicePrincipals.Item.Restore.RestorePostRequestBody +Microsoft.Graph.ServicePrincipals.Item.Restore.restorePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.ServicePrincipals.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder Microsoft.Graph.ServicePrincipals.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.ServicePrincipals.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.ServicePrincipals.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.ServicePrincipals.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.ServicePrincipals.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.ServicePrincipals.Item.Restore.restoreRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.ServicePrincipals.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.ServicePrincipals.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.ServicePrincipals.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.ServicePrincipals.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.ServicePrincipals.Item.Restore.RestoreRequestBuilder Microsoft.Graph.ServicePrincipals.Item.ServicePrincipalItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.ServicePrincipals.Item.ServicePrincipalItemRequestBuilder.ServicePrincipalItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration @@ -172237,12 +172367,20 @@ Microsoft.Graph.Users.Item.ReprocessLicenseAssignment.reprocessLicenseAssignment Microsoft.Graph.Users.Item.ReprocessLicenseAssignment.reprocessLicenseAssignmentRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.User Microsoft.Graph.Users.Item.ReprocessLicenseAssignment.reprocessLicenseAssignmentRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.ReprocessLicenseAssignment.reprocessLicenseAssignmentRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.ReprocessLicenseAssignment.ReprocessLicenseAssignmentRequestBuilder +Microsoft.Graph.Users.Item.Restore.restorePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.Restore.restorePostRequestBody::|public|AutoReconcileProxyConflict:bool? +Microsoft.Graph.Users.Item.Restore.restorePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.Restore.restorePostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.Restore.restorePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.Restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Restore.RestorePostRequestBody +Microsoft.Graph.Users.Item.Restore.restorePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Users.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Users.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Users.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Users.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.Users.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Restore.restoreRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.Users.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Users.Item.RetryServiceProvisioning.retryServiceProvisioningRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.RetryServiceProvisioning.retryServiceProvisioningRequestBuilder.retryServiceProvisioningRequestBuilderPostRequestConfiguration-->RequestConfiguration diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index efe8d407380..6f5db09d4ff 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,9 +1,10 @@ { - "descriptionHash": "F8412021DDD1E7307D1B01A1A84790693AA576B0309CA81FE35D9994E90AED203027377116E4EDF59C0998DAC36360FA025413CF15AD4AB4D77FFDA8DC61B05D", + "descriptionHash": "6A9FE1A8F94A2C4B73E845C97A94C85A8075980EB62B546027CE6E1AA067DED5FE2DD0B97E43F6AF17E57A00C8CB600A83D13923FE34AB95E472923E82CD0961", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.19.0", "clientClassName": "BaseGraphServiceClient", + "typeAccessModifier": "Public", "clientNamespaceName": "Microsoft.Graph", "language": "CSharp", "usesBackingStore": true,