From afe7f81de38f29600c1161836d27a2210c6a9172 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Fri, 13 Dec 2024 06:47:42 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 174030 --- .../TeamsApps/TeamsAppsRequestBuilder.cs | 6 +- .../Invite/InviteRequestBuilder.cs | 6 +- .../DeviceAppManagementRequestBuilder.cs | 4 +- .../ManagedAppPolicyItemRequestBuilder.cs | 8 +- .../TargetApps/TargetAppsRequestBuilder.cs | 2 +- .../TargetApps/TargetAppsRequestBuilder.cs | 2 +- .../TargetApps/TargetAppsRequestBuilder.cs | 2 +- ...anagedAppRegistrationItemRequestBuilder.cs | 8 +- .../ManagedAppRegistrationsRequestBuilder.cs | 8 +- .../ManagedAppStatusesRequestBuilder.cs | 8 +- .../Assignments/AssignmentsRequestBuilder.cs | 14 +- ...anagedEBookAssignmentItemRequestBuilder.cs | 14 +- .../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 | 20 +- .../DeviceManagementRequestBuilder.cs | 2 +- .../Item/RoleDefinitionItemRequestBuilder.cs | 12 +- .../RoleDefinitionsRequestBuilder.cs | 6 +- .../DiscardCheckoutRequestBuilder.cs | 97 +++ .../Items/Item/DriveItemItemRequestBuilder.cs | 6 + .../RetentionLabelRequestBuilder.cs | 6 +- .../ConversationsRequestBuilder.cs | 6 +- .../Item/ConversationItemRequestBuilder.cs | 2 +- .../Item/NamedLocationItemRequestBuilder.cs | 14 +- .../Item/AccessPackageItemRequestBuilder.cs | 8 +- .../Item/AgreementItemRequestBuilder.cs | 8 +- .../Attachments/AttachmentsRequestBuilder.cs | 6 +- .../Item/MessageItemRequestBuilder.cs | 14 +- .../Item/Value/ContentRequestBuilder.cs | 6 +- .../Generated/Models/BaseItem.cs | 2 + .../EligibilityFilteringEnabledEntities.cs | 33 + .../Generated/Models/Entity.cs | 2 + .../Generated/Models/FileStorage.cs | 18 + .../Generated/Models/FileStorageContainer.cs | 26 + .../Models/FileStorageContainerSettings.cs | 4 +- .../Models/InternalDomainFederation.cs | 18 + .../Generated/Models/OpenShift.cs | 8 + .../Generated/Models/RecycleBin.cs | 89 ++ .../Generated/Models/RecycleBinItem.cs | 87 ++ .../RecycleBinItemCollectionResponse.cs | 64 ++ .../Generated/Models/RecycleBinSettings.cs | 89 ++ src/Microsoft.Graph/Generated/Models/Shift.cs | 8 + .../Generated/Models/SiteLockState.cs | 32 + .../Generated/Models/TimeOff.cs | 8 + .../Generated/Models/WorkforceIntegration.cs | 8 + .../WorkforceIntegrationSupportedEntities.cs | 12 + ...ficateAuthenticationMethodConfiguration.cs | 18 + ...09CertificateCRLValidationConfiguration.cs | 107 +++ ...tificateCRLValidationConfigurationState.cs | 24 + .../Item/OrganizationItemRequestBuilder.cs | 14 +- .../OrganizationRequestBuilder.cs | 8 +- .../IdentitySynchronizationRequestBuilder.cs | 6 +- .../FileStorageContainerItemRequestBuilder.cs | 24 + .../Item/Lock/LockPostRequestBody.cs | 72 ++ .../Item/Lock/LockRequestBuilder.cs | 101 +++ .../CreatedByUserRequestBuilder.cs | 137 +++ .../MailboxSettingsRequestBuilder.cs | 180 ++++ .../Count/CountRequestBuilder.cs | 124 +++ ...ServiceProvisioningErrorsRequestBuilder.cs | 170 ++++ .../Items/Count/CountRequestBuilder.cs | 124 +++ .../CreatedByUserRequestBuilder.cs | 137 +++ .../MailboxSettingsRequestBuilder.cs | 180 ++++ .../Count/CountRequestBuilder.cs | 124 +++ ...ServiceProvisioningErrorsRequestBuilder.cs | 170 ++++ .../LastModifiedByUserRequestBuilder.cs | 137 +++ .../MailboxSettingsRequestBuilder.cs | 180 ++++ .../Count/CountRequestBuilder.cs | 124 +++ ...ServiceProvisioningErrorsRequestBuilder.cs | 170 ++++ .../Item/RecycleBinItemItemRequestBuilder.cs | 241 ++++++ .../RecycleBin/Items/ItemsRequestBuilder.cs | 238 ++++++ .../LastModifiedByUserRequestBuilder.cs | 137 +++ .../MailboxSettingsRequestBuilder.cs | 180 ++++ .../Count/CountRequestBuilder.cs | 124 +++ ...ServiceProvisioningErrorsRequestBuilder.cs | 170 ++++ .../RecycleBin/RecycleBinRequestBuilder.cs | 247 ++++++ .../Item/Restore/RestoreRequestBuilder.cs | 98 +++ .../Item/Unlock/UnlockRequestBuilder.cs | 96 +++ .../Count/CountRequestBuilder.cs | 124 +++ .../DeletedContainersRequestBuilder.cs | 238 ++++++ .../Item/Activate/ActivateRequestBuilder.cs | 96 +++ .../Item/Drive/DriveRequestBuilder.cs | 125 +++ .../FileStorageContainerItemRequestBuilder.cs | 277 ++++++ .../Item/Lock/LockPostRequestBody.cs | 72 ++ .../Item/Lock/LockRequestBuilder.cs | 101 +++ .../PermanentDeleteRequestBuilder.cs | 96 +++ .../Permissions/Count/CountRequestBuilder.cs | 124 +++ .../Item/Grant/GrantPostRequestBody.cs | 100 +++ .../Item/Grant/GrantPostResponse.cs | 65 ++ .../Item/Grant/GrantRequestBuilder.cs | 130 +++ .../Permissions/Item/Grant/GrantResponse.cs | 28 + .../Item/PermissionItemRequestBuilder.cs | 235 ++++++ .../Permissions/PermissionsRequestBuilder.cs | 238 ++++++ .../CreatedByUserRequestBuilder.cs | 137 +++ .../MailboxSettingsRequestBuilder.cs | 180 ++++ .../Count/CountRequestBuilder.cs | 124 +++ ...ServiceProvisioningErrorsRequestBuilder.cs | 170 ++++ .../Items/Count/CountRequestBuilder.cs | 124 +++ .../CreatedByUserRequestBuilder.cs | 137 +++ .../MailboxSettingsRequestBuilder.cs | 180 ++++ .../Count/CountRequestBuilder.cs | 124 +++ ...ServiceProvisioningErrorsRequestBuilder.cs | 170 ++++ .../LastModifiedByUserRequestBuilder.cs | 137 +++ .../MailboxSettingsRequestBuilder.cs | 180 ++++ .../Count/CountRequestBuilder.cs | 124 +++ ...ServiceProvisioningErrorsRequestBuilder.cs | 170 ++++ .../Item/RecycleBinItemItemRequestBuilder.cs | 241 ++++++ .../RecycleBin/Items/ItemsRequestBuilder.cs | 238 ++++++ .../LastModifiedByUserRequestBuilder.cs | 137 +++ .../MailboxSettingsRequestBuilder.cs | 180 ++++ .../Count/CountRequestBuilder.cs | 124 +++ ...ServiceProvisioningErrorsRequestBuilder.cs | 170 ++++ .../RecycleBin/RecycleBinRequestBuilder.cs | 247 ++++++ .../Item/Restore/RestoreRequestBuilder.cs | 98 +++ .../Item/Unlock/UnlockRequestBuilder.cs | 96 +++ .../FileStorage/FileStorageRequestBuilder.cs | 6 + .../ConversationMemberItemRequestBuilder.cs | 6 +- .../Item/Replies/RepliesRequestBuilder.cs | 6 +- .../Users/Item/UserItemRequestBuilder.cs | 8 +- .../Generated/Users/UsersRequestBuilder.cs | 14 +- ...sersWithUserPrincipalNameRequestBuilder.cs | 8 +- .../Generated/kiota-dom-export.txt | 793 ++++++++++++++++++ src/Microsoft.Graph/Generated/kiota-lock.json | 2 +- 129 files changed, 10977 insertions(+), 200 deletions(-) create mode 100644 src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DiscardCheckout/DiscardCheckoutRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Models/EligibilityFilteringEnabledEntities.cs create mode 100644 src/Microsoft.Graph/Generated/Models/RecycleBin.cs create mode 100644 src/Microsoft.Graph/Generated/Models/RecycleBinItem.cs create mode 100644 src/Microsoft.Graph/Generated/Models/RecycleBinItemCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/RecycleBinSettings.cs create mode 100644 src/Microsoft.Graph/Generated/Models/SiteLockState.cs create mode 100644 src/Microsoft.Graph/Generated/Models/X509CertificateCRLValidationConfiguration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/X509CertificateCRLValidationConfigurationState.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Lock/LockPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Lock/LockRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/CreatedByUser/CreatedByUserRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/RecycleBinItemItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/ItemsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/RecycleBinRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Unlock/UnlockRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/DeletedContainersRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Activate/ActivateRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Drive/DriveRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Lock/LockPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Lock/LockRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/Grant/GrantPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/Grant/GrantPostResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/Grant/GrantRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/Grant/GrantResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/PermissionItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/PermissionsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/CreatedByUser/CreatedByUserRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/RecycleBinItemItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/ItemsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/RecycleBinRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Unlock/UnlockRequestBuilder.cs diff --git a/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilder.cs index 53b1f9d22eb..b939a84e0ca 100644 --- a/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilder.cs @@ -54,7 +54,7 @@ public TeamsAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// List apps from the Microsoft Teams app catalog.This includes apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. + /// List apps from the Microsoft Teams app catalog, including apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. /// Find more info here /// /// A @@ -104,7 +104,7 @@ public TeamsAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List apps from the Microsoft Teams app catalog.This includes apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. + /// List apps from the Microsoft Teams app catalog, including apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. /// /// 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.AppCatalogs.TeamsApps.TeamsAppsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List apps from the Microsoft Teams app catalog.This includes apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. + /// List apps from the Microsoft Teams app catalog, including apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class TeamsAppsRequestBuilderGetQueryParameters 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 f097afb10cf..0ca899a8e4c 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/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs index 099d5152962..6c74b6325bf 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/ManagedAppPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs index 21976de7648..1d709a789d2 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs @@ -63,8 +63,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the managedAppConfiguration object. - /// Find more info here + /// Read properties and relationships of the windowsInformationProtection object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -131,7 +131,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the managedAppConfiguration object. + /// Read properties and relationships of the windowsInformationProtection object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -189,7 +189,7 @@ public partial class ManagedAppPolicyItemRequestBuilderDeleteRequestConfiguratio { } /// - /// Read properties and relationships of the managedAppConfiguration object. + /// Read properties and relationships of the windowsInformationProtection object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedAppPolicyItemRequestBuilderGetQueryParameters 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 69f12423afd..455d78b36e3 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/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs index 81eab1d45e6..109d93af945 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 6ac4acfd073..8d3989240fb 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/Item/ManagedAppRegistrationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs index c878d34d973..3ca3fc016b7 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs @@ -75,8 +75,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the managedAppRegistration object. - /// Find more info here + /// Read properties and relationships of the iosManagedAppRegistration object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -143,7 +143,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the managedAppRegistration object. + /// Read properties and relationships of the iosManagedAppRegistration object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -201,7 +201,7 @@ public partial class ManagedAppRegistrationItemRequestBuilderDeleteRequestConfig { } /// - /// Read properties and relationships of the managedAppRegistration object. + /// Read properties and relationships of the iosManagedAppRegistration object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedAppRegistrationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs index a22129d7dd6..ddc4c6e32de 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 iosManagedAppRegistration 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 iosManagedAppRegistration 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 iosManagedAppRegistration objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.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 c6e88a5f1d5..373b86368d7 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.0.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 7ae5da68b13..1a06c8e97f0 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs @@ -54,8 +54,8 @@ public AssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// List properties and relationships of the managedEBookAssignment objects. - /// Find more info here + /// List properties and relationships of the iosVppEBookAssignment objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -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 iosVppEBookAssignment object. - /// Find more info here + /// Create a new managedEBookAssignment object. + /// Find more info here /// /// A /// The request body @@ -104,7 +104,7 @@ public AssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedEBookAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the managedEBookAssignment objects. + /// List properties and relationships of the iosVppEBookAssignment 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 iosVppEBookAssignment object. + /// Create a new managedEBookAssignment object. /// /// A /// The request body @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceAppManagement.ManagedEBooks.Item.Assignments.AssignmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the managedEBookAssignment objects. + /// List properties and relationships of the iosVppEBookAssignment objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AssignmentsRequestBuilderGetQueryParameters 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 59c29474e3e..5d92308132f 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.0.0")] public partial class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.cs index bbc1c18d815..e93b6ff31d0 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 managedEBook objects. - /// Find more info here + /// List properties and relationships of the iosVppEBook 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 managedEBook objects. + /// List properties and relationships of the iosVppEBook 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 managedEBook objects. + /// List properties and relationships of the iosVppEBook objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.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 e1062f6f1d2..82bb6bccc65 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.0.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 4c41c51ec68..0052dd6c0e9 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 win32LobApp. - /// 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 iosStoreApp object. - /// Find more info here + /// Read properties and relationships of the win32LobApp 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 microsoftStoreForBusinessApp object. - /// Find more info here + /// Update the properties of a macOSMicrosoftEdgeApp 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 win32LobApp. + /// 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 iosStoreApp object. + /// Read properties and relationships of the win32LobApp 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 microsoftStoreForBusinessApp object. + /// Update the properties of a macOSMicrosoftEdgeApp object. /// /// A /// The request body @@ -299,7 +299,7 @@ public partial class MobileAppItemRequestBuilderDeleteRequestConfiguration : Req { } /// - /// Read properties and relationships of the iosStoreApp object. + /// Read properties and relationships of the win32LobApp object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.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 d4e0e913b62..9c25cb42e09 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 managedIOSLobApp objects. - /// Find more info here + /// List properties and relationships of the androidStoreApp 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 androidLobApp object. - /// Find more info here + /// Create a new managedIOSStoreApp 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 managedIOSLobApp objects. + /// List properties and relationships of the androidStoreApp 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 androidLobApp object. + /// Create a new managedIOSStoreApp 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 managedIOSLobApp objects. + /// List properties and relationships of the androidStoreApp objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.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 415c3dd300c..2d2671e64ec 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 androidCompliancePolicy objects. - /// Find more info here + /// List properties and relationships of the windows81CompliancePolicy 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 macOSCompliancePolicy object. - /// Find more info here + /// Create a new androidCompliancePolicy 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 androidCompliancePolicy objects. + /// List properties and relationships of the windows81CompliancePolicy 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 macOSCompliancePolicy object. + /// Create a new androidCompliancePolicy 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 androidCompliancePolicy objects. + /// List properties and relationships of the windows81CompliancePolicy objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.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 b1bb0199f41..24895f72dd5 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 windows10MobileCompliancePolicy. - /// Find more info here + /// Deletes a androidWorkProfileCompliancePolicy. + /// 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 iosCompliancePolicy object. - /// Find more info here + /// Read properties and relationships of the windows10CompliancePolicy 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 windows81CompliancePolicy object. - /// Find more info here + /// Update the properties of a macOSCompliancePolicy 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 windows10MobileCompliancePolicy. + /// Deletes a androidWorkProfileCompliancePolicy. /// /// 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 iosCompliancePolicy object. + /// Read properties and relationships of the windows10CompliancePolicy 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 windows81CompliancePolicy object. + /// Update the properties of a macOSCompliancePolicy object. /// /// A /// The request body @@ -239,7 +239,7 @@ public partial class DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfig { } /// - /// Read properties and relationships of the iosCompliancePolicy object. + /// Read properties and relationships of the windows10CompliancePolicy object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.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 330538aa4aa..df7d941614b 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 androidGeneralDeviceConfiguration 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 iosCustomConfiguration object. - /// Find more info here + /// Create a new windowsPhone81CustomConfiguration 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 androidGeneralDeviceConfiguration 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 iosCustomConfiguration object. + /// Create a new windowsPhone81CustomConfiguration 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 androidGeneralDeviceConfiguration objects. + /// List properties and relationships of the windows81GeneralConfiguration objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.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 2c8b3418419..395acaf35da 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 macOSGeneralDeviceConfiguration. + /// 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 windows10GeneralConfiguration object. - /// Find more info here + /// Read properties and relationships of the windows10TeamGeneralConfiguration 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 androidCustomConfiguration object. - /// Find more info here + /// Update the properties of a editionUpgradeConfiguration 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 macOSGeneralDeviceConfiguration. /// /// 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 windows10GeneralConfiguration object. + /// Read properties and relationships of the windows10TeamGeneralConfiguration 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 androidCustomConfiguration object. + /// Update the properties of a editionUpgradeConfiguration object. /// /// A /// The request body @@ -238,7 +238,7 @@ public partial class DeviceConfigurationItemRequestBuilderDeleteRequestConfigura { } /// - /// Read properties and relationships of the windows10GeneralConfiguration object. + /// Read properties and relationships of the windows10TeamGeneralConfiguration object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.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 ca94251f9b4..9effb7628f0 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 deviceEnrollmentWindowsHelloForBusinessConfiguration objects. - /// Find more info here + /// List properties and relationships of the deviceEnrollmentLimitConfiguration 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 deviceEnrollmentWindowsHelloForBusinessConfiguration object. - /// Find more info here + /// Create a new deviceEnrollmentPlatformRestrictionsConfiguration 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 deviceEnrollmentWindowsHelloForBusinessConfiguration objects. + /// List properties and relationships of the deviceEnrollmentLimitConfiguration 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 deviceEnrollmentWindowsHelloForBusinessConfiguration object. + /// Create a new deviceEnrollmentPlatformRestrictionsConfiguration 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 deviceEnrollmentWindowsHelloForBusinessConfiguration objects. + /// List properties and relationships of the deviceEnrollmentLimitConfiguration objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.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 565e78e5393..4296864b362 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs @@ -53,8 +53,8 @@ public DeviceEnrollmentConfigurationItemRequestBuilder(string rawUrl, IRequestAd { } /// - /// Deletes a deviceEnrollmentLimitConfiguration. - /// Find more info here + /// Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -76,8 +76,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. - /// Find more info here + /// Read properties and relationships of the deviceEnrollmentLimitConfiguration 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 @@ -126,7 +126,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a deviceEnrollmentLimitConfiguration. + /// Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -145,7 +145,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. + /// Read properties and relationships of the deviceEnrollmentLimitConfiguration 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 deviceEnrollmentPlatformRestrictionsConfiguration object. + /// Read properties and relationships of the deviceEnrollmentLimitConfiguration object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs index 982587431a5..3b7b775d000 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 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs index 25b6465e14e..6b47b3a2bb0 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 roleDefinition. - /// Find more info here + /// Deletes a deviceAndAppManagementRoleDefinition. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -88,8 +88,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.RoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a deviceAndAppManagementRoleDefinition object. - /// Find more info here + /// Update the properties of a roleDefinition object. + /// Find more info here /// /// A /// The request body @@ -114,7 +114,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.RoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a roleDefinition. + /// Deletes a deviceAndAppManagementRoleDefinition. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a deviceAndAppManagementRoleDefinition object. + /// Update the properties of a roleDefinition object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs index 2cab679afa6..023fba9d470 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs @@ -78,8 +78,8 @@ public RoleDefinitionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.RoleDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new roleDefinition object. - /// Find more info here + /// Create a new deviceAndAppManagementRoleDefinition object. + /// Find more info here /// /// A /// The request body @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new roleDefinition object. + /// Create a new deviceAndAppManagementRoleDefinition object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DiscardCheckout/DiscardCheckoutRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DiscardCheckout/DiscardCheckoutRequestBuilder.cs new file mode 100644 index 00000000000..8941976ca99 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DiscardCheckout/DiscardCheckoutRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Drives.Item.Items.Item.DiscardCheckout +{ + /// + /// Provides operations to call the discardCheckout method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DiscardCheckoutRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DiscardCheckoutRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/discardCheckout", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DiscardCheckoutRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/discardCheckout", rawUrl) + { + } + /// + /// Discard the check out of a driveItem. This action releases a driveItem resource that was previously checked out. Any changes made to the item while it was checked out are discarded. The same user that performed the checkout must discard it. Another alternative is to use application permissions. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Discard the check out of a driveItem. This action releases a driveItem resource that was previously checked out. Any changes made to the item while it was checked out are discarded. The same user that performed the checkout must discard it. Another alternative is to use application permissions. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Drives.Item.Items.Item.DiscardCheckout.DiscardCheckoutRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Drives.Item.Items.Item.DiscardCheckout.DiscardCheckoutRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DiscardCheckoutRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs index 4ea87007e4d..92013b2287b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs @@ -12,6 +12,7 @@ using Microsoft.Graph.Drives.Item.Items.Item.CreatedByUser; using Microsoft.Graph.Drives.Item.Items.Item.Delta; using Microsoft.Graph.Drives.Item.Items.Item.DeltaWithToken; +using Microsoft.Graph.Drives.Item.Items.Item.DiscardCheckout; using Microsoft.Graph.Drives.Item.Items.Item.ExtractSensitivityLabels; using Microsoft.Graph.Drives.Item.Items.Item.Follow; using Microsoft.Graph.Drives.Item.Items.Item.GetActivitiesByInterval; @@ -104,6 +105,11 @@ public partial class DriveItemItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Drives.Item.Items.Item.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the discardCheckout method. + public global::Microsoft.Graph.Drives.Item.Items.Item.DiscardCheckout.DiscardCheckoutRequestBuilder DiscardCheckout + { + get => new global::Microsoft.Graph.Drives.Item.Items.Item.DiscardCheckout.DiscardCheckoutRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the extractSensitivityLabels method. public global::Microsoft.Graph.Drives.Item.Items.Item.ExtractSensitivityLabels.ExtractSensitivityLabelsRequestBuilder ExtractSensitivityLabels { 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 8105210adb6..20b5cd67330 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/Groups/Item/Conversations/ConversationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs index 1ef4baf386d..3d0ba1f2ac2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs @@ -78,8 +78,8 @@ public ConversationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. - /// Find more info here + /// Use reply thread or reply post to further post to that conversation. + /// Find more info here /// /// A /// The request body @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + /// Use reply thread or reply post to further post to that conversation. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs index 8e3c4a9200b..71774d8fdb9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs @@ -42,7 +42,7 @@ public ConversationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdap } /// /// Delete conversation. - /// 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/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs index e6b5a291b86..ac83f8441ba 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs @@ -35,8 +35,8 @@ public NamedLocationItemRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Delete an ipNamedLocation object. - /// Find more info here + /// Delete a countryNamedLocation object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of a namedLocation object. - /// Find more info here + /// Retrieve the properties and relationships of an ipNamedLocation 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.NamedLocation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete an ipNamedLocation object. + /// Delete a countryNamedLocation object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -127,7 +127,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a namedLocation object. + /// Retrieve the properties and relationships of an ipNamedLocation object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -185,7 +185,7 @@ public partial class NamedLocationItemRequestBuilderDeleteRequestConfiguration : { } /// - /// Retrieve the properties and relationships of a namedLocation object. + /// Retrieve the properties and relationships of an ipNamedLocation object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class NamedLocationItemRequestBuilderGetQueryParameters 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 a83372be3ae..947869285ba 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 the properties and relationships of an accessPackage object. - /// Find more info here + /// 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 /// /// A /// Cancellation token to use when cancelling requests @@ -169,7 +169,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of an accessPackage object. + /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -227,7 +227,7 @@ public partial class AccessPackageItemRequestBuilderDeleteRequestConfiguration : { } /// - /// Retrieve the properties and relationships of an accessPackage object. + /// 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. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AccessPackageItemRequestBuilderGetQueryParameters 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 e583dd92780..d71dc4fd232 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.0.0")] public partial class AgreementItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index 0d6103aea33..cce32d9934a 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -84,8 +84,8 @@ public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. - /// Find more info here + /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. + /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs index 2a60bef044e..8e733c929b5 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs @@ -130,8 +130,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of a message object. You can use the $value parameter to get the MIME content of a message. See also an example below. There are two scenarios where an app can get a message in another user's mail folder: Since the message resource supports extensions, you can also use the GET operation to get custom properties and extension data in a message instance. - /// Find more info here + /// You can get a single resource instance expanded with a specific extended property, or a collection of resource instancesthat include extended properties matching a filter. Using the query parameter $expand allows you to get the specified resource instance expanded with a specific extendedproperty. Use a $filter and eq operator on the id property to specify the extended property. This is currently the only way to get the singleValueLegacyExtendedProperty object that represents an extended property. To get resource instances that have certain extended properties, use the $filter query parameter and apply an eq operatoron the id property. In addition, for numeric extended properties, apply one of the following operators on the value property:eq, ne,ge, gt, le, or lt. For string-typed extended properties, apply a contains, startswith, eq, or ne operator on value. The filter is applied to all instances of the resource in the signed-in user's mailbox. Filtering the string name (Name) in the id of an extended property is case-sensitive. Filtering the value property of an extendedproperty is case-insensitive. The following user resources are supported: As well as the following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -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 @@ -199,7 +199,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a message object. You can use the $value parameter to get the MIME content of a message. See also an example below. There are two scenarios where an app can get a message in another user's mail folder: Since the message resource supports extensions, you can also use the GET operation to get custom properties and extension data in a message instance. + /// You can get a single resource instance expanded with a specific extended property, or a collection of resource instancesthat include extended properties matching a filter. Using the query parameter $expand allows you to get the specified resource instance expanded with a specific extendedproperty. Use a $filter and eq operator on the id property to specify the extended property. This is currently the only way to get the singleValueLegacyExtendedProperty object that represents an extended property. To get resource instances that have certain extended properties, use the $filter query parameter and apply an eq operatoron the id property. In addition, for numeric extended properties, apply one of the following operators on the value property:eq, ne,ge, gt, le, or lt. For string-typed extended properties, apply a contains, startswith, eq, or ne operator on value. The filter is applied to all instances of the resource in the signed-in user's mailbox. Filtering the string name (Name) in the id of an extended property is case-sensitive. Filtering the value property of an extendedproperty is case-insensitive. The following user resources are supported: As well as the following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -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 @@ -257,7 +257,7 @@ public partial class MessageItemRequestBuilderDeleteRequestConfiguration : Reque { } /// - /// Retrieve the properties and relationships of a message object. You can use the $value parameter to get the MIME content of a message. See also an example below. There are two scenarios where an app can get a message in another user's mail folder: Since the message resource supports extensions, you can also use the GET operation to get custom properties and extension data in a message instance. + /// You can get a single resource instance expanded with a specific extended property, or a collection of resource instancesthat include extended properties matching a filter. Using the query parameter $expand allows you to get the specified resource instance expanded with a specific extendedproperty. Use a $filter and eq operator on the id property to specify the extended property. This is currently the only way to get the singleValueLegacyExtendedProperty object that represents an extended property. To get resource instances that have certain extended properties, use the $filter query parameter and apply an eq operatoron the id property. In addition, for numeric extended properties, apply one of the following operators on the value property:eq, ne,ge, gt, le, or lt. For string-typed extended properties, apply a contains, startswith, eq, or ne operator on value. The filter is applied to all instances of the resource in the signed-in user's mailbox. Filtering the string name (Name) in the id of an extended property is case-sensitive. Filtering the value property of an extendedproperty is case-insensitive. The following user resources are supported: As well as the following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MessageItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs index f06e97dbc54..4cd03c99b02 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs @@ -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 @@ -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 diff --git a/src/Microsoft.Graph/Generated/Models/BaseItem.cs b/src/Microsoft.Graph/Generated/Models/BaseItem.cs index 5927a8155a9..32611f4e4a2 100644 --- a/src/Microsoft.Graph/Generated/Models/BaseItem.cs +++ b/src/Microsoft.Graph/Generated/Models/BaseItem.cs @@ -184,6 +184,8 @@ public string WebUrl "#microsoft.graph.driveItem" => new global::Microsoft.Graph.Models.DriveItem(), "#microsoft.graph.list" => new global::Microsoft.Graph.Models.List(), "#microsoft.graph.listItem" => new global::Microsoft.Graph.Models.ListItem(), + "#microsoft.graph.recycleBin" => new global::Microsoft.Graph.Models.RecycleBin(), + "#microsoft.graph.recycleBinItem" => new global::Microsoft.Graph.Models.RecycleBinItem(), "#microsoft.graph.sharedDriveItem" => new global::Microsoft.Graph.Models.SharedDriveItem(), "#microsoft.graph.site" => new global::Microsoft.Graph.Models.Site(), "#microsoft.graph.sitePage" => new global::Microsoft.Graph.Models.SitePage(), diff --git a/src/Microsoft.Graph/Generated/Models/EligibilityFilteringEnabledEntities.cs b/src/Microsoft.Graph/Generated/Models/EligibilityFilteringEnabledEntities.cs new file mode 100644 index 00000000000..e7f52217030 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/EligibilityFilteringEnabledEntities.cs @@ -0,0 +1,33 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum EligibilityFilteringEnabledEntities + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "swapRequest")] + #pragma warning disable CS1591 + SwapRequest = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "offerShiftRequest")] + #pragma warning disable CS1591 + OfferShiftRequest = 4, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 8, + #pragma warning restore CS1591 + [EnumMember(Value = "timeOffReason")] + #pragma warning disable CS1591 + TimeOffReason = 16, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index 3d149a0c78e..1b3b94ff05b 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -658,6 +658,8 @@ public Entity() "#microsoft.graph.provisioningObjectSummary" => new global::Microsoft.Graph.Models.ProvisioningObjectSummary(), "#microsoft.graph.rbacApplication" => new global::Microsoft.Graph.Models.RbacApplication(), "#microsoft.graph.recordOperation" => new global::Microsoft.Graph.Models.RecordOperation(), + "#microsoft.graph.recycleBin" => new global::Microsoft.Graph.Models.RecycleBin(), + "#microsoft.graph.recycleBinItem" => new global::Microsoft.Graph.Models.RecycleBinItem(), "#microsoft.graph.referenceAttachment" => new global::Microsoft.Graph.Models.ReferenceAttachment(), "#microsoft.graph.relyingPartyDetailedSummary" => new global::Microsoft.Graph.Models.RelyingPartyDetailedSummary(), "#microsoft.graph.remoteAssistancePartner" => new global::Microsoft.Graph.Models.RemoteAssistancePartner(), diff --git a/src/Microsoft.Graph/Generated/Models/FileStorage.cs b/src/Microsoft.Graph/Generated/Models/FileStorage.cs index 69bce3b5a0b..b48902c67b0 100644 --- a/src/Microsoft.Graph/Generated/Models/FileStorage.cs +++ b/src/Microsoft.Graph/Generated/Models/FileStorage.cs @@ -27,6 +27,22 @@ public partial class FileStorage : global::Microsoft.Graph.Models.Entity, IParsa get { return BackingStore?.Get>("containers"); } set { BackingStore?.Set("containers", value); } } +#endif + /// The deletedContainers property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DeletedContainers + { + get { return BackingStore?.Get?>("deletedContainers"); } + set { BackingStore?.Set("deletedContainers", value); } + } +#nullable restore +#else + public List DeletedContainers + { + get { return BackingStore?.Get>("deletedContainers"); } + set { BackingStore?.Set("deletedContainers", value); } + } #endif /// /// Creates a new instance of the appropriate class based on discriminator value @@ -47,6 +63,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "containers", n => { Containers = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.FileStorageContainer.CreateFromDiscriminatorValue)?.AsList(); } }, + { "deletedContainers", n => { DeletedContainers = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.FileStorageContainer.CreateFromDiscriminatorValue)?.AsList(); } }, }; } /// @@ -58,6 +75,7 @@ public override void Serialize(ISerializationWriter writer) _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteCollectionOfObjectValues("containers", Containers); + writer.WriteCollectionOfObjectValues("deletedContainers", DeletedContainers); } } } diff --git a/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs b/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs index 115bf719df4..4d471c33ad6 100644 --- a/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs +++ b/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs @@ -88,6 +88,12 @@ public string DisplayName set { BackingStore?.Set("drive", value); } } #endif + /// Indicates the lock state of the fileStorageContainer. The possible values are unlocked and lockedReadOnly. Read-only. + public global::Microsoft.Graph.Models.SiteLockState? LockState + { + get { return BackingStore?.Get("lockState"); } + set { BackingStore?.Set("lockState", value); } + } /// The set of permissions for users in the fileStorageContainer. Permission for each user is set by the roles property. The possible values are: reader, writer, manager, and owner. Read-write. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -103,6 +109,22 @@ public string DisplayName get { return BackingStore?.Get>("permissions"); } set { BackingStore?.Set("permissions", value); } } +#endif + /// Recycle bin of the fileStorageContainer. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.RecycleBin? RecycleBin + { + get { return BackingStore?.Get("recycleBin"); } + set { BackingStore?.Set("recycleBin", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.RecycleBin RecycleBin + { + get { return BackingStore?.Get("recycleBin"); } + set { BackingStore?.Set("recycleBin", value); } + } #endif /// The settings property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -166,7 +188,9 @@ public override IDictionary> GetFieldDeserializers() { "description", n => { Description = n.GetStringValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "drive", n => { Drive = n.GetObjectValue(global::Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue); } }, + { "lockState", n => { LockState = n.GetEnumValue(); } }, { "permissions", n => { Permissions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue)?.AsList(); } }, + { "recycleBin", n => { RecycleBin = n.GetObjectValue(global::Microsoft.Graph.Models.RecycleBin.CreateFromDiscriminatorValue); } }, { "settings", n => { Settings = n.GetObjectValue(global::Microsoft.Graph.Models.FileStorageContainerSettings.CreateFromDiscriminatorValue); } }, { "status", n => { Status = n.GetEnumValue(); } }, { "viewpoint", n => { Viewpoint = n.GetObjectValue(global::Microsoft.Graph.Models.FileStorageContainerViewpoint.CreateFromDiscriminatorValue); } }, @@ -186,7 +210,9 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("description", Description); writer.WriteStringValue("displayName", DisplayName); writer.WriteObjectValue("drive", Drive); + writer.WriteEnumValue("lockState", LockState); writer.WriteCollectionOfObjectValues("permissions", Permissions); + writer.WriteObjectValue("recycleBin", RecycleBin); writer.WriteObjectValue("settings", Settings); writer.WriteEnumValue("status", Status); writer.WriteObjectValue("viewpoint", Viewpoint); diff --git a/src/Microsoft.Graph/Generated/Models/FileStorageContainerSettings.cs b/src/Microsoft.Graph/Generated/Models/FileStorageContainerSettings.cs index cdbce0a7d06..fbff03a35f2 100644 --- a/src/Microsoft.Graph/Generated/Models/FileStorageContainerSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/FileStorageContainerSettings.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The isItemVersioningEnabled property + /// Indicates whether versioning is enabled for items in the container. Optional. Read-write. public bool? IsItemVersioningEnabled { get { return BackingStore?.Get("isItemVersioningEnabled"); } @@ -33,7 +33,7 @@ public bool? IsOcrEnabled get { return BackingStore?.Get("isOcrEnabled"); } set { BackingStore?.Set("isOcrEnabled", value); } } - /// The itemMajorVersionLimit property + /// The maximum major versions allowed for items in the container. Optional. Read-write. public int? ItemMajorVersionLimit { get { return BackingStore?.Get("itemMajorVersionLimit"); } diff --git a/src/Microsoft.Graph/Generated/Models/InternalDomainFederation.cs b/src/Microsoft.Graph/Generated/Models/InternalDomainFederation.cs index fc8e76940b5..c8608b161b3 100644 --- a/src/Microsoft.Graph/Generated/Models/InternalDomainFederation.cs +++ b/src/Microsoft.Graph/Generated/Models/InternalDomainFederation.cs @@ -55,6 +55,22 @@ public string NextSigningCertificate get { return BackingStore?.Get("nextSigningCertificate"); } set { BackingStore?.Set("nextSigningCertificate", value); } } +#endif + /// The passwordResetUri property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PasswordResetUri + { + get { return BackingStore?.Get("passwordResetUri"); } + set { BackingStore?.Set("passwordResetUri", value); } + } +#nullable restore +#else + public string PasswordResetUri + { + get { return BackingStore?.Get("passwordResetUri"); } + set { BackingStore?.Set("passwordResetUri", value); } + } #endif /// Sets the preferred behavior for the sign-in prompt. The possible values are: translateToFreshPasswordAuthentication, nativeSupport, disabled, unknownFutureValue. public global::Microsoft.Graph.Models.PromptLoginBehavior? PromptLoginBehavior @@ -123,6 +139,7 @@ public override IDictionary> GetFieldDeserializers() { "federatedIdpMfaBehavior", n => { FederatedIdpMfaBehavior = n.GetEnumValue(); } }, { "isSignedAuthenticationRequestRequired", n => { IsSignedAuthenticationRequestRequired = n.GetBoolValue(); } }, { "nextSigningCertificate", n => { NextSigningCertificate = n.GetStringValue(); } }, + { "passwordResetUri", n => { PasswordResetUri = n.GetStringValue(); } }, { "promptLoginBehavior", n => { PromptLoginBehavior = n.GetEnumValue(); } }, { "signOutUri", n => { SignOutUri = n.GetStringValue(); } }, { "signingCertificateUpdateStatus", n => { SigningCertificateUpdateStatus = n.GetObjectValue(global::Microsoft.Graph.Models.SigningCertificateUpdateStatus.CreateFromDiscriminatorValue); } }, @@ -140,6 +157,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteEnumValue("federatedIdpMfaBehavior", FederatedIdpMfaBehavior); writer.WriteBoolValue("isSignedAuthenticationRequestRequired", IsSignedAuthenticationRequestRequired); writer.WriteStringValue("nextSigningCertificate", NextSigningCertificate); + writer.WriteStringValue("passwordResetUri", PasswordResetUri); writer.WriteEnumValue("promptLoginBehavior", PromptLoginBehavior); writer.WriteObjectValue("signingCertificateUpdateStatus", SigningCertificateUpdateStatus); writer.WriteStringValue("signOutUri", SignOutUri); diff --git a/src/Microsoft.Graph/Generated/Models/OpenShift.cs b/src/Microsoft.Graph/Generated/Models/OpenShift.cs index db354c50989..d84314b5a2a 100644 --- a/src/Microsoft.Graph/Generated/Models/OpenShift.cs +++ b/src/Microsoft.Graph/Generated/Models/OpenShift.cs @@ -28,6 +28,12 @@ public partial class OpenShift : global::Microsoft.Graph.Models.ChangeTrackedEnt set { BackingStore?.Set("draftOpenShift", value); } } #endif + /// The openShift is marked for deletion, a process that is finalized when the schedule is shared. + public bool? IsStagedForDeletion + { + get { return BackingStore?.Get("isStagedForDeletion"); } + set { BackingStore?.Set("isStagedForDeletion", value); } + } /// The ID of the schedulingGroup that contains the openShift. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -86,6 +92,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "draftOpenShift", n => { DraftOpenShift = n.GetObjectValue(global::Microsoft.Graph.Models.OpenShiftItem.CreateFromDiscriminatorValue); } }, + { "isStagedForDeletion", n => { IsStagedForDeletion = n.GetBoolValue(); } }, { "schedulingGroupId", n => { SchedulingGroupId = n.GetStringValue(); } }, { "sharedOpenShift", n => { SharedOpenShift = n.GetObjectValue(global::Microsoft.Graph.Models.OpenShiftItem.CreateFromDiscriminatorValue); } }, }; @@ -99,6 +106,7 @@ public override void Serialize(ISerializationWriter writer) _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteObjectValue("draftOpenShift", DraftOpenShift); + writer.WriteBoolValue("isStagedForDeletion", IsStagedForDeletion); writer.WriteStringValue("schedulingGroupId", SchedulingGroupId); writer.WriteObjectValue("sharedOpenShift", SharedOpenShift); } diff --git a/src/Microsoft.Graph/Generated/Models/RecycleBin.cs b/src/Microsoft.Graph/Generated/Models/RecycleBin.cs new file mode 100644 index 00000000000..c901854a835 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RecycleBin.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RecycleBin : global::Microsoft.Graph.Models.BaseItem, IParsable + #pragma warning restore CS1591 + { + /// List of the recycleBinItems deleted by a user. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Items + { + get { return BackingStore?.Get?>("items"); } + set { BackingStore?.Set("items", value); } + } +#nullable restore +#else + public List Items + { + get { return BackingStore?.Get>("items"); } + set { BackingStore?.Set("items", value); } + } +#endif + /// The settings property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.RecycleBinSettings? Settings + { + get { return BackingStore?.Get("settings"); } + set { BackingStore?.Set("settings", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.RecycleBinSettings Settings + { + get { return BackingStore?.Get("settings"); } + set { BackingStore?.Set("settings", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RecycleBin() : base() + { + OdataType = "#microsoft.graph.recycleBin"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.RecycleBin CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.RecycleBin(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "items", n => { Items = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.RecycleBinItem.CreateFromDiscriminatorValue)?.AsList(); } }, + { "settings", n => { Settings = n.GetObjectValue(global::Microsoft.Graph.Models.RecycleBinSettings.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("items", Items); + writer.WriteObjectValue("settings", Settings); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/RecycleBinItem.cs b/src/Microsoft.Graph/Generated/Models/RecycleBinItem.cs new file mode 100644 index 00000000000..9da020d9f76 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RecycleBinItem.cs @@ -0,0 +1,87 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RecycleBinItem : global::Microsoft.Graph.Models.BaseItem, IParsable + #pragma warning restore CS1591 + { + /// Date and time when the item was deleted. 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? DeletedDateTime + { + get { return BackingStore?.Get("deletedDateTime"); } + set { BackingStore?.Set("deletedDateTime", value); } + } + /// Relative URL of the list or folder that originally contained the item. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DeletedFromLocation + { + get { return BackingStore?.Get("deletedFromLocation"); } + set { BackingStore?.Set("deletedFromLocation", value); } + } +#nullable restore +#else + public string DeletedFromLocation + { + get { return BackingStore?.Get("deletedFromLocation"); } + set { BackingStore?.Set("deletedFromLocation", value); } + } +#endif + /// Size of the item in bytes. + public long? Size + { + get { return BackingStore?.Get("size"); } + set { BackingStore?.Set("size", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public RecycleBinItem() : base() + { + OdataType = "#microsoft.graph.recycleBinItem"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.RecycleBinItem CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.RecycleBinItem(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "deletedDateTime", n => { DeletedDateTime = n.GetDateTimeOffsetValue(); } }, + { "deletedFromLocation", n => { DeletedFromLocation = n.GetStringValue(); } }, + { "size", n => { Size = n.GetLongValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteDateTimeOffsetValue("deletedDateTime", DeletedDateTime); + writer.WriteStringValue("deletedFromLocation", DeletedFromLocation); + writer.WriteLongValue("size", Size); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/RecycleBinItemCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/RecycleBinItemCollectionResponse.cs new file mode 100644 index 00000000000..43f47a114e5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RecycleBinItemCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RecycleBinItemCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.RecycleBinItemCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.RecycleBinItemCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.RecycleBinItem.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/RecycleBinSettings.cs b/src/Microsoft.Graph/Generated/Models/RecycleBinSettings.cs new file mode 100644 index 00000000000..65e51313bf0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RecycleBinSettings.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RecycleBinSettings : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Recycle bin retention period override in days for deleted content. The default value is 93; the value range is 7 to 180. The setting applies to newly deleted content only. Setting this property to null reverts to its default value. Read-write. + public int? RetentionPeriodOverrideDays + { + get { return BackingStore?.Get("retentionPeriodOverrideDays"); } + set { BackingStore?.Set("retentionPeriodOverrideDays", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public RecycleBinSettings() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.RecycleBinSettings CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.RecycleBinSettings(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "retentionPeriodOverrideDays", n => { RetentionPeriodOverrideDays = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteIntValue("retentionPeriodOverrideDays", RetentionPeriodOverrideDays); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Shift.cs b/src/Microsoft.Graph/Generated/Models/Shift.cs index b993d7013a8..669d4bd817a 100644 --- a/src/Microsoft.Graph/Generated/Models/Shift.cs +++ b/src/Microsoft.Graph/Generated/Models/Shift.cs @@ -28,6 +28,12 @@ public partial class Shift : global::Microsoft.Graph.Models.ChangeTrackedEntity, set { BackingStore?.Set("draftShift", value); } } #endif + /// The shift is marked for deletion, a process that is finalized when the schedule is shared. + public bool? IsStagedForDeletion + { + get { return BackingStore?.Get("isStagedForDeletion"); } + set { BackingStore?.Set("isStagedForDeletion", value); } + } /// ID of the scheduling group the shift is part of. Required. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -102,6 +108,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "draftShift", n => { DraftShift = n.GetObjectValue(global::Microsoft.Graph.Models.ShiftItem.CreateFromDiscriminatorValue); } }, + { "isStagedForDeletion", n => { IsStagedForDeletion = n.GetBoolValue(); } }, { "schedulingGroupId", n => { SchedulingGroupId = n.GetStringValue(); } }, { "sharedShift", n => { SharedShift = n.GetObjectValue(global::Microsoft.Graph.Models.ShiftItem.CreateFromDiscriminatorValue); } }, { "userId", n => { UserId = n.GetStringValue(); } }, @@ -116,6 +123,7 @@ public override void Serialize(ISerializationWriter writer) _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteObjectValue("draftShift", DraftShift); + writer.WriteBoolValue("isStagedForDeletion", IsStagedForDeletion); writer.WriteStringValue("schedulingGroupId", SchedulingGroupId); writer.WriteObjectValue("sharedShift", SharedShift); writer.WriteStringValue("userId", UserId); diff --git a/src/Microsoft.Graph/Generated/Models/SiteLockState.cs b/src/Microsoft.Graph/Generated/Models/SiteLockState.cs new file mode 100644 index 00000000000..d682736e62e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SiteLockState.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum SiteLockState + #pragma warning restore CS1591 + { + [EnumMember(Value = "unlocked")] + #pragma warning disable CS1591 + Unlocked, + #pragma warning restore CS1591 + [EnumMember(Value = "lockedReadOnly")] + #pragma warning disable CS1591 + LockedReadOnly, + #pragma warning restore CS1591 + [EnumMember(Value = "lockedNoAccess")] + #pragma warning disable CS1591 + LockedNoAccess, + #pragma warning restore CS1591 + [EnumMember(Value = "lockedNoAdditions")] + #pragma warning disable CS1591 + LockedNoAdditions, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/TimeOff.cs b/src/Microsoft.Graph/Generated/Models/TimeOff.cs index 241b8d2fd44..f4aacf5d146 100644 --- a/src/Microsoft.Graph/Generated/Models/TimeOff.cs +++ b/src/Microsoft.Graph/Generated/Models/TimeOff.cs @@ -28,6 +28,12 @@ public partial class TimeOff : global::Microsoft.Graph.Models.ChangeTrackedEntit set { BackingStore?.Set("draftTimeOff", value); } } #endif + /// The timeOff is marked for deletion, a process that is finalized when the schedule is shared. + public bool? IsStagedForDeletion + { + get { return BackingStore?.Get("isStagedForDeletion"); } + set { BackingStore?.Set("isStagedForDeletion", value); } + } /// The shared version of this timeOff that is viewable by both employees and managers. Updates to the sharedTimeOff property send notifications to users in the Teams client. Required. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -86,6 +92,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "draftTimeOff", n => { DraftTimeOff = n.GetObjectValue(global::Microsoft.Graph.Models.TimeOffItem.CreateFromDiscriminatorValue); } }, + { "isStagedForDeletion", n => { IsStagedForDeletion = n.GetBoolValue(); } }, { "sharedTimeOff", n => { SharedTimeOff = n.GetObjectValue(global::Microsoft.Graph.Models.TimeOffItem.CreateFromDiscriminatorValue); } }, { "userId", n => { UserId = n.GetStringValue(); } }, }; @@ -99,6 +106,7 @@ public override void Serialize(ISerializationWriter writer) _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteObjectValue("draftTimeOff", DraftTimeOff); + writer.WriteBoolValue("isStagedForDeletion", IsStagedForDeletion); writer.WriteObjectValue("sharedTimeOff", SharedTimeOff); writer.WriteStringValue("userId", UserId); } diff --git a/src/Microsoft.Graph/Generated/Models/WorkforceIntegration.cs b/src/Microsoft.Graph/Generated/Models/WorkforceIntegration.cs index b659f061af2..6a87da5ef65 100644 --- a/src/Microsoft.Graph/Generated/Models/WorkforceIntegration.cs +++ b/src/Microsoft.Graph/Generated/Models/WorkforceIntegration.cs @@ -34,6 +34,12 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif + /// Support to view eligibility-filtered results. Possible values are: none, swapRequest, offerShiftRequest, unknownFutureValue, timeOffReason. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: timeOffReason. + public global::Microsoft.Graph.Models.EligibilityFilteringEnabledEntities? EligibilityFilteringEnabledEntities + { + get { return BackingStore?.Get("eligibilityFilteringEnabledEntities"); } + set { BackingStore?.Set("eligibilityFilteringEnabledEntities", value); } + } /// The workforce integration encryption resource. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -105,6 +111,7 @@ public override IDictionary> GetFieldDeserializers() { { "apiVersion", n => { ApiVersion = n.GetIntValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "eligibilityFilteringEnabledEntities", n => { EligibilityFilteringEnabledEntities = n.GetEnumValue(); } }, { "encryption", n => { Encryption = n.GetObjectValue(global::Microsoft.Graph.Models.WorkforceIntegrationEncryption.CreateFromDiscriminatorValue); } }, { "isActive", n => { IsActive = n.GetBoolValue(); } }, { "supportedEntities", n => { SupportedEntities = n.GetEnumValue(); } }, @@ -121,6 +128,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteIntValue("apiVersion", ApiVersion); writer.WriteStringValue("displayName", DisplayName); + writer.WriteEnumValue("eligibilityFilteringEnabledEntities", EligibilityFilteringEnabledEntities); writer.WriteObjectValue("encryption", Encryption); writer.WriteBoolValue("isActive", IsActive); writer.WriteEnumValue("supportedEntities", SupportedEntities); diff --git a/src/Microsoft.Graph/Generated/Models/WorkforceIntegrationSupportedEntities.cs b/src/Microsoft.Graph/Generated/Models/WorkforceIntegrationSupportedEntities.cs index 8f1d285738d..604c5f6d38b 100644 --- a/src/Microsoft.Graph/Generated/Models/WorkforceIntegrationSupportedEntities.cs +++ b/src/Microsoft.Graph/Generated/Models/WorkforceIntegrationSupportedEntities.cs @@ -41,5 +41,17 @@ public enum WorkforceIntegrationSupportedEntities #pragma warning disable CS1591 UnknownFutureValue = 128, #pragma warning restore CS1591 + [EnumMember(Value = "timeOffReason")] + #pragma warning disable CS1591 + TimeOffReason = 256, + #pragma warning restore CS1591 + [EnumMember(Value = "timeOff")] + #pragma warning disable CS1591 + TimeOff = 512, + #pragma warning restore CS1591 + [EnumMember(Value = "timeOffRequest")] + #pragma warning disable CS1591 + TimeOffRequest = 1024, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/X509CertificateAuthenticationMethodConfiguration.cs b/src/Microsoft.Graph/Generated/Models/X509CertificateAuthenticationMethodConfiguration.cs index cbc34de3189..838e4bd00f2 100644 --- a/src/Microsoft.Graph/Generated/Models/X509CertificateAuthenticationMethodConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/X509CertificateAuthenticationMethodConfiguration.cs @@ -43,6 +43,22 @@ public partial class X509CertificateAuthenticationMethodConfiguration : global:: get { return BackingStore?.Get>("certificateUserBindings"); } set { BackingStore?.Set("certificateUserBindings", value); } } +#endif + /// The crlValidationConfiguration property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.X509CertificateCRLValidationConfiguration? CrlValidationConfiguration + { + get { return BackingStore?.Get("crlValidationConfiguration"); } + set { BackingStore?.Set("crlValidationConfiguration", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.X509CertificateCRLValidationConfiguration CrlValidationConfiguration + { + get { return BackingStore?.Get("crlValidationConfiguration"); } + set { BackingStore?.Set("crlValidationConfiguration", value); } + } #endif /// A collection of groups that are enabled to use the authentication method. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -87,6 +103,7 @@ public override IDictionary> GetFieldDeserializers() { { "authenticationModeConfiguration", n => { AuthenticationModeConfiguration = n.GetObjectValue(global::Microsoft.Graph.Models.X509CertificateAuthenticationModeConfiguration.CreateFromDiscriminatorValue); } }, { "certificateUserBindings", n => { CertificateUserBindings = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.X509CertificateUserBinding.CreateFromDiscriminatorValue)?.AsList(); } }, + { "crlValidationConfiguration", n => { CrlValidationConfiguration = n.GetObjectValue(global::Microsoft.Graph.Models.X509CertificateCRLValidationConfiguration.CreateFromDiscriminatorValue); } }, { "includeTargets", n => { IncludeTargets = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AuthenticationMethodTarget.CreateFromDiscriminatorValue)?.AsList(); } }, }; } @@ -100,6 +117,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteObjectValue("authenticationModeConfiguration", AuthenticationModeConfiguration); writer.WriteCollectionOfObjectValues("certificateUserBindings", CertificateUserBindings); + writer.WriteObjectValue("crlValidationConfiguration", CrlValidationConfiguration); writer.WriteCollectionOfObjectValues("includeTargets", IncludeTargets); } } diff --git a/src/Microsoft.Graph/Generated/Models/X509CertificateCRLValidationConfiguration.cs b/src/Microsoft.Graph/Generated/Models/X509CertificateCRLValidationConfiguration.cs new file mode 100644 index 00000000000..f666ccda298 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/X509CertificateCRLValidationConfiguration.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class X509CertificateCRLValidationConfiguration : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The exemptedCertificateAuthoritiesSubjectKeyIdentifiers property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ExemptedCertificateAuthoritiesSubjectKeyIdentifiers + { + get { return BackingStore?.Get?>("exemptedCertificateAuthoritiesSubjectKeyIdentifiers"); } + set { BackingStore?.Set("exemptedCertificateAuthoritiesSubjectKeyIdentifiers", value); } + } +#nullable restore +#else + public List ExemptedCertificateAuthoritiesSubjectKeyIdentifiers + { + get { return BackingStore?.Get>("exemptedCertificateAuthoritiesSubjectKeyIdentifiers"); } + set { BackingStore?.Set("exemptedCertificateAuthoritiesSubjectKeyIdentifiers", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The state property + public global::Microsoft.Graph.Models.X509CertificateCRLValidationConfigurationState? State + { + get { return BackingStore?.Get("state"); } + set { BackingStore?.Set("state", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public X509CertificateCRLValidationConfiguration() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.X509CertificateCRLValidationConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.X509CertificateCRLValidationConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "exemptedCertificateAuthoritiesSubjectKeyIdentifiers", n => { ExemptedCertificateAuthoritiesSubjectKeyIdentifiers = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "state", n => { State = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("exemptedCertificateAuthoritiesSubjectKeyIdentifiers", ExemptedCertificateAuthoritiesSubjectKeyIdentifiers); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("state", State); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/X509CertificateCRLValidationConfigurationState.cs b/src/Microsoft.Graph/Generated/Models/X509CertificateCRLValidationConfigurationState.cs new file mode 100644 index 00000000000..3767e8b7f32 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/X509CertificateCRLValidationConfigurationState.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum X509CertificateCRLValidationConfigurationState + #pragma warning restore CS1591 + { + [EnumMember(Value = "disabled")] + #pragma warning disable CS1591 + Disabled, + #pragma warning restore CS1591 + [EnumMember(Value = "enabled")] + #pragma warning disable CS1591 + Enabled, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs index 876f3745780..410688f55f2 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs @@ -111,8 +111,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the organization object. - /// Find more info here + /// Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -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 @@ -180,7 +180,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the organization object. + /// Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. /// /// 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 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 @@ -238,7 +238,7 @@ public partial class OrganizationItemRequestBuilderDeleteRequestConfiguration : { } /// - /// Read properties and relationships of the organization object. + /// Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class OrganizationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs index cc8a37c53f4..f902904958c 100644 --- a/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs @@ -78,8 +78,8 @@ public OrganizationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Retrieve a list of organization objects. There's only one organization object in the collection. - /// Find more info here + /// List properties and relationships of the organization objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -127,7 +127,7 @@ public OrganizationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Organization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of organization objects. There's only one organization object in the collection. + /// List properties and relationships of the organization objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -177,7 +177,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Organization.OrganizationRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of organization objects. There's only one organization object in the collection. + /// List properties and relationships of the organization objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class OrganizationRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs index c6983af56ed..2c95bdf9416 100644 --- a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.CrossTenantIdentitySyncPolicyPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a cross-tenant user synchronization policy for a partner-specific configuration. - /// Find more info here + /// Update the user synchronization policy of a partner-specific configuration. + /// Find more info here /// /// A /// The request body @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a cross-tenant user synchronization policy for a partner-specific configuration. + /// Update the user synchronization policy of a partner-specific configuration. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.cs index 11e47f95ca2..88f330f169a 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.cs @@ -4,8 +4,12 @@ using Microsoft.Graph.Models; using Microsoft.Graph.Storage.FileStorage.Containers.Item.Activate; using Microsoft.Graph.Storage.FileStorage.Containers.Item.Drive; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock; using Microsoft.Graph.Storage.FileStorage.Containers.Item.PermanentDelete; using Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.Restore; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.Unlock; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -32,6 +36,11 @@ public partial class FileStorageContainerItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Drive.DriveRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the lock method. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.LockRequestBuilder Lock + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.LockRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the permanentDelete method. public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete { @@ -42,6 +51,21 @@ public partial class FileStorageContainerItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.PermissionsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the recycleBin property of the microsoft.graph.fileStorageContainer entity. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.RecycleBinRequestBuilder RecycleBin + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.RecycleBinRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unlock method. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Unlock.UnlockRequestBuilder Unlock + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Unlock.UnlockRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Lock/LockPostRequestBody.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Lock/LockPostRequestBody.cs new file mode 100644 index 00000000000..96ecf3199cb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Lock/LockPostRequestBody.cs @@ -0,0 +1,72 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LockPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The lockState property + public global::Microsoft.Graph.Models.SiteLockState? LockState + { + get { return BackingStore?.Get("lockState"); } + set { BackingStore?.Set("lockState", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public LockPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.LockPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.LockPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "lockState", n => { LockState = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("lockState", LockState); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Lock/LockRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Lock/LockRequestBuilder.cs new file mode 100644 index 00000000000..bf046133021 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Lock/LockRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock +{ + /// + /// Provides operations to call the lock method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LockRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LockRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/lock", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LockRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/lock", rawUrl) + { + } + /// + /// Invoke action lock + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.LockPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.LockPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action lock + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.LockPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.LockPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.LockRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.LockRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LockRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/CreatedByUser/CreatedByUserRequestBuilder.cs new file mode 100644 index 00000000000..c543326b1f8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -0,0 +1,137 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.MailboxSettings; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser +{ + /// + /// Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByUserRequestBuilder : BaseRequestBuilder + { + /// The mailboxSettings property + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.MailboxSettings.MailboxSettingsRequestBuilder MailboxSettings + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.MailboxSettings.MailboxSettingsRequestBuilder(PathParameters, RequestAdapter); + } + /// The serviceProvisioningErrors property + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder ServiceProvisioningErrors + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CreatedByUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/createdByUser{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CreatedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/createdByUser{?%24expand,%24select}", rawUrl) + { + } + /// + /// Identity of the user who created the item. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Identity of the user who created the item. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.CreatedByUserRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.CreatedByUserRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Identity of the user who created the item. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByUserRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByUserRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs new file mode 100644 index 00000000000..8ea2cebb608 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -0,0 +1,180 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.MailboxSettings +{ + /// + /// Builds and executes requests for operations under \storage\fileStorage\containers\{fileStorageContainer-id}\recycleBin\createdByUser\mailboxSettings + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/createdByUser/mailboxSettings{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/createdByUser/mailboxSettings{?%24expand,%24select}", rawUrl) + { + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update property mailboxSettings value. + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.MailboxSettings body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.MailboxSettings body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update property mailboxSettings value. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MailboxSettings body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MailboxSettings body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.MailboxSettings.MailboxSettingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.MailboxSettings.MailboxSettingsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..90221e3d039 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/createdByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/createdByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs new file mode 100644 index 00000000000..d5245ddae89 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -0,0 +1,170 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors +{ + /// + /// Builds and executes requests for operations under \storage\fileStorage\containers\{fileStorageContainer-id}\recycleBin\createdByUser\serviceProvisioningErrors + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ServiceProvisioningErrorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/createdByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ServiceProvisioningErrorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/createdByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ServiceProvisioningErrorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..0bc6d0721d9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs new file mode 100644 index 00000000000..1317e09f14a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -0,0 +1,137 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser +{ + /// + /// Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByUserRequestBuilder : BaseRequestBuilder + { + /// The mailboxSettings property + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.MailboxSettingsRequestBuilder MailboxSettings + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.MailboxSettingsRequestBuilder(PathParameters, RequestAdapter); + } + /// The serviceProvisioningErrors property + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder ServiceProvisioningErrors + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CreatedByUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CreatedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser{?%24expand,%24select}", rawUrl) + { + } + /// + /// Identity of the user who created the item. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Identity of the user who created the item. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.CreatedByUserRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.CreatedByUserRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Identity of the user who created the item. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByUserRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByUserRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs new file mode 100644 index 00000000000..07f02f93ea4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -0,0 +1,180 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings +{ + /// + /// Builds and executes requests for operations under \storage\fileStorage\containers\{fileStorageContainer-id}\recycleBin\items\{recycleBinItem-id}\createdByUser\mailboxSettings + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser/mailboxSettings{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser/mailboxSettings{?%24expand,%24select}", rawUrl) + { + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update property mailboxSettings value. + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.MailboxSettings body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.MailboxSettings body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update property mailboxSettings value. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MailboxSettings body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MailboxSettings body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.MailboxSettingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.MailboxSettingsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..b704ded8c3c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs new file mode 100644 index 00000000000..3ffd05616f0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -0,0 +1,170 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors +{ + /// + /// Builds and executes requests for operations under \storage\fileStorage\containers\{fileStorageContainer-id}\recycleBin\items\{recycleBinItem-id}\createdByUser\serviceProvisioningErrors + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ServiceProvisioningErrorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ServiceProvisioningErrorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ServiceProvisioningErrorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs new file mode 100644 index 00000000000..defa1b0732f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -0,0 +1,137 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser +{ + /// + /// Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByUserRequestBuilder : BaseRequestBuilder + { + /// The mailboxSettings property + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.MailboxSettingsRequestBuilder MailboxSettings + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.MailboxSettingsRequestBuilder(PathParameters, RequestAdapter); + } + /// The serviceProvisioningErrors property + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder ServiceProvisioningErrors + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LastModifiedByUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LastModifiedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser{?%24expand,%24select}", rawUrl) + { + } + /// + /// Identity of the user who last modified the item. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Identity of the user who last modified the item. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.LastModifiedByUserRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.LastModifiedByUserRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Identity of the user who last modified the item. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByUserRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByUserRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs new file mode 100644 index 00000000000..a3777aa826f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -0,0 +1,180 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings +{ + /// + /// Builds and executes requests for operations under \storage\fileStorage\containers\{fileStorageContainer-id}\recycleBin\items\{recycleBinItem-id}\lastModifiedByUser\mailboxSettings + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser/mailboxSettings{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser/mailboxSettings{?%24expand,%24select}", rawUrl) + { + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update property mailboxSettings value. + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.MailboxSettings body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.MailboxSettings body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update property mailboxSettings value. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MailboxSettings body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MailboxSettings body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.MailboxSettingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.MailboxSettingsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..dccd15c0f79 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs new file mode 100644 index 00000000000..b79c81dca6f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -0,0 +1,170 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors +{ + /// + /// Builds and executes requests for operations under \storage\fileStorage\containers\{fileStorageContainer-id}\recycleBin\items\{recycleBinItem-id}\lastModifiedByUser\serviceProvisioningErrors + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ServiceProvisioningErrorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ServiceProvisioningErrorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ServiceProvisioningErrorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/RecycleBinItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/RecycleBinItemItemRequestBuilder.cs new file mode 100644 index 00000000000..bbbc802e42e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Item/RecycleBinItemItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item +{ + /// + /// Provides operations to manage the items property of the microsoft.graph.recycleBin entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecycleBinItemItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.CreatedByUserRequestBuilder CreatedByUser + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.CreatedByUserRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.LastModifiedByUserRequestBuilder LastModifiedByUser + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.LastModifiedByUserRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RecycleBinItemItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RecycleBinItemItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property items for storage + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// List of the recycleBinItems deleted by a user. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.RecycleBinItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property items in storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.RecycleBinItem body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.RecycleBinItem body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.RecycleBinItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property items for storage + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// List of the recycleBinItems deleted by a user. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property items in storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.RecycleBinItem body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.RecycleBinItem body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecycleBinItemItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// List of the recycleBinItems deleted by a user. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecycleBinItemItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecycleBinItemItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecycleBinItemItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/ItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/ItemsRequestBuilder.cs new file mode 100644 index 00000000000..86ea138bb33 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/ItemsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Count; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items +{ + /// + /// Provides operations to manage the items property of the microsoft.graph.recycleBin entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ItemsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the items property of the microsoft.graph.recycleBin entity. + /// The unique identifier of recycleBinItem + /// A + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("recycleBinItem%2Did", position); + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ItemsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// List of the recycleBinItems deleted by a user. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.RecycleBinItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to items for storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.RecycleBinItem body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.RecycleBinItem body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.RecycleBinItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// List of the recycleBinItems deleted by a user. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to items for storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.RecycleBinItem body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.RecycleBinItem body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.ItemsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.ItemsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// List of the recycleBinItems deleted by a user. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ItemsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ItemsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ItemsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs new file mode 100644 index 00000000000..1f9b9955183 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -0,0 +1,137 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.MailboxSettings; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser +{ + /// + /// Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByUserRequestBuilder : BaseRequestBuilder + { + /// The mailboxSettings property + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.MailboxSettingsRequestBuilder MailboxSettings + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.MailboxSettingsRequestBuilder(PathParameters, RequestAdapter); + } + /// The serviceProvisioningErrors property + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder ServiceProvisioningErrors + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LastModifiedByUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LastModifiedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser{?%24expand,%24select}", rawUrl) + { + } + /// + /// Identity of the user who last modified the item. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Identity of the user who last modified the item. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.LastModifiedByUserRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.LastModifiedByUserRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Identity of the user who last modified the item. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByUserRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByUserRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs new file mode 100644 index 00000000000..654f421e4dc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -0,0 +1,180 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.MailboxSettings +{ + /// + /// Builds and executes requests for operations under \storage\fileStorage\containers\{fileStorageContainer-id}\recycleBin\lastModifiedByUser\mailboxSettings + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser/mailboxSettings{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser/mailboxSettings{?%24expand,%24select}", rawUrl) + { + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update property mailboxSettings value. + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.MailboxSettings body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.MailboxSettings body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update property mailboxSettings value. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MailboxSettings body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MailboxSettings body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.MailboxSettingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.MailboxSettingsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..601a73675d3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs new file mode 100644 index 00000000000..8c1dd67042b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -0,0 +1,170 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors +{ + /// + /// Builds and executes requests for operations under \storage\fileStorage\containers\{fileStorageContainer-id}\recycleBin\lastModifiedByUser\serviceProvisioningErrors + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ServiceProvisioningErrorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ServiceProvisioningErrorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ServiceProvisioningErrorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/RecycleBinRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/RecycleBinRequestBuilder.cs new file mode 100644 index 00000000000..7967f3a5db8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/RecycleBinRequestBuilder.cs @@ -0,0 +1,247 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin +{ + /// + /// Provides operations to manage the recycleBin property of the microsoft.graph.fileStorageContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecycleBinRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.CreatedByUserRequestBuilder CreatedByUser + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.CreatedByUserRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the items property of the microsoft.graph.recycleBin entity. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.ItemsRequestBuilder Items + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.ItemsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.LastModifiedByUserRequestBuilder LastModifiedByUser + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.LastModifiedByUserRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RecycleBinRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RecycleBinRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property recycleBin for storage + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Recycle bin of the fileStorageContainer. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.RecycleBin.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property recycleBin in storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.RecycleBin body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.RecycleBin body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.RecycleBin.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property recycleBin for storage + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Recycle bin of the fileStorageContainer. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property recycleBin in storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.RecycleBin body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.RecycleBin body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.RecycleBinRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.RecycleBinRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecycleBinRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Recycle bin of the fileStorageContainer. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecycleBinRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecycleBinRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecycleBinRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 00000000000..f7181be90c3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/restore", rawUrl) + { + } + /// + /// Invoke action restore + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.FileStorageContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action restore + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Unlock/UnlockRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Unlock/UnlockRequestBuilder.cs new file mode 100644 index 00000000000..19186aa8aeb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Unlock/UnlockRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.Unlock +{ + /// + /// Provides operations to call the unlock method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnlockRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UnlockRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/unlock", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public UnlockRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/unlock", rawUrl) + { + } + /// + /// Invoke action unlock + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action unlock + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Unlock.UnlockRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Unlock.UnlockRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnlockRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..338aec812d5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/DeletedContainersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/DeletedContainersRequestBuilder.cs new file mode 100644 index 00000000000..003e0191579 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/DeletedContainersRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Count; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers +{ + /// + /// Provides operations to manage the deletedContainers property of the microsoft.graph.fileStorage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeletedContainersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the deletedContainers property of the microsoft.graph.fileStorage entity. + /// The unique identifier of fileStorageContainer + /// A + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("fileStorageContainer%2Did", position); + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeletedContainersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeletedContainersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get deletedContainers from storage + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.FileStorageContainerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to deletedContainers for storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.FileStorageContainer body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.FileStorageContainer body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.FileStorageContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get deletedContainers from storage + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to deletedContainers for storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.FileStorageContainer body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.FileStorageContainer body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.DeletedContainersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.DeletedContainersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get deletedContainers from storage + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeletedContainersRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeletedContainersRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeletedContainersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Activate/ActivateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Activate/ActivateRequestBuilder.cs new file mode 100644 index 00000000000..7361a014732 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Activate/ActivateRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Activate +{ + /// + /// Provides operations to call the activate method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ActivateRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ActivateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/activate", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ActivateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/activate", rawUrl) + { + } + /// + /// Invoke action activate + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action activate + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Activate.ActivateRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Activate.ActivateRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ActivateRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Drive/DriveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Drive/DriveRequestBuilder.cs new file mode 100644 index 00000000000..dcc7d056b2e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Drive/DriveRequestBuilder.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.Storage.FileStorage.DeletedContainers.Item.Drive +{ + /// + /// Provides operations to manage the drive property of the microsoft.graph.fileStorageContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DriveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DriveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/drive{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DriveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/drive{?%24expand,%24select}", rawUrl) + { + } + /// + /// The drive of the resource fileStorageContainer. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The drive of the resource fileStorageContainer. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Drive.DriveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Drive.DriveRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The drive of the resource fileStorageContainer. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DriveRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DriveRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.cs new file mode 100644 index 00000000000..332dd0bbce6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.cs @@ -0,0 +1,277 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Activate; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Drive; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.PermanentDelete; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Restore; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Unlock; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item +{ + /// + /// Provides operations to manage the deletedContainers property of the microsoft.graph.fileStorage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FileStorageContainerItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the activate method. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Activate.ActivateRequestBuilder Activate + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Activate.ActivateRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the drive property of the microsoft.graph.fileStorageContainer entity. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Drive.DriveRequestBuilder Drive + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Drive.DriveRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the lock method. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.LockRequestBuilder Lock + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.LockRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the permanentDelete method. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.PermanentDelete.PermanentDeleteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the permissions property of the microsoft.graph.fileStorageContainer entity. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.PermissionsRequestBuilder Permissions + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.PermissionsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the recycleBin property of the microsoft.graph.fileStorageContainer entity. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.RecycleBinRequestBuilder RecycleBin + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.RecycleBinRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unlock method. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Unlock.UnlockRequestBuilder Unlock + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Unlock.UnlockRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public FileStorageContainerItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public FileStorageContainerItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property deletedContainers for storage + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get deletedContainers from storage + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.FileStorageContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property deletedContainers in storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.FileStorageContainer body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.FileStorageContainer body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.FileStorageContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property deletedContainers for storage + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get deletedContainers from storage + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property deletedContainers in storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.FileStorageContainer body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.FileStorageContainer body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FileStorageContainerItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get deletedContainers from storage + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FileStorageContainerItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FileStorageContainerItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FileStorageContainerItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Lock/LockPostRequestBody.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Lock/LockPostRequestBody.cs new file mode 100644 index 00000000000..22ef2c71007 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Lock/LockPostRequestBody.cs @@ -0,0 +1,72 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LockPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The lockState property + public global::Microsoft.Graph.Models.SiteLockState? LockState + { + get { return BackingStore?.Get("lockState"); } + set { BackingStore?.Set("lockState", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public LockPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.LockPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.LockPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "lockState", n => { LockState = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("lockState", LockState); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Lock/LockRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Lock/LockRequestBuilder.cs new file mode 100644 index 00000000000..7ce4bd38cb4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Lock/LockRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock +{ + /// + /// Provides operations to call the lock method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LockRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LockRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/lock", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LockRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/lock", rawUrl) + { + } + /// + /// Invoke action lock + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.LockPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.LockPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action lock + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.LockPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.LockPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.LockRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.LockRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LockRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs new file mode 100644 index 00000000000..0b3de8dfa61 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.PermanentDelete +{ + /// + /// Provides operations to call the permanentDelete method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PermanentDeleteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PermanentDeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/permanentDelete", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/permanentDelete", rawUrl) + { + } + /// + /// Invoke action permanentDelete + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action permanentDelete + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.PermanentDelete.PermanentDeleteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.PermanentDelete.PermanentDeleteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PermanentDeleteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..51a04d26787 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/permissions/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/permissions/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/Grant/GrantPostRequestBody.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/Grant/GrantPostRequestBody.cs new file mode 100644 index 00000000000..0f7a04b81f0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/Grant/GrantPostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GrantPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The recipients property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Recipients + { + get { return BackingStore?.Get?>("recipients"); } + set { BackingStore?.Set("recipients", value); } + } +#nullable restore +#else + public List Recipients + { + get { return BackingStore?.Get>("recipients"); } + set { BackingStore?.Set("recipients", value); } + } +#endif + /// The roles property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Roles + { + get { return BackingStore?.Get?>("roles"); } + set { BackingStore?.Set("roles", value); } + } +#nullable restore +#else + public List Roles + { + get { return BackingStore?.Get>("roles"); } + set { BackingStore?.Set("roles", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public GrantPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "recipients", n => { Recipients = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DriveRecipient.CreateFromDiscriminatorValue)?.AsList(); } }, + { "roles", n => { Roles = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("recipients", Recipients); + writer.WriteCollectionOfPrimitiveValues("roles", Roles); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/Grant/GrantPostResponse.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/Grant/GrantPostResponse.cs new file mode 100644 index 00000000000..3d59ecca9b0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/Grant/GrantPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GrantPostResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantPostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/Grant/GrantRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/Grant/GrantRequestBuilder.cs new file mode 100644 index 00000000000..6e3814f928d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/Grant/GrantRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant +{ + /// + /// Provides operations to call the grant method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GrantRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GrantRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/permissions/{permission%2Did}/grant", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public GrantRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/permissions/{permission%2Did}/grant", rawUrl) + { + } + /// + /// Grant users access to a link represented by a permission. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsGrantPostResponseAsync(global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsGrantPostResponseAsync(global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Grant users access to a link represented by a permission. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsGrantPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Grant users access to a link represented by a permission. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GrantRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/Grant/GrantResponse.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/Grant/GrantResponse.cs new file mode 100644 index 00000000000..373f3786c94 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/Grant/GrantResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant +{ + [Obsolete("This class is obsolete. Use GrantPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GrantResponse : global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantPostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/PermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/PermissionItemRequestBuilder.cs new file mode 100644 index 00000000000..569c954b56e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/PermissionItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item +{ + /// + /// Provides operations to manage the permissions property of the microsoft.graph.fileStorageContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PermissionItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the grant method. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantRequestBuilder Grant + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PermissionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/permissions/{permission%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public PermissionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/permissions/{permission%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property permissions for storage + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The set of permissions for users in the fileStorageContainer. Permission for each user is set by the roles property. The possible values are: reader, writer, manager, and owner. Read-write. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property permissions in storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.Permission body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.Permission body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property permissions for storage + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The set of permissions for users in the fileStorageContainer. Permission for each user is set by the roles property. The possible values are: reader, writer, manager, and owner. Read-write. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property permissions in storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Permission body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Permission body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PermissionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The set of permissions for users in the fileStorageContainer. Permission for each user is set by the roles property. The possible values are: reader, writer, manager, and owner. Read-write. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PermissionItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PermissionItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PermissionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/PermissionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/PermissionsRequestBuilder.cs new file mode 100644 index 00000000000..f3cb66ad87f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/PermissionsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Count; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions +{ + /// + /// Provides operations to manage the permissions property of the microsoft.graph.fileStorageContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PermissionsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the permissions property of the microsoft.graph.fileStorageContainer entity. + /// The unique identifier of permission + /// A + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("permission%2Did", position); + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PermissionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/permissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public PermissionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/permissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The set of permissions for users in the fileStorageContainer. Permission for each user is set by the roles property. The possible values are: reader, writer, manager, and owner. Read-write. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PermissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to permissions for storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.Permission body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.Permission body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The set of permissions for users in the fileStorageContainer. Permission for each user is set by the roles property. The possible values are: reader, writer, manager, and owner. Read-write. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to permissions for storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Permission body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Permission body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.PermissionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.PermissionsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The set of permissions for users in the fileStorageContainer. Permission for each user is set by the roles property. The possible values are: reader, writer, manager, and owner. Read-write. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PermissionsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PermissionsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PermissionsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/CreatedByUser/CreatedByUserRequestBuilder.cs new file mode 100644 index 00000000000..2dd938a547b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -0,0 +1,137 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.MailboxSettings; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser +{ + /// + /// Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByUserRequestBuilder : BaseRequestBuilder + { + /// The mailboxSettings property + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.MailboxSettings.MailboxSettingsRequestBuilder MailboxSettings + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.MailboxSettings.MailboxSettingsRequestBuilder(PathParameters, RequestAdapter); + } + /// The serviceProvisioningErrors property + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder ServiceProvisioningErrors + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CreatedByUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/createdByUser{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CreatedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/createdByUser{?%24expand,%24select}", rawUrl) + { + } + /// + /// Identity of the user who created the item. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Identity of the user who created the item. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.CreatedByUserRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.CreatedByUserRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Identity of the user who created the item. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByUserRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByUserRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs new file mode 100644 index 00000000000..fb2a2353e71 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -0,0 +1,180 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.MailboxSettings +{ + /// + /// Builds and executes requests for operations under \storage\fileStorage\deletedContainers\{fileStorageContainer-id}\recycleBin\createdByUser\mailboxSettings + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/createdByUser/mailboxSettings{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/createdByUser/mailboxSettings{?%24expand,%24select}", rawUrl) + { + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update property mailboxSettings value. + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.MailboxSettings body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.MailboxSettings body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update property mailboxSettings value. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MailboxSettings body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MailboxSettings body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.MailboxSettings.MailboxSettingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.MailboxSettings.MailboxSettingsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..a657a28f226 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/createdByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/createdByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs new file mode 100644 index 00000000000..3d682960e65 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -0,0 +1,170 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors +{ + /// + /// Builds and executes requests for operations under \storage\fileStorage\deletedContainers\{fileStorageContainer-id}\recycleBin\createdByUser\serviceProvisioningErrors + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ServiceProvisioningErrorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/createdByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ServiceProvisioningErrorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/createdByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ServiceProvisioningErrorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..08770719841 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs new file mode 100644 index 00000000000..dd557723dd7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -0,0 +1,137 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser +{ + /// + /// Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByUserRequestBuilder : BaseRequestBuilder + { + /// The mailboxSettings property + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.MailboxSettingsRequestBuilder MailboxSettings + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.MailboxSettingsRequestBuilder(PathParameters, RequestAdapter); + } + /// The serviceProvisioningErrors property + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder ServiceProvisioningErrors + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CreatedByUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CreatedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser{?%24expand,%24select}", rawUrl) + { + } + /// + /// Identity of the user who created the item. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Identity of the user who created the item. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.CreatedByUserRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.CreatedByUserRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Identity of the user who created the item. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByUserRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByUserRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs new file mode 100644 index 00000000000..30bb2e35a1f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -0,0 +1,180 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings +{ + /// + /// Builds and executes requests for operations under \storage\fileStorage\deletedContainers\{fileStorageContainer-id}\recycleBin\items\{recycleBinItem-id}\createdByUser\mailboxSettings + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser/mailboxSettings{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser/mailboxSettings{?%24expand,%24select}", rawUrl) + { + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update property mailboxSettings value. + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.MailboxSettings body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.MailboxSettings body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update property mailboxSettings value. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MailboxSettings body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MailboxSettings body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.MailboxSettingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.MailboxSettingsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..6d286d249e1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/CreatedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs new file mode 100644 index 00000000000..5e9f489774d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/CreatedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -0,0 +1,170 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors +{ + /// + /// Builds and executes requests for operations under \storage\fileStorage\deletedContainers\{fileStorageContainer-id}\recycleBin\items\{recycleBinItem-id}\createdByUser\serviceProvisioningErrors + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ServiceProvisioningErrorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ServiceProvisioningErrorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ServiceProvisioningErrorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs new file mode 100644 index 00000000000..5bcfafe867b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -0,0 +1,137 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser +{ + /// + /// Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByUserRequestBuilder : BaseRequestBuilder + { + /// The mailboxSettings property + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.MailboxSettingsRequestBuilder MailboxSettings + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.MailboxSettingsRequestBuilder(PathParameters, RequestAdapter); + } + /// The serviceProvisioningErrors property + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder ServiceProvisioningErrors + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LastModifiedByUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LastModifiedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser{?%24expand,%24select}", rawUrl) + { + } + /// + /// Identity of the user who last modified the item. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Identity of the user who last modified the item. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.LastModifiedByUserRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.LastModifiedByUserRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Identity of the user who last modified the item. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByUserRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByUserRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs new file mode 100644 index 00000000000..c78c2345cd5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -0,0 +1,180 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings +{ + /// + /// Builds and executes requests for operations under \storage\fileStorage\deletedContainers\{fileStorageContainer-id}\recycleBin\items\{recycleBinItem-id}\lastModifiedByUser\mailboxSettings + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser/mailboxSettings{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser/mailboxSettings{?%24expand,%24select}", rawUrl) + { + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update property mailboxSettings value. + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.MailboxSettings body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.MailboxSettings body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update property mailboxSettings value. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MailboxSettings body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MailboxSettings body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.MailboxSettingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.MailboxSettingsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..c424bff0e15 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs new file mode 100644 index 00000000000..445d7d7abb3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -0,0 +1,170 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors +{ + /// + /// Builds and executes requests for operations under \storage\fileStorage\deletedContainers\{fileStorageContainer-id}\recycleBin\items\{recycleBinItem-id}\lastModifiedByUser\serviceProvisioningErrors + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ServiceProvisioningErrorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ServiceProvisioningErrorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ServiceProvisioningErrorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/RecycleBinItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/RecycleBinItemItemRequestBuilder.cs new file mode 100644 index 00000000000..1bc0a6d8234 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Item/RecycleBinItemItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item +{ + /// + /// Provides operations to manage the items property of the microsoft.graph.recycleBin entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecycleBinItemItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.CreatedByUserRequestBuilder CreatedByUser + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.CreatedByUserRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.LastModifiedByUserRequestBuilder LastModifiedByUser + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.LastModifiedByUserRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RecycleBinItemItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RecycleBinItemItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/{recycleBinItem%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property items for storage + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// List of the recycleBinItems deleted by a user. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.RecycleBinItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property items in storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.RecycleBinItem body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.RecycleBinItem body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.RecycleBinItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property items for storage + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// List of the recycleBinItems deleted by a user. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property items in storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.RecycleBinItem body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.RecycleBinItem body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecycleBinItemItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// List of the recycleBinItems deleted by a user. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecycleBinItemItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecycleBinItemItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecycleBinItemItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/ItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/ItemsRequestBuilder.cs new file mode 100644 index 00000000000..36a56af208e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/ItemsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Count; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items +{ + /// + /// Provides operations to manage the items property of the microsoft.graph.recycleBin entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ItemsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the items property of the microsoft.graph.recycleBin entity. + /// The unique identifier of recycleBinItem + /// A + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("recycleBinItem%2Did", position); + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ItemsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// List of the recycleBinItems deleted by a user. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.RecycleBinItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to items for storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.RecycleBinItem body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.RecycleBinItem body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.RecycleBinItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// List of the recycleBinItems deleted by a user. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to items for storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.RecycleBinItem body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.RecycleBinItem body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.ItemsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.ItemsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// List of the recycleBinItems deleted by a user. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ItemsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ItemsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ItemsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs new file mode 100644 index 00000000000..715288be1da --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -0,0 +1,137 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.MailboxSettings; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser +{ + /// + /// Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByUserRequestBuilder : BaseRequestBuilder + { + /// The mailboxSettings property + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.MailboxSettingsRequestBuilder MailboxSettings + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.MailboxSettingsRequestBuilder(PathParameters, RequestAdapter); + } + /// The serviceProvisioningErrors property + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder ServiceProvisioningErrors + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LastModifiedByUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LastModifiedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser{?%24expand,%24select}", rawUrl) + { + } + /// + /// Identity of the user who last modified the item. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Identity of the user who last modified the item. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.LastModifiedByUserRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.LastModifiedByUserRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Identity of the user who last modified the item. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByUserRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByUserRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs new file mode 100644 index 00000000000..a0db0d00f59 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -0,0 +1,180 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.MailboxSettings +{ + /// + /// Builds and executes requests for operations under \storage\fileStorage\deletedContainers\{fileStorageContainer-id}\recycleBin\lastModifiedByUser\mailboxSettings + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser/mailboxSettings{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser/mailboxSettings{?%24expand,%24select}", rawUrl) + { + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update property mailboxSettings value. + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.MailboxSettings body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.MailboxSettings body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update property mailboxSettings value. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MailboxSettings body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.MailboxSettings body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.MailboxSettingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.MailboxSettingsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..9f7a2e01972 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/LastModifiedByUser/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser/serviceProvisioningErrors/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs new file mode 100644 index 00000000000..a5d30a786b6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/LastModifiedByUser/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -0,0 +1,170 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors +{ + /// + /// Builds and executes requests for operations under \storage\fileStorage\deletedContainers\{fileStorageContainer-id}\recycleBin\lastModifiedByUser\serviceProvisioningErrors + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ServiceProvisioningErrorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ServiceProvisioningErrorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/lastModifiedByUser/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ServiceProvisioningErrorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/RecycleBinRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/RecycleBinRequestBuilder.cs new file mode 100644 index 00000000000..0dcf1331148 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/RecycleBinRequestBuilder.cs @@ -0,0 +1,247 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin +{ + /// + /// Provides operations to manage the recycleBin property of the microsoft.graph.fileStorageContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecycleBinRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.CreatedByUserRequestBuilder CreatedByUser + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.CreatedByUserRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the items property of the microsoft.graph.recycleBin entity. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.ItemsRequestBuilder Items + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.ItemsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.LastModifiedByUserRequestBuilder LastModifiedByUser + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.LastModifiedByUserRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RecycleBinRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RecycleBinRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property recycleBin for storage + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Recycle bin of the fileStorageContainer. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.RecycleBin.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property recycleBin in storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.RecycleBin body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.RecycleBin body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.RecycleBin.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property recycleBin for storage + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Recycle bin of the fileStorageContainer. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property recycleBin in storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.RecycleBin body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.RecycleBin body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.RecycleBinRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.RecycleBinRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecycleBinRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Recycle bin of the fileStorageContainer. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecycleBinRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecycleBinRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RecycleBinRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 00000000000..b9b552e1a31 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/restore", rawUrl) + { + } + /// + /// Invoke action restore + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.FileStorageContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action restore + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Unlock/UnlockRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Unlock/UnlockRequestBuilder.cs new file mode 100644 index 00000000000..4ea669cec8c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Unlock/UnlockRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Unlock +{ + /// + /// Provides operations to call the unlock method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnlockRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UnlockRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/unlock", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public UnlockRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/unlock", rawUrl) + { + } + /// + /// Invoke action unlock + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action unlock + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Unlock.UnlockRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Unlock.UnlockRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnlockRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/FileStorageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/FileStorageRequestBuilder.cs index fc525e4c7ca..17b0fca98be 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/FileStorageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/FileStorageRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Graph.Storage.FileStorage.Containers; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -24,6 +25,11 @@ public partial class FileStorageRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Storage.FileStorage.Containers.ContainersRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the deletedContainers property of the microsoft.graph.fileStorage entity. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.DeletedContainersRequestBuilder DeletedContainers + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.DeletedContainersRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// 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 cbb270ff3ac..29a32f6c4f5 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/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index 412850ccbe4..8cfa4d643f9 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); } /// - /// Send a new reply to a chatMessage in a specified channel. - /// Find more info here + /// Create 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 - /// Send a new reply to a chatMessage in a specified channel. + /// Create a new reply to a chatMessage in a specified channel. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs index cd98ffc82df..32ca9c636ea 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 { } /// - /// Deletes a user. - /// Find more info here + /// 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 /// /// 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 @@ -578,7 +578,7 @@ public async Task DeleteAsync(Action - /// Deletes a user. + /// 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. /// /// 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 fd5c51f9543..cfcba19ed69 100644 --- a/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs @@ -78,8 +78,8 @@ public UsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// List properties and relationships of the user objects. - /// Find more info here + /// Retrieve a list of user objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -102,8 +102,8 @@ public UsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. - /// Find more info here + /// Create a new user object. + /// Find more info here /// /// A /// The request body @@ -128,7 +128,7 @@ public UsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the user objects. + /// Retrieve a list of user objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -147,7 +147,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. + /// Create a new user object. /// /// A /// The request body @@ -178,7 +178,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Users.UsersRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the user objects. + /// Retrieve a list of user objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class UsersRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.cs index 4b3f210c420..8c873b87bda 100644 --- a/src/Microsoft.Graph/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.cs @@ -37,8 +37,8 @@ public UsersWithUserPrincipalNameRequestBuilder(string rawUrl, IRequestAdapter r { } /// - /// Deletes a user. - /// Find more info here + /// 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 /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -61,7 +61,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 @@ -110,7 +110,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a user. + /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index 4eccd68cd01..ddabc61331c 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -21798,6 +21798,13 @@ Microsoft.Graph.Drives.Item.Items.Item.DeltaWithToken.deltaWithTokenRequestBuild Microsoft.Graph.Drives.Item.Items.Item.DeltaWithToken.deltaWithTokenRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Drives.Item.Items.Item.DeltaWithToken.DeltaWithTokenRequestBuilder Microsoft.Graph.Drives.Item.Items.Item.DeltaWithToken.deltaWithTokenResponse-->global.Microsoft.Graph.Drives.Item.Items.Item.DeltaWithToken.DeltaWithTokenGetResponse Microsoft.Graph.Drives.Item.Items.Item.DeltaWithToken.deltaWithTokenResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Drives.Item.Items.Item.DeltaWithToken.DeltaWithTokenResponse +Microsoft.Graph.Drives.Item.Items.Item.DiscardCheckout.discardCheckoutRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Drives.Item.Items.Item.DiscardCheckout.discardCheckoutRequestBuilder.discardCheckoutRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Drives.Item.Items.Item.DiscardCheckout.discardCheckoutRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Drives.Item.Items.Item.DiscardCheckout.discardCheckoutRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Drives.Item.Items.Item.DiscardCheckout.discardCheckoutRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Drives.Item.Items.Item.DiscardCheckout.discardCheckoutRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Drives.Item.Items.Item.DiscardCheckout.discardCheckoutRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Drives.Item.Items.Item.DiscardCheckout.DiscardCheckoutRequestBuilder Microsoft.Graph.Drives.Item.Items.Item.DriveItemItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Drives.Item.Items.Item.DriveItemItemRequestBuilder.DriveItemItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Drives.Item.Items.Item.DriveItemItemRequestBuilder.DriveItemItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -21819,6 +21826,7 @@ Microsoft.Graph.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|crea Microsoft.Graph.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|delta:global.Microsoft.Graph.Drives.Item.Items.Item.Delta.DeltaRequestBuilder Microsoft.Graph.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|deltaWithToken(token:string):global.Microsoft.Graph.Drives.Item.Items.Item.DeltaWithToken.DeltaWithTokenRequestBuilder +Microsoft.Graph.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|discardCheckout:global.Microsoft.Graph.Drives.Item.Items.Item.DiscardCheckout.DiscardCheckoutRequestBuilder Microsoft.Graph.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|extractSensitivityLabels:global.Microsoft.Graph.Drives.Item.Items.Item.ExtractSensitivityLabels.ExtractSensitivityLabelsRequestBuilder Microsoft.Graph.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|follow:global.Microsoft.Graph.Drives.Item.Items.Item.Follow.FollowRequestBuilder Microsoft.Graph.Drives.Item.Items.Item.DriveItemItemRequestBuilder::|public|getActivitiesByInterval:global.Microsoft.Graph.Drives.Item.Items.Item.GetActivitiesByInterval.GetActivitiesByIntervalRequestBuilder @@ -103129,6 +103137,11 @@ Microsoft.Graph.Models.educationWordResource::|public|GetFieldDeserializers():ID Microsoft.Graph.Models.educationWordResource::|public|OdataType:string Microsoft.Graph.Models.educationWordResource::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.educationWordResource::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.EducationWordResource +Microsoft.Graph.Models.eligibilityFilteringEnabledEntities::0000-none +Microsoft.Graph.Models.eligibilityFilteringEnabledEntities::0001-swapRequest +Microsoft.Graph.Models.eligibilityFilteringEnabledEntities::0002-offerShiftRequest +Microsoft.Graph.Models.eligibilityFilteringEnabledEntities::0003-unknownFutureValue +Microsoft.Graph.Models.eligibilityFilteringEnabledEntities::0004-timeOffReason Microsoft.Graph.Models.emailAddress::|public|AdditionalData:IDictionary Microsoft.Graph.Models.emailAddress::|public|Address:string Microsoft.Graph.Models.emailAddress::|public|BackingStore:IBackingStore @@ -104171,6 +104184,7 @@ Microsoft.Graph.Models.fileSecurityState::|static|public|CreateFromDiscriminator Microsoft.Graph.Models.fileSecurityState~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.fileStorage-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.fileStorage::|public|Containers:List +Microsoft.Graph.Models.fileStorage::|public|DeletedContainers:List Microsoft.Graph.Models.fileStorage::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.fileStorage::|public|OdataType:string Microsoft.Graph.Models.fileStorage::|public|Serialize(writer:ISerializationWriter):void @@ -104183,8 +104197,10 @@ Microsoft.Graph.Models.fileStorageContainer::|public|Description:string Microsoft.Graph.Models.fileStorageContainer::|public|DisplayName:string Microsoft.Graph.Models.fileStorageContainer::|public|Drive:global.Microsoft.Graph.Models.Drive Microsoft.Graph.Models.fileStorageContainer::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.fileStorageContainer::|public|LockState:global.Microsoft.Graph.Models.SiteLockState? Microsoft.Graph.Models.fileStorageContainer::|public|OdataType:string Microsoft.Graph.Models.fileStorageContainer::|public|Permissions:List +Microsoft.Graph.Models.fileStorageContainer::|public|RecycleBin:global.Microsoft.Graph.Models.RecycleBin Microsoft.Graph.Models.fileStorageContainer::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.fileStorageContainer::|public|Settings:global.Microsoft.Graph.Models.FileStorageContainerSettings Microsoft.Graph.Models.fileStorageContainer::|public|Status:global.Microsoft.Graph.Models.FileStorageContainerStatus? @@ -105566,6 +105582,7 @@ Microsoft.Graph.Models.internalDomainFederation::|public|GetFieldDeserializers() Microsoft.Graph.Models.internalDomainFederation::|public|IsSignedAuthenticationRequestRequired:bool? Microsoft.Graph.Models.internalDomainFederation::|public|NextSigningCertificate:string Microsoft.Graph.Models.internalDomainFederation::|public|OdataType:string +Microsoft.Graph.Models.internalDomainFederation::|public|PasswordResetUri:string Microsoft.Graph.Models.internalDomainFederation::|public|PromptLoginBehavior:global.Microsoft.Graph.Models.PromptLoginBehavior? Microsoft.Graph.Models.internalDomainFederation::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.internalDomainFederation::|public|SigningCertificateUpdateStatus:global.Microsoft.Graph.Models.SigningCertificateUpdateStatus @@ -109531,6 +109548,7 @@ Microsoft.Graph.Models.openShift-->global.Microsoft.Graph.Models.ChangeTrackedEn Microsoft.Graph.Models.openShift::|public|constructor():void Microsoft.Graph.Models.openShift::|public|DraftOpenShift:global.Microsoft.Graph.Models.OpenShiftItem Microsoft.Graph.Models.openShift::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.openShift::|public|IsStagedForDeletion:bool? Microsoft.Graph.Models.openShift::|public|OdataType:string Microsoft.Graph.Models.openShift::|public|SchedulingGroupId:string Microsoft.Graph.Models.openShift::|public|Serialize(writer:ISerializationWriter):void @@ -113088,6 +113106,37 @@ Microsoft.Graph.Models.recurrenceRangeType::0000-endDate Microsoft.Graph.Models.recurrenceRangeType::0001-noEnd Microsoft.Graph.Models.recurrenceRangeType::0002-numbered Microsoft.Graph.Models.recurrenceRange~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.recycleBin-->global.Microsoft.Graph.Models.BaseItem +Microsoft.Graph.Models.recycleBin::|public|constructor():void +Microsoft.Graph.Models.recycleBin::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.recycleBin::|public|Items:List +Microsoft.Graph.Models.recycleBin::|public|OdataType:string +Microsoft.Graph.Models.recycleBin::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.recycleBin::|public|Settings:global.Microsoft.Graph.Models.RecycleBinSettings +Microsoft.Graph.Models.recycleBin::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.RecycleBin +Microsoft.Graph.Models.recycleBinItem-->global.Microsoft.Graph.Models.BaseItem +Microsoft.Graph.Models.recycleBinItem::|public|constructor():void +Microsoft.Graph.Models.recycleBinItem::|public|DeletedDateTime:DateTimeOffset? +Microsoft.Graph.Models.recycleBinItem::|public|DeletedFromLocation:string +Microsoft.Graph.Models.recycleBinItem::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.recycleBinItem::|public|OdataType:string +Microsoft.Graph.Models.recycleBinItem::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.recycleBinItem::|public|Size:long? +Microsoft.Graph.Models.recycleBinItem::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.RecycleBinItem +Microsoft.Graph.Models.recycleBinItemCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.recycleBinItemCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.recycleBinItemCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.recycleBinItemCollectionResponse::|public|Value:List +Microsoft.Graph.Models.recycleBinItemCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.RecycleBinItemCollectionResponse +Microsoft.Graph.Models.recycleBinSettings::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.recycleBinSettings::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.recycleBinSettings::|public|constructor():void +Microsoft.Graph.Models.recycleBinSettings::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.recycleBinSettings::|public|OdataType:string +Microsoft.Graph.Models.recycleBinSettings::|public|RetentionPeriodOverrideDays:int? +Microsoft.Graph.Models.recycleBinSettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.recycleBinSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.RecycleBinSettings +Microsoft.Graph.Models.recycleBinSettings~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.redirectUriSettings::|public|AdditionalData:IDictionary Microsoft.Graph.Models.redirectUriSettings::|public|BackingStore:IBackingStore Microsoft.Graph.Models.redirectUriSettings::|public|constructor():void @@ -117718,6 +117767,7 @@ Microsoft.Graph.Models.shift-->global.Microsoft.Graph.Models.ChangeTrackedEntity Microsoft.Graph.Models.shift::|public|constructor():void Microsoft.Graph.Models.shift::|public|DraftShift:global.Microsoft.Graph.Models.ShiftItem Microsoft.Graph.Models.shift::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.shift::|public|IsStagedForDeletion:bool? Microsoft.Graph.Models.shift::|public|OdataType:string Microsoft.Graph.Models.shift::|public|SchedulingGroupId:string Microsoft.Graph.Models.shift::|public|Serialize(writer:ISerializationWriter):void @@ -118109,6 +118159,11 @@ Microsoft.Graph.Models.siteCollectionResponse::|public|Serialize(writer:ISeriali Microsoft.Graph.Models.siteCollectionResponse::|public|Value:List Microsoft.Graph.Models.siteCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SiteCollectionResponse Microsoft.Graph.Models.siteCollection~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.siteLockState::0000-unlocked +Microsoft.Graph.Models.siteLockState::0001-lockedReadOnly +Microsoft.Graph.Models.siteLockState::0002-lockedNoAccess +Microsoft.Graph.Models.siteLockState::0003-lockedNoAdditions +Microsoft.Graph.Models.siteLockState::0004-unknownFutureValue Microsoft.Graph.Models.sitePage-->global.Microsoft.Graph.Models.BaseSitePage Microsoft.Graph.Models.sitePage::|public|CanvasLayout:global.Microsoft.Graph.Models.CanvasLayout Microsoft.Graph.Models.sitePage::|public|GetFieldDeserializers():IDictionary> @@ -120061,6 +120116,7 @@ Microsoft.Graph.Models.timeOff-->global.Microsoft.Graph.Models.ChangeTrackedEnti Microsoft.Graph.Models.timeOff::|public|constructor():void Microsoft.Graph.Models.timeOff::|public|DraftTimeOff:global.Microsoft.Graph.Models.TimeOffItem Microsoft.Graph.Models.timeOff::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.timeOff::|public|IsStagedForDeletion:bool? Microsoft.Graph.Models.timeOff::|public|OdataType:string Microsoft.Graph.Models.timeOff::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.timeOff::|public|SharedTimeOff:global.Microsoft.Graph.Models.TimeOffItem @@ -124490,6 +124546,7 @@ Microsoft.Graph.Models.workforceIntegration-->global.Microsoft.Graph.Models.Chan Microsoft.Graph.Models.workforceIntegration::|public|ApiVersion:int? Microsoft.Graph.Models.workforceIntegration::|public|constructor():void Microsoft.Graph.Models.workforceIntegration::|public|DisplayName:string +Microsoft.Graph.Models.workforceIntegration::|public|EligibilityFilteringEnabledEntities:global.Microsoft.Graph.Models.EligibilityFilteringEnabledEntities? Microsoft.Graph.Models.workforceIntegration::|public|Encryption:global.Microsoft.Graph.Models.WorkforceIntegrationEncryption Microsoft.Graph.Models.workforceIntegration::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.workforceIntegration::|public|IsActive:bool? @@ -124523,6 +124580,9 @@ Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0004-openShift Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0005-openShiftRequest Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0006-offerShiftRequest Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0007-unknownFutureValue +Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0008-timeOffReason +Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0009-timeOff +Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0010-timeOffRequest Microsoft.Graph.Models.workingHours::|public|AdditionalData:IDictionary Microsoft.Graph.Models.workingHours::|public|BackingStore:IBackingStore Microsoft.Graph.Models.workingHours::|public|constructor():void @@ -124547,6 +124607,7 @@ Microsoft.Graph.Models.x509CertificateAuthenticationMethodConfiguration-->global Microsoft.Graph.Models.x509CertificateAuthenticationMethodConfiguration::|public|AuthenticationModeConfiguration:global.Microsoft.Graph.Models.X509CertificateAuthenticationModeConfiguration Microsoft.Graph.Models.x509CertificateAuthenticationMethodConfiguration::|public|CertificateUserBindings:List Microsoft.Graph.Models.x509CertificateAuthenticationMethodConfiguration::|public|constructor():void +Microsoft.Graph.Models.x509CertificateAuthenticationMethodConfiguration::|public|CrlValidationConfiguration:global.Microsoft.Graph.Models.X509CertificateCRLValidationConfiguration Microsoft.Graph.Models.x509CertificateAuthenticationMethodConfiguration::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.x509CertificateAuthenticationMethodConfiguration::|public|IncludeTargets:List Microsoft.Graph.Models.x509CertificateAuthenticationMethodConfiguration::|public|OdataType:string @@ -124574,6 +124635,19 @@ Microsoft.Graph.Models.x509CertificateCombinationConfiguration::|public|GetField Microsoft.Graph.Models.x509CertificateCombinationConfiguration::|public|OdataType:string Microsoft.Graph.Models.x509CertificateCombinationConfiguration::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.x509CertificateCombinationConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.X509CertificateCombinationConfiguration +Microsoft.Graph.Models.x509CertificateCRLValidationConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.x509CertificateCRLValidationConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.x509CertificateCRLValidationConfiguration::|public|constructor():void +Microsoft.Graph.Models.x509CertificateCRLValidationConfiguration::|public|ExemptedCertificateAuthoritiesSubjectKeyIdentifiers:List +Microsoft.Graph.Models.x509CertificateCRLValidationConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.x509CertificateCRLValidationConfiguration::|public|OdataType:string +Microsoft.Graph.Models.x509CertificateCRLValidationConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.x509CertificateCRLValidationConfiguration::|public|State:global.Microsoft.Graph.Models.X509CertificateCRLValidationConfigurationState? +Microsoft.Graph.Models.x509CertificateCRLValidationConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.X509CertificateCRLValidationConfiguration +Microsoft.Graph.Models.x509CertificateCRLValidationConfigurationState::0000-disabled +Microsoft.Graph.Models.x509CertificateCRLValidationConfigurationState::0001-enabled +Microsoft.Graph.Models.x509CertificateCRLValidationConfigurationState::0002-unknownFutureValue +Microsoft.Graph.Models.x509CertificateCRLValidationConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.x509CertificateRule::|public|AdditionalData:IDictionary Microsoft.Graph.Models.x509CertificateRule::|public|BackingStore:IBackingStore Microsoft.Graph.Models.x509CertificateRule::|public|constructor():void @@ -152557,13 +152631,32 @@ Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequ Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|drive:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Drive.DriveRequestBuilder Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorageContainer +Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|lock:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.LockRequestBuilder Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.FileStorageContainer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorageContainer Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.PermanentDelete.PermanentDeleteRequestBuilder Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|permissions:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.PermissionsRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|recycleBin:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.RecycleBinRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|restore:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.FileStorageContainer; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|unlock:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Unlock.UnlockRequestBuilder Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.lockPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.lockPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.lockPostRequestBody::|public|constructor():void +Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.lockPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.lockPostRequestBody::|public|LockState:global.Microsoft.Graph.Models.SiteLockState? +Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.lockPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.lockPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.LockPostRequestBody +Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.lockPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.lockRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.lockRequestBuilder.lockRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.lockRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.lockRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.lockRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.LockPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.lockRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.LockPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.lockRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Lock.LockRequestBuilder Microsoft.Graph.Storage.FileStorage.Containers.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Storage.FileStorage.Containers.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Storage.FileStorage.Containers.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -152640,6 +152733,705 @@ Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.permissionsReque Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.permissionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.permissionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.permissionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.PermissionsRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder.createdByUserRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder.createdByUserRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder.createdByUserRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.User +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder::|public|mailboxSettings:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder::|public|serviceProvisioningErrors:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.CreatedByUserRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxSettings +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MailboxSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxSettings +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MailboxSettings; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|Count:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ServiceProvisioningErrorCollectionResponse +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder.createdByUserRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder.createdByUserRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder.createdByUserRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.User +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder::|public|mailboxSettings:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder::|public|serviceProvisioningErrors:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.CreatedByUserRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxSettings +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MailboxSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxSettings +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MailboxSettings; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|Count:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ServiceProvisioningErrorCollectionResponse +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.lastModifiedByUserRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.lastModifiedByUserRequestBuilder.lastModifiedByUserRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.lastModifiedByUserRequestBuilder.lastModifiedByUserRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.lastModifiedByUserRequestBuilder.lastModifiedByUserRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.User +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|mailboxSettings:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|serviceProvisioningErrors:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.LastModifiedByUserRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxSettings +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MailboxSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxSettings +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MailboxSettings; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|Count:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ServiceProvisioningErrorCollectionResponse +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder.RecycleBinItemItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder.RecycleBinItemItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder.RecycleBinItemItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder.RecycleBinItemItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder.RecycleBinItemItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder::|public|createdByUser:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.CreatedByUserRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.RecycleBinItem +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder::|public|lastModifiedByUser:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.LastModifiedByUser.LastModifiedByUserRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.RecycleBinItem; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.RecycleBinItem +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.RecycleBinItem; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder.itemsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder.itemsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder::[RecycleBinItemId:string]:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder::|public|Count:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.RecycleBinItemCollectionResponse +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.RecycleBinItem; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.RecycleBinItem +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.RecycleBinItem; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.ItemsRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder.lastModifiedByUserRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder.lastModifiedByUserRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder.lastModifiedByUserRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.User +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|mailboxSettings:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|serviceProvisioningErrors:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.LastModifiedByUserRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxSettings +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MailboxSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxSettings +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MailboxSettings; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|Count:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ServiceProvisioningErrorCollectionResponse +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.recycleBinRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.recycleBinRequestBuilder.recycleBinRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.recycleBinRequestBuilder.recycleBinRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.recycleBinRequestBuilder.recycleBinRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.recycleBinRequestBuilder.recycleBinRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.recycleBinRequestBuilder.recycleBinRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.recycleBinRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.recycleBinRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.recycleBinRequestBuilder::|public|createdByUser:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.CreatedByUser.CreatedByUserRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.recycleBinRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.recycleBinRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.RecycleBin +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.recycleBinRequestBuilder::|public|items:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.Items.ItemsRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.recycleBinRequestBuilder::|public|lastModifiedByUser:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.LastModifiedByUserRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.recycleBinRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.RecycleBin; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.RecycleBin +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.recycleBinRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.recycleBinRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.recycleBinRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.RecycleBin; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.recycleBinRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.RecycleBinRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorageContainer +Microsoft.Graph.Storage.FileStorage.Containers.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.Unlock.unlockRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.Unlock.unlockRequestBuilder.unlockRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.Unlock.unlockRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.Unlock.unlockRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.Unlock.unlockRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.Unlock.unlockRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.Unlock.unlockRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Unlock.UnlockRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder.deletedContainersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder.deletedContainersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder.deletedContainersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder.deletedContainersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder.deletedContainersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder.deletedContainersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder.deletedContainersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder.deletedContainersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder.deletedContainersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder.deletedContainersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder::[FileStorageContainerId:string]:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder::|public|Count:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorageContainerCollectionResponse +Microsoft.Graph.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.FileStorageContainer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorageContainer +Microsoft.Graph.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.FileStorageContainer; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.deletedContainersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.DeletedContainersRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Activate.activateRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Activate.activateRequestBuilder.activateRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Activate.activateRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Activate.activateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Activate.activateRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Activate.activateRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Activate.activateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Activate.ActivateRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Drive.driveRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Drive.driveRequestBuilder.driveRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Drive.driveRequestBuilder.driveRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Drive.driveRequestBuilder.driveRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Drive.driveRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Drive.driveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Drive.driveRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Drive +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Drive.driveRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Drive.driveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Drive.DriveRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder.FileStorageContainerItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder.FileStorageContainerItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder.FileStorageContainerItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder.FileStorageContainerItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder.FileStorageContainerItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|activate:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Activate.ActivateRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|drive:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Drive.DriveRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorageContainer +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|lock:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.LockRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.FileStorageContainer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorageContainer +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.PermanentDelete.PermanentDeleteRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|permissions:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.PermissionsRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|recycleBin:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.RecycleBinRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|restore:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.FileStorageContainer; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|unlock:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Unlock.UnlockRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.lockPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.lockPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.lockPostRequestBody::|public|constructor():void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.lockPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.lockPostRequestBody::|public|LockState:global.Microsoft.Graph.Models.SiteLockState? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.lockPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.lockPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.LockPostRequestBody +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.lockPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.lockRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.lockRequestBuilder.lockRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.lockRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.lockRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.lockRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.LockPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.lockRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.LockPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.lockRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Lock.LockRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.PermanentDelete.PermanentDeleteRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.grantPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.grantPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.grantPostRequestBody::|public|constructor():void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.grantPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.grantPostRequestBody::|public|Recipients:List +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.grantPostRequestBody::|public|Roles:List +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.grantPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.grantPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantPostRequestBody +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.grantPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.grantPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.grantPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.grantPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.grantPostResponse::|public|Value:List +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.grantPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantPostResponse +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.grantRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.grantRequestBuilder.grantRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.grantRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.grantRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.grantRequestBuilder::|public|PostAsGrantPostResponseAsync(body:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantPostResponse +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.grantRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantResponse +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.grantRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.grantRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.grantResponse-->global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantPostResponse +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.grantResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantResponse +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder.PermissionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder.PermissionItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder.PermissionItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder.PermissionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder.PermissionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder::|public|grant:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissionsRequestBuilder::[PermissionId:string]:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissionsRequestBuilder::|public|Count:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PermissionCollectionResponse +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.PermissionsRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder.createdByUserRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder.createdByUserRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder.createdByUserRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.User +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder::|public|mailboxSettings:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder::|public|serviceProvisioningErrors:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.createdByUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.CreatedByUserRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxSettings +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MailboxSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxSettings +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MailboxSettings; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|Count:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ServiceProvisioningErrorCollectionResponse +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder.createdByUserRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder.createdByUserRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder.createdByUserRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.User +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder::|public|mailboxSettings:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder::|public|serviceProvisioningErrors:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.CreatedByUserRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxSettings +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MailboxSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxSettings +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MailboxSettings; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|Count:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ServiceProvisioningErrorCollectionResponse +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.lastModifiedByUserRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.lastModifiedByUserRequestBuilder.lastModifiedByUserRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.lastModifiedByUserRequestBuilder.lastModifiedByUserRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.lastModifiedByUserRequestBuilder.lastModifiedByUserRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.User +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|mailboxSettings:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|serviceProvisioningErrors:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.LastModifiedByUserRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxSettings +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MailboxSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxSettings +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MailboxSettings; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|Count:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ServiceProvisioningErrorCollectionResponse +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder.RecycleBinItemItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder.RecycleBinItemItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder.RecycleBinItemItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder.RecycleBinItemItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder.RecycleBinItemItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder::|public|createdByUser:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.CreatedByUserRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.RecycleBinItem +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder::|public|lastModifiedByUser:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.LastModifiedByUser.LastModifiedByUserRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.RecycleBinItem; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.RecycleBinItem +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.RecycleBinItem; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder.itemsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder.itemsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder::[RecycleBinItemId:string]:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.RecycleBinItemItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder::|public|Count:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.RecycleBinItemCollectionResponse +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.RecycleBinItem; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.RecycleBinItem +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.RecycleBinItem; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.ItemsRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder.lastModifiedByUserRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder.lastModifiedByUserRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder.lastModifiedByUserRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.User +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|mailboxSettings:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|serviceProvisioningErrors:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.LastModifiedByUserRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxSettings +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.MailboxSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxSettings +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.MailboxSettings; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.mailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|Count:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ServiceProvisioningErrorCollectionResponse +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.recycleBinRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.recycleBinRequestBuilder.recycleBinRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.recycleBinRequestBuilder.recycleBinRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.recycleBinRequestBuilder.recycleBinRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.recycleBinRequestBuilder.recycleBinRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.recycleBinRequestBuilder.recycleBinRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.recycleBinRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.recycleBinRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.recycleBinRequestBuilder::|public|createdByUser:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.CreatedByUser.CreatedByUserRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.recycleBinRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.recycleBinRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.RecycleBin +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.recycleBinRequestBuilder::|public|items:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.ItemsRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.recycleBinRequestBuilder::|public|lastModifiedByUser:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.LastModifiedByUserRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.recycleBinRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.RecycleBin; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.RecycleBin +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.recycleBinRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.recycleBinRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.recycleBinRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.RecycleBin; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.recycleBinRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.RecycleBinRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorageContainer +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Unlock.unlockRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Unlock.unlockRequestBuilder.unlockRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Unlock.unlockRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Unlock.unlockRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Unlock.unlockRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Unlock.unlockRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Unlock.unlockRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Unlock.UnlockRequestBuilder Microsoft.Graph.Storage.FileStorage.fileStorageRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Storage.FileStorage.fileStorageRequestBuilder.fileStorageRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Storage.FileStorage.fileStorageRequestBuilder.fileStorageRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -152650,6 +153442,7 @@ Microsoft.Graph.Storage.FileStorage.fileStorageRequestBuilder::|public|construct Microsoft.Graph.Storage.FileStorage.fileStorageRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Storage.FileStorage.fileStorageRequestBuilder::|public|containers:global.Microsoft.Graph.Storage.FileStorage.Containers.ContainersRequestBuilder Microsoft.Graph.Storage.FileStorage.fileStorageRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Storage.FileStorage.fileStorageRequestBuilder::|public|deletedContainers:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.DeletedContainersRequestBuilder Microsoft.Graph.Storage.FileStorage.fileStorageRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorage Microsoft.Graph.Storage.FileStorage.fileStorageRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.FileStorage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorage Microsoft.Graph.Storage.FileStorage.fileStorageRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index 7b53a484492..d2a7145e617 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "C88E9BD6D27FD31DB26E9779C01C23B9BC74E7FFE7D77164A4E36B167FF86BC44B1AFE67DEC9E72B40E634E3DF4FE1507F4026755BF6E19709B51370DCA58AC4", + "descriptionHash": "9CDB9D6FB79035A6D56A04946D2880E6624297809B5947640344F2D808DF6267C8C6A1CF7BBC2B16FD1274C0D3D97FCEB707D7F3A2F364DC50929DFB066C5CE8", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.22.0",